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 expsplice(int pipe, off_t a, size_t len, CLIENT* client, int dir, int fua)
{
    ssize_t ret;

    while (len > 0 && (ret = rawexpsplice(pipe, a, len, client, dir, fua)) > 0)
    {
        a += ret;
        len -= ret;
    }
    return (ret < 0 || len != 0);
}
/**
 * Splice an amount of bytes from the given offset from/into the right file
 * from/into the given pipe.
 * @param pipe The pipe we are using for this splice.
 * @param a The offset of the file we are operating on.
 * @param len The length of the splice.
 * @param client The client we're splicing for.
 * @param dir The direction we are doing the splice in.
 * @param fua Set if this is a write and we need to fua.
 * @return 0 on success, nonzero on failure.
 */
Splice an amount of bytes from the given offset from/into the right file
from/into the given pipe.
@param pipe The pipe we are using for this splice.
@param a The offset of the file we are operating on.
@param len The length of the splice.
@param client The client we're splicing for.
@param dir The direction we are doing the splice in.
@param fua Set if this is a write and we need to fua.
@return 0 on success, nonzero on failure.
Splice an amount of bytes from the given offset from / into the right file from / into the given pipe . @param pipe The pipe we are using for this splice . @param a The offset of the file we are operating on . @param len The length of the splice . @param client The client we ' re splicing for . @param dir The direction we are doing the splice in . @param fua Set if this is a write and we need to fua . @return 0 on success nonzero on failure .
int expsplice(int pipe, off_t a, size_t len, CLIENT* client, int dir, int fua)
{
    ssize_t ret;
    while (len > 0 && (ret = rawexpsplice(pipe, a, len, client, dir, fua)) > 0)
    {
        a += ret;
        len -= ret;
    }
    return (ret < 0 || len != 0);
}
int expsplice ( int pipe , off_t a , size_t len , CLIENT * client , int dir , int fua ) { ssize_t ret ; while ( len > 0 && ( ret = rawexpsplice ( pipe , a , len , client , dir , fua ) ) > 0 ) { a += ret ; len -= ret ; } return ( ret < 0 || len != 0 ) ; }
Splice an amount of bytes from the given offset from/into the right file
 from/into the given pipe.
Splice an amount of bytes from the given offset from / into the right file from / into the given pipe .