openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/nbd/3.19-r0/nbd-3.19/nbd-server.c
int rawexpread_fully(off_t a, char* buf, size_t len, CLIENT* client)
{
    ssize_t ret = 0;

    while (len > 0 && (ret = rawexpread(a, buf, len, client)) > 0)
    {
        a += ret;
        buf += ret;
        len -= ret;
    }
    return (ret < 0 || len != 0);
}
/**
 * Call rawexpread repeatedly until all data has been read.
 * @return 0 on success, nonzero on failure
 **/
Call rawexpread repeatedly until all data has been read.
@return 0 on success, nonzero on failure
Call rawexpread repeatedly until all data has been read . @return 0 on success nonzero on failure
int rawexpread_fully(off_t a, char* buf, size_t len, CLIENT* client)
{
    ssize_t ret = 0;
    while (len > 0 && (ret = rawexpread(a, buf, len, client)) > 0)
    {
        a += ret;
        buf += ret;
        len -= ret;
    }
    return (ret < 0 || len != 0);
}
int rawexpread_fully ( off_t a , char * buf , size_t len , CLIENT * client ) { ssize_t ret = 0 ; while ( len > 0 && ( ret = rawexpread ( a , buf , len , client ) ) > 0 ) { a += ret ; buf += ret ; len -= ret ; } return ( ret < 0 || len != 0 ) ; }
Call rawexpread repeatedly until all data has been read.
Call rawexpread repeatedly until all data has been read .