Lines Matching refs:nres
1460 ssize_t nres; in fuse_direct_io() local
1473 nres = fuse_send_write(ia, pos, nbytes, owner); in fuse_direct_io()
1475 nres = fuse_send_read(ia, pos, nbytes, owner); in fuse_direct_io()
1478 if (!io->async || nres < 0) { in fuse_direct_io()
1483 if (nres < 0) { in fuse_direct_io()
1485 err = nres; in fuse_direct_io()
1488 WARN_ON(nres > nbytes); in fuse_direct_io()
1490 count -= nres; in fuse_direct_io()
1491 res += nres; in fuse_direct_io()
1492 pos += nres; in fuse_direct_io()
1493 if (nres != nbytes) { in fuse_direct_io()
1494 iov_iter_revert(iter, nbytes - nres); in fuse_direct_io()