/titanic_50/usr/src/uts/common/fs/proc/ |
H A D | prusrio.c | 51 ssize_t total = uiop->uio_resid; in prusrio() 56 if (uiop->uio_resid <= STACK_BUF_SIZE) { in prusrio() 71 while (uiop->uio_resid != 0) { in prusrio() 73 len = MIN(uiop->uio_resid, in prusrio() 88 if (total != uiop->uio_resid || !old) in prusrio() 95 while (uiop->uio_resid != 0) { in prusrio() 97 len = MIN(uiop->uio_resid, in prusrio() 103 uiop->uio_resid += len; in prusrio() 115 if (total != uiop->uio_resid) in prusrio()
|
/titanic_50/usr/src/lib/libfakekernel/common/ |
H A D | uio.c | 35 while (n && uio->uio_resid) { in uiomove() 58 uio->uio_resid -= cnt; in uiomove() 72 if (n > uiop->uio_resid) in uioskip() 86 uiop->uio_resid -= niovb; in uioskip()
|
/titanic_50/usr/src/uts/common/fs/fd/ |
H A D | fdops.c | 131 uiop->uio_resid <= 0) in fdread() 136 MIN(uiop->uio_resid, 2*FDSDSIZE - uiop->uio_offset), in fdread() 138 if (uiop->uio_resid <= 0 || error) in fdread() 142 maxfd = (uiop->uio_offset + uiop->uio_resid - 1)/FDSDSIZE; in fdread() 152 MIN(uiop->uio_resid, FDSDSIZE - modoff), in fdread() 154 if (uiop->uio_resid <= 0 || error) in fdread() 239 if (uiop->uio_offset < 0 || uiop->uio_resid <= 0 || in fdreaddir() 244 oresid = uiop->uio_resid; in fdreaddir() 253 while (uiop->uio_resid > 0) { in fdreaddir() 279 if (reclen > uiop->uio_resid) { in fdreaddir() [all …]
|
/titanic_50/usr/src/uts/common/os/ |
H A D | move.c | 69 while (n && uio->uio_resid) { in uiomove() 106 uio->uio_resid -= cnt; in uiomove() 251 if (!(uiop && uiop->uio_resid > 0)) in ureadc() 297 uiop->uio_resid--; in ureadc() 320 if (!(uiop && uiop->uio_resid > 0)) in uwritec() 359 uiop->uio_resid--; in uwritec() 370 if (n > uiop->uio_resid) in uioskip() 384 uiop->uio_resid -= niovb; in uioskip() 472 while (n > 0 && uioa->uio_resid > 0) { in uioamove() 547 uioa->uio_resid -= cnt; in uioamove()
|
H A D | vm_subr.c | 149 tnf_size, size, uio->uio_resid, in default_physio() 200 if (uio->uio_resid == 0) in default_physio() 230 bp->b_bcount = MIN(iov->iov_len, uio->uio_resid); in default_physio() 275 uio->uio_resid -= c; in default_physio()
|
/titanic_50/usr/src/uts/common/syscall/ |
H A D | sendfile.c | 150 auio.uio_resid = sfv_len; in sendvec_chunk64() 159 cnt = sfv_len - auio.uio_resid; in sendvec_chunk64() 259 auio.uio_resid = iov_len; in sendvec_chunk64() 287 cnt = iov_len - auio.uio_resid; in sendvec_chunk64() 308 auio.uio_resid = cnt; in sendvec_chunk64() 322 cnt -= auio.uio_resid; in sendvec_chunk64() 323 sfv_len += auio.uio_resid; in sendvec_chunk64() 324 sfv_off -= auio.uio_resid; in sendvec_chunk64() 509 auio.uio_resid = iov_len; in sendvec_small_chunk() 615 auio.uio_resid = iov_len; in sendvec_small_chunk() [all …]
|
H A D | getdents.c | 117 auio.uio_resid = count; in getdents32() 125 count = count - auio.uio_resid; in getdents32() 224 auio.uio_resid = count; in getdents64() 234 count = count - auio.uio_resid; in getdents64()
|
H A D | rw.c | 163 auio.uio_resid = bcount = cnt; in read() 181 cnt -= auio.uio_resid; in read() 301 auio.uio_resid = bcount = cnt; in write() 310 cnt -= auio.uio_resid; in write() 444 auio.uio_resid = bcount; in pread() 456 bcount -= auio.uio_resid; in pread() 574 auio.uio_resid = bcount; in pwrite() 590 bcount -= auio.uio_resid; in pwrite() 733 auio.uio_resid = bcount = count; in readv() 749 count -= auio.uio_resid; in readv() [all …]
|
H A D | readlink.c | 105 auio.uio_resid = cnt; in readlinkat() 115 return ((ssize_t)(cnt - auio.uio_resid)); in readlinkat()
|
/titanic_50/usr/src/uts/common/fs/ufs/ |
H A D | ufs_directio.c | 372 resid = uio->uio_resid; in ufs_directio_write() 425 copy_resid = uio->uio_resid; in ufs_directio_write() 436 copy_uio.uio_resid = uio->uio_resid; in ufs_directio_write() 618 resid = uio->uio_resid; in ufs_directio_write() 736 resid = uio->uio_resid - bytes_written; in ufs_directio_write() 737 arg_uio->uio_resid = resid; in ufs_directio_write() 784 phys_uio.uio_resid = phys_iov.iov_len; in directio_hole() 787 while (error == 0 && phys_uio.uio_resid) { in directio_hole() 838 resid = uio->uio_resid; in ufs_directio_read() 1031 uio->uio_resid -= bytes_read; in ufs_directio_read()
|
H A D | ufs_trans.c | 889 resid = MIN(uio->uio_resid, ufs_trans_max_resid); in ufs_trans_write_resv() 893 if (resid != uio->uio_resid) in ufs_trans_write_resv() 899 resid = uio->uio_resid; in ufs_trans_write_resv() 904 resid = uio->uio_resid / nchunks; in ufs_trans_write_resv() 938 realresid = uio->uio_resid; in ufs_trans_write() 946 uio->uio_resid = MIN(resid, realresid); in ufs_trans_write() 947 realresid -= uio->uio_resid; in ufs_trans_write() 953 if (err || uio->uio_resid || (realresid == 0)) { in ufs_trans_write() 954 uio->uio_resid += realresid; in ufs_trans_write()
|
/titanic_50/usr/src/cmd/sendmail/libsm/ |
H A D | fwrite.c | 59 uio.uio_resid = iov.iov_len = size; 68 return size - uio.uio_resid;
|
H A D | fvwrite.c | 72 if (uio->uio_resid == 0) 112 } while ((uio->uio_resid -= w) != 0); 204 } while ((uio->uio_resid -= w) != 0); 272 } while ((uio->uio_resid -= w) != 0);
|
/titanic_50/usr/src/uts/common/io/ |
H A D | random.c | 237 while (error == 0 && uiop->uio_resid > 0) { in rnd_read() 238 len = min(sizeof (random_bytes), uiop->uio_resid); in rnd_read() 284 while (uiop->uio_resid > 0) { in rnd_write() 285 bytes = min(sizeof (buf), uiop->uio_resid); in rnd_write()
|
/titanic_50/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_read.c | 381 vdb->vdb_uio.uio_resid = param->rw_count; in smb_common_read() 413 sr->raw_data.max_bytes = vdb->vdb_uio.uio_resid; in smb_common_read() 418 sr->raw_data.max_bytes -= vdb->vdb_uio.uio_resid; in smb_common_read() 424 sr->raw_data.max_bytes = vdb->vdb_uio.uio_resid; in smb_common_read() 429 sr->raw_data.max_bytes -= vdb->vdb_uio.uio_resid; in smb_common_read() 439 param->rw_count -= vdb->vdb_uio.uio_resid; in smb_common_read()
|
H A D | smb_opipe.c | 333 while (uio->uio_resid > 0) { in smb_opipe_write() 337 uio->uio_resid -= sent; in smb_opipe_write() 394 uio->uio_resid -= recvcnt; in smb_opipe_read() 525 vdb.vdb_uio.uio_resid = fsctl->MaxOutputResp; in smb_opipe_transceive() 534 len = fsctl->MaxOutputResp - vdb.vdb_uio.uio_resid; in smb_opipe_transceive() 549 vdb.vdb_uio.uio_resid == 0) { in smb_opipe_transceive()
|
H A D | smb_net.c | 197 while (uio->uio_resid > 0) { in smb_net_send_uio() 201 uio->uio_resid -= sent; in smb_net_send_uio()
|
H A D | smb2_read.c | 85 vdb->vdb_uio.uio_resid = Length; in smb2_read() 116 XferCount = Length - vdb->vdb_uio.uio_resid; in smb2_read()
|
/titanic_50/usr/src/uts/common/io/ksocket/ |
H A D | ksocket.c | 209 auio.uio_resid = msglen; in ksocket_send() 232 *sent = msglen - auio.uio_resid; in ksocket_send() 261 auio.uio_resid = msglen; in ksocket_sendto() 285 *sent = msglen - auio.uio_resid; in ksocket_sendto() 326 auio.uio_resid = len; in ksocket_sendmsg() 338 *sent = len - auio.uio_resid; in ksocket_sendmsg() 368 auio.uio_resid = msglen; in ksocket_recv() 392 *recv = msglen - auio.uio_resid; in ksocket_recv() 421 auio.uio_resid = msglen; in ksocket_recvfrom() 444 *recv = msglen - auio.uio_resid; in ksocket_recvfrom() [all …]
|
/titanic_50/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | reparse.c | 75 uio.uio_resid = MAXREPARSELEN; in reparse_vnode_parse() 78 *(lkdata + MAXREPARSELEN - uio.uio_resid) = '\0'; in reparse_vnode_parse()
|
H A D | fake_vop.c | 126 resid = uio->uio_resid; in fop_read() 151 uio->uio_resid -= n; in fop_read() 173 while (uio->uio_resid > 0) { in fop_write() 184 if (cnt > uio->uio_resid) in fop_write() 185 cnt = uio->uio_resid; in fop_write() 195 uio->uio_resid -= n; in fop_write() 619 uiop->uio_resid); in fop_readdir() 631 uiop->uio_resid -= cnt; in fop_readdir()
|
/titanic_50/usr/src/uts/common/fs/objfs/ |
H A D | objfs_data.c | 536 uio->uio_resid <= 0) in read_symtab() 552 uio)) != 0 || uio->uio_resid <= 0) in read_symtab() 581 if (uio->uio_resid <= 0 || uio->uio_offset >= data_size(mp)) in objfs_data_read() 657 uio->uio_resid <= 0) in objfs_data_read() 686 uio->uio_resid <= 0) in objfs_data_read() 721 if (error != 0 || uio->uio_resid <= 0) in objfs_data_read() 736 uio)) != 0 || uio->uio_resid <= 0) in objfs_data_read()
|
/titanic_50/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | subr_mchain.c | 183 if (a_uio->uio_resid < 0) { in uio_update() 184 a_uio->uio_resid = 0; in uio_update() 186 if (a_count > (size_t)a_uio->uio_resid) { in uio_update() 187 a_uio->uio_loffset += a_uio->uio_resid; in uio_update() 188 a_uio->uio_resid = 0; in uio_update() 191 a_uio->uio_resid -= a_count; in uio_update() 588 while (size > 0 && uiop->uio_resid) { in mb_put_uio() 913 while (size > 0 && uiop->uio_resid) { in md_get_uio()
|
/titanic_50/usr/src/uts/common/fs/fifofs/ |
H A D | fifovnops.c | 668 if (uiop->uio_resid == 0) in fifo_read() 739 int uiosize = MIN(bpsize, uiop->uio_resid); in fifo_read() 752 if (uiop->uio_resid == 0) in fifo_read() 779 ASSERT(uiop->uio_resid == 0); in fifo_read() 781 } while (uiop->uio_resid != 0 && fnp->fn_mp != NULL); in fifo_read() 865 write_size = uiop->uio_resid; in fifo_write() 917 if (uiop->uio_resid == write_size) { in fifo_write() 964 if (uiop->uio_resid + fn_dest->fn_count > Fifohiwat) in fifo_write() 965 size = MIN(uiop->uio_resid, PIPE_BUF); in fifo_write() 967 size = uiop->uio_resid; in fifo_write() [all …]
|
/titanic_50/usr/src/uts/common/fs/sockfs/ |
H A D | sodirect.c | 77 if (uiop->uio_resid >= uioasync.mincnt && in sod_rcv_init() 163 if (msg_size > uioap->uio_resid) { in sod_uioa_mblk_init() 189 if (mp1 != NULL || uioap->uio_resid == 0) { in sod_uioa_mblk_init() 290 if (len > uioap->uio_resid || (so->so_oobmark > 0 && in sod_uioa_so_init()
|