Lines Matching refs:nres
1483 ssize_t nres; in fuse_direct_io() local
1496 nres = fuse_send_write(ia, pos, nbytes, owner); in fuse_direct_io()
1498 nres = fuse_send_read(ia, pos, nbytes, owner); in fuse_direct_io()
1501 if (!io->async || nres < 0) { in fuse_direct_io()
1506 if (nres < 0) { in fuse_direct_io()
1508 err = nres; in fuse_direct_io()
1511 WARN_ON(nres > nbytes); in fuse_direct_io()
1513 count -= nres; in fuse_direct_io()
1514 res += nres; in fuse_direct_io()
1515 pos += nres; in fuse_direct_io()
1516 if (nres != nbytes) { in fuse_direct_io()
1517 iov_iter_revert(iter, nbytes - nres); in fuse_direct_io()