Home
last modified time | relevance | path

Searched refs:orig_resid (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/riscv/riscv/
H A Dmem.c48 ssize_t orig_resid; in memrw() local
58 orig_resid = uio->uio_resid; in memrw()
125 if (uio->uio_resid != orig_resid) in memrw()
/freebsd/sys/amd64/amd64/
H A Dmem.c81 ssize_t orig_resid; in memrw() local
88 orig_resid = uio->uio_resid; in memrw()
165 if (uio->uio_resid != orig_resid) in memrw()
/freebsd/sys/powerpc/powerpc/
H A Dmem.c98 ssize_t orig_resid; in memrw() local
102 orig_resid = uio->uio_resid; in memrw()
180 if (uio->uio_resid != orig_resid) in memrw()
/freebsd/sys/dev/hyperv/hvsock/
H A Dhv_sock.c622 ssize_t orig_resid; in hvs_trans_soreceive() local
647 orig_resid = uio->uio_resid; in hvs_trans_soreceive()
706 orig_resid > uio->uio_resid) { in hvs_trans_soreceive()
729 if (!(flags & MSG_WAITALL) && orig_resid > uio->uio_resid) in hvs_trans_soreceive()
735 if (orig_resid == uio->uio_resid) { in hvs_trans_soreceive()
787 ssize_t orig_resid; in hvs_trans_sosend() local
804 orig_resid = uio->uio_resid; in hvs_trans_sosend()
827 if (orig_resid > uio->uio_resid) in hvs_trans_sosend()
/freebsd/sys/ufs/ffs/
H A Dffs_vnops.c657 ssize_t orig_resid; in ffs_read() local
692 orig_resid = uio->uio_resid; in ffs_read()
693 KASSERT(orig_resid >= 0, ("ffs_read: uio->uio_resid < 0")); in ffs_read()
694 if (orig_resid == 0) in ffs_read()
822 if ((error == 0 || uio->uio_resid != orig_resid) && in ffs_read()
1071 ssize_t orig_resid; in ffs_extread() local
1083 orig_resid = uio->uio_resid; in ffs_extread()
1084 KASSERT(orig_resid >= 0, ("ffs_extread: uio->uio_resid < 0")); in ffs_extread()
1085 if (orig_resid == 0) in ffs_extread()
/freebsd/sys/kern/
H A Dsys_pipe.c1138 ssize_t orig_resid; in pipe_write() local
1196 orig_resid = uio->uio_resid; in pipe_write()
1252 if ((space < uio->uio_resid) && (orig_resid <= PIPE_BUF)) in pipe_write()
1377 if (uio->uio_resid != orig_resid && error == EPIPE) in pipe_write()
1392 if (uio->uio_resid != orig_resid) in pipe_write()
H A Duipc_socket.c2710 ssize_t orig_resid = uio->uio_resid; local
2825 orig_resid = 0;
2917 orig_resid = 0;
3169 if (orig_resid == uio->uio_resid && orig_resid &&
/freebsd/sys/fs/nfsclient/
H A Dnfs_clbio.c843 size_t orig_resid, local_resid; in ncl_write()
903 orig_resid = uio->uio_resid; in ncl_write()
1264 uio->uio_offset -= orig_resid - uio->uio_resid; in nfs_getcacheblk()
1265 uio->uio_resid = orig_resid; in nfs_getcacheblk()
814 size_t orig_resid, local_resid; ncl_write() local
/freebsd/sys/fs/ext2fs/
H A Dext2_vnops.c2033 int error, orig_resid, seqcount; in ext2_read() local
2054 orig_resid = uio->uio_resid; in ext2_read()
2055 KASSERT(orig_resid >= 0, ("ext2_read: uio->uio_resid < 0")); in ext2_read()
2056 if (orig_resid == 0) in ext2_read()
2126 if ((error == 0 || uio->uio_resid != orig_resid) && in ext2_read()
/freebsd/sys/fs/msdosfs/
H A Dmsdosfs_vnops.c524 ssize_t orig_resid; in msdosfs_read() local
541 orig_resid = uio->uio_resid; in msdosfs_read()
542 if (orig_resid == 0) in msdosfs_read()
604 if (!isadir && (error == 0 || uio->uio_resid != orig_resid) && in msdosfs_read()