Searched refs:uio_resid (Results 1 - 25 of 243) sorted by relevance

12345678910

/freebsd-11-stable/contrib/netbsd-tests/usr.bin/xlint/lint1/
H A Dd_cvt_in_ternary.c10 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 Dfvwrite.h27 int uio_resid; member in struct:sm_uio
H A Dfwrite.c57 uio.uio_resid = iov.iov_len = size;
66 return size - uio.uio_resid;
H A Dfput.c48 iov.iov_len = uio.uio_resid = strlen(s);
/freebsd-11-stable/lib/libc/stdio/
H A Dfvwrite.h46 int uio_resid; member in struct:__suio
H A Dputw.c54 uio.uio_resid = iov.iov_len = sizeof(w);
H A Dputs.c62 uio.uio_resid = c + 1;
H A Dfwrite.c82 uio.uio_resid = iov.iov_len = n;
93 count = (n - uio.uio_resid) / size;
H A Dfvwrite.c61 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 Dfputs.c59 uio.uio_resid = iov.iov_len = strlen(s);
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dsocket.h46 uio.uio_resid = len;
62 uio.uio_resid = len;
/freebsd-11-stable/sys/fs/nfs/
H A Dnfskpiport.h60 #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 Dopensolaris_uio.c70 *cbytes = uio->uio_resid - uio_clone->uio_resid;
85 if (n > uio->uio_resid)
/freebsd-11-stable/sys/fs/fuse/
H A Dfuse_io.c186 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 Dterasic_mtl_pixel.c74 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 Dterasic_mtl_text.c76 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 Dterasic_mtl_reg.c77 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 Dmem.c60 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 Dprocfs_mem.c61 if (uio->uio_resid == 0)
/freebsd-11-stable/sys/compat/cloudabi/
H A Dcloudabi_random.c46 .uio_resid = iov.iov_len,
/freebsd-11-stable/sys/kern/
H A Dkern_physio.c68 (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 Dsctp_syscalls.c280 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 Drandomdev.c158 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 Dsmbfs_io.c91 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 Disc_soc.c203 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...]

Completed in 151 milliseconds

12345678910