/freebsd-11-stable/contrib/netbsd-tests/usr.bin/xlint/lint1/ |
H A D | d_cvt_in_ternary.c | 10 size_t uio_resid = 0; local 11 size_t bytelen = (((dirent.len)<(uio_resid))?(dirent.len):(uio_resid));
|
/freebsd-11-stable/contrib/sendmail/libsm/ |
H A D | fvwrite.h | 27 int uio_resid; member in struct:sm_uio
|
H A D | fwrite.c | 57 uio.uio_resid = iov.iov_len = size; 66 return size - uio.uio_resid;
|
H A D | fput.c | 48 iov.iov_len = uio.uio_resid = strlen(s);
|
/freebsd-11-stable/lib/libc/stdio/ |
H A D | fvwrite.h | 46 int uio_resid; member in struct:__suio
|
H A D | putw.c | 54 uio.uio_resid = iov.iov_len = sizeof(w);
|
H A D | puts.c | 62 uio.uio_resid = c + 1;
|
H A D | fwrite.c | 82 uio.uio_resid = iov.iov_len = n; 93 count = (n - uio.uio_resid) / size;
|
H A D | fvwrite.c | 61 if (uio->uio_resid == 0) 92 } while ((uio->uio_resid -= w) != 0); 154 } while ((uio->uio_resid -= w) != 0); 198 } while ((uio->uio_resid -= w) != 0);
|
H A D | fputs.c | 59 uio.uio_resid = iov.iov_len = strlen(s);
|
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | socket.h | 46 uio.uio_resid = len; 62 uio.uio_resid = len;
|
/freebsd-11-stable/sys/fs/nfs/ |
H A D | nfskpiport.h | 60 #define uio_uio_resid(p) ((p)->uio_resid) 61 #define uio_uio_resid_add(p, v) ((p)->uio_resid += (v)) 62 #define uio_uio_resid_set(p, v) ((p)->uio_resid = (v))
|
/freebsd-11-stable/sys/cddl/compat/opensolaris/kern/ |
H A D | opensolaris_uio.c | 70 *cbytes = uio->uio_resid - uio_clone->uio_resid; 85 if (n > uio->uio_resid)
|
/freebsd-11-stable/sys/fs/fuse/ |
H A D | fuse_io.c | 186 uio->uio_resid, uio->uio_offset, VTOFUD(vp)->filesize); 188 if (uio->uio_resid == 0) 251 n = MIN((unsigned)(bcount - on), uio->uio_resid); 259 FS_DEBUG2G("end of turn, err %d, uio->uio_resid %zd, n %d\n", 260 err, uio->uio_resid, n); 261 } while (err == 0 && uio->uio_resid > 0 && n > 0); 274 if (uio->uio_resid == 0) 287 while (uio->uio_resid > 0) { 293 fri->size = MIN(uio->uio_resid, 305 fri->size, fdi.iosize, uio->uio_resid, [all...] |
/freebsd-11-stable/sys/dev/terasic/mtl/ |
H A D | terasic_mtl_pixel.c | 74 uio->uio_resid % 4 != 0) 79 if ((uio->uio_offset + uio->uio_resid < 0) || 80 (uio->uio_offset + uio->uio_resid > size)) 82 while (uio->uio_resid > 0) { 103 uio->uio_resid % 4 != 0) 108 while (uio->uio_resid > 0) {
|
H A D | terasic_mtl_text.c | 76 uio->uio_resid % 2 != 0) 81 if ((uio->uio_offset + uio->uio_resid < 0) || 82 (uio->uio_offset + uio->uio_resid > size)) 84 while (uio->uio_resid > 0) { 105 uio->uio_resid % 2 != 0) 110 while (uio->uio_resid > 0) {
|
H A D | terasic_mtl_reg.c | 77 uio->uio_resid % 4 != 0) 82 if ((uio->uio_offset + uio->uio_resid < 0) || 83 (uio->uio_offset + uio->uio_resid > size)) 85 while (uio->uio_resid > 0) { 106 uio->uio_resid % 4 != 0) 111 while (uio->uio_resid > 0) {
|
/freebsd-11-stable/sys/riscv/riscv/ |
H A D | mem.c | 60 orig_resid = uio->uio_resid; 61 while (uio->uio_resid > 0 && error == 0) { 119 if (uio->uio_resid != orig_resid)
|
/freebsd-11-stable/sys/fs/procfs/ |
H A D | procfs_mem.c | 61 if (uio->uio_resid == 0)
|
/freebsd-11-stable/sys/compat/cloudabi/ |
H A D | cloudabi_random.c | 46 .uio_resid = iov.iov_len,
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_physio.c | 68 (uio->uio_resid > dev->si_iosize_max || uio->uio_resid > MAXPHYS || 73 if (uio->uio_resid > dev->si_iosize_max) 76 uio->uio_resid, dev->si_iosize_max); 77 if (uio->uio_resid > MAXPHYS) 80 uio->uio_resid, MAXPHYS); 100 maxpages = btoc(MIN(uio->uio_resid, MAXPHYS)) + 1; 210 uio->uio_resid -= iolen;
|
/freebsd-11-stable/sys/netinet/ |
H A D | sctp_syscalls.c | 280 auio.uio_resid = 0; 285 len = auio.uio_resid = uap->mlen; 291 if (auio.uio_resid != len && (error == ERESTART || 303 td->td_retval[0] = len - auio.uio_resid; 306 ktruio->uio_resid = td->td_retval[0]; 400 auio.uio_resid = 0; 403 if ((auio.uio_resid += tiov->iov_len) < 0) { 412 len = auio.uio_resid; 419 if (auio.uio_resid != len && (error == ERESTART || 431 td->td_retval[0] = len - auio.uio_resid; [all...] |
/freebsd-11-stable/sys/dev/random/ |
H A D | randomdev.c | 158 read_rate_increment((uio->uio_resid + sizeof(uint32_t))/sizeof(uint32_t)); 160 while (uio->uio_resid && !error) { 161 read_len = uio->uio_resid; 172 c = MIN(uio->uio_resid, read_len); 176 if (total_read != uio->uio_resid && (error == ERESTART || error == EINTR)) 257 nbytes = uio->uio_resid; 258 while (uio->uio_resid > 0 && error == 0) { 259 c = MIN(uio->uio_resid, PAGE_SIZE); 266 if (nbytes != uio->uio_resid && (error == ERESTART || error == EINTR))
|
/freebsd-11-stable/sys/fs/smbfs/ |
H A D | smbfs_io.c | 91 limit = uio->uio_resid / DE_SIZE; 92 if (uio->uio_resid < DE_SIZE || uio->uio_offset < 0) { 200 if (uiop->uio_resid == 0) 204 /* if (uiop->uio_offset + uiop->uio_resid > smp->nm_maxfilesize) 257 uiop->uio_resid); 260 /* if (uiop->uio_offset + uiop->uio_resid > smp->nm_maxfilesize) 282 if (uiop->uio_resid == 0) 293 uiop->uio_resid); 326 io.iov_len = uiop->uio_resid = bp->b_bcount; 335 if (uiop->uio_resid) { [all...] |
/freebsd-11-stable/sys/dev/iscsi_initiator/ |
H A D | isc_soc.c | 203 uio->uio_resid = iv->iov_len; 210 uio->uio_resid += iv->iov_len; 219 uio->uio_resid += iv->iov_len ; 227 uio->uio_resid += iv->iov_len ; 233 uio->uio_resid += iv->iov_len ; 238 sdebug(4, "pq->len=%d uio->uio_resid=%d uio->uio_iovcnt=%d", pq->len, 239 uio->uio_resid, 242 sdebug(4, "opcode=%x iovcnt=%d uio_resid=%d itt=%x", 243 pp->ipdu.bhs.opcode, uio->uio_iovcnt, uio->uio_resid, 248 len = uio->uio_resid; [all...] |