HomeSort by: relevance | last modified time | path
    Searched refs:uio_resid (Results 1 - 25 of 278) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/lib/libc/stdio/
fvwrite.h 47 size_t uio_resid; member in struct:__suio
fwrite.c 81 uio.uio_resid = iov.iov_len = n;
92 count = ((n - uio.uio_resid) / size);
fputs.c 68 uio.uio_resid = iov.iov_len = strlen(s);
putw.c 61 iov.iov_len = uio.uio_resid = sizeof(w);
puts.c 74 uio.uio_resid = c + 1;
fvwrite.c 74 if ((ssize_t)uio->uio_resid < 0) {
78 if (uio->uio_resid == 0)
112 } while ((uio->uio_resid -= w) != 0);
185 } while ((uio->uio_resid -= w) != 0);
229 } while ((uio->uio_resid -= w) != 0);
  /src/sys/ufs/ext2fs/
ext2fs_readwrite.c 125 if (uio->uio_resid == 0)
132 while (uio->uio_resid > 0) {
134 uio->uio_resid);
180 if (uio->uio_resid == 0)
185 for (error = 0, bp = NULL; uio->uio_resid > 0; bp = NULL) {
194 if (uio->uio_resid < xfersize)
195 xfersize = uio->uio_resid;
297 (uint64_t)uio->uio_offset + uio->uio_resid > ump->um_maxfilesize)
299 if (uio->uio_resid == 0)
303 resid = uio->uio_resid;
    [all...]
  /src/sys/rump/librump/rumpvfs/
devnull.c 99 uio->uio_resid = 0;
103 uio->uio_resid = 0;
107 while (uio->uio_resid > 0) {
109 uimin(sizeof(zeros), uio->uio_resid), uio);
  /src/sys/fs/nfs/common/
nfskpiport.h 64 #define uio_uio_resid(p) ((p)->uio_resid)
65 #define uio_uio_resid_add(p, v) ((p)->uio_resid += (v))
66 #define uio_uio_resid_set(p, v) ((p)->uio_resid = (v))
  /src/sys/kern/
sys_getrandom.c 78 if (uio->uio_resid <= RANDOM_BUFSIZE &&
82 cprng_strong(user_cprng, buf, uio->uio_resid, 0);
83 error = uiomove(buf, uio->uio_resid, uio);
112 while (uio->uio_resid) {
113 size_t n = MIN(uio->uio_resid, RANDOM_BUFSIZE);
216 .uio_resid = buflen,
241 *retval = buflen - uio.uio_resid;
sys_generic.c 141 auio.uio_resid = nbyte;
150 if (auio.uio_resid > SSIZE_MAX) {
155 cnt = auio.uio_resid;
158 if (auio.uio_resid != cnt && (error == ERESTART ||
161 cnt -= auio.uio_resid;
250 auio.uio_resid = 0;
252 auio.uio_resid += iov->iov_len;
259 auio.uio_resid > SSIZE_MAX - iov->iov_len) {
273 cnt = auio.uio_resid;
276 if (auio.uio_resid != cnt && (error == ERESTART |
    [all...]
subr_copy.c 114 while (n > 0 && uio->uio_resid) {
142 uio->uio_resid -= cnt;
161 if (uio->uio_offset < 0 || /* uio->uio_resid < 0 || */
177 size_t resid = uio->uio_resid;
232 KASSERTMSG(n <= uio->uio_resid, "n=%zu resid=%zu", n, uio->uio_resid);
235 while (n > 0 && uio->uio_resid) {
249 uio->uio_resid -= cnt;
264 if (uio->uio_resid <= 0)
284 uio->uio_resid--
    [all...]
  /src/sys/ufs/lfs/
ulfs_readwrite.c 91 if (uio->uio_resid == 0)
100 while (uio->uio_resid > 0) {
104 bytelen = MIN(ip->i_size - uio->uio_offset, uio->uio_resid);
149 if (uio->uio_resid == 0)
156 for (error = 0, bp = NULL; uio->uio_resid > 0; bp = NULL) {
164 xfersize = MIN(MIN(fs_sb_getbsize(fs) - blkoffset, uio->uio_resid),
262 (u_int64_t)uio->uio_offset + uio->uio_resid > fs->um_maxfilesize)
268 if (uio->uio_resid == 0)
274 resid = uio->uio_resid;
281 lfs_availwait(fs, lfs_btofsb(fs, uio->uio_resid));
    [all...]
  /src/sys/rump/librump/rumpkern/
accessors.c 69 uio->uio_resid = bufsize;
80 return uio->uio_resid;
95 resid = uio->uio_resid;
cons.c 112 while (uio->uio_resid > 0) {
113 len = uimin(PAGE_SIZE, uio->uio_resid);
  /src/sys/ufs/ufs/
ufs_readwrite.c 92 if (uio->uio_resid == 0)
103 while (uio->uio_resid > 0) {
107 bytelen = MIN(ip->i_size - uio->uio_offset, uio->uio_resid);
151 if (uio->uio_resid == 0)
159 for (error = 0, bp = NULL; uio->uio_resid > 0; bp = NULL) {
167 xfersize = MIN(MIN(fs->fs_bsize - blkoffset, uio->uio_resid),
275 (u_int64_t)uio->uio_offset + uio->uio_resid > ump->um_maxfilesize)
277 if (uio->uio_resid == 0)
283 resid = uio->uio_resid;
324 nsize = MAX(osize, uio->uio_offset + uio->uio_resid);
    [all...]
  /src/sys/dev/pud/
pud_dev.c 237 allocsize = sizeof(struct pud_creq_read) + uio->uio_resid;
241 pc_read->pm_resid = uio->uio_resid;
248 if (pc_read->pm_resid > uio->uio_resid) {
254 uio->uio_resid - pc_read->pm_resid, uio);
268 allocsize = sizeof(struct pud_creq_write) + uio->uio_resid;
272 pc_write->pm_resid = uio->uio_resid;
274 error = uiomove(pc_write->pm_data, uio->uio_resid, uio);
  /src/sys/arch/i386/isa/
cmos.c 148 if (uio->uio_offset + uio->uio_resid > CMOS_SIZE)
153 error = uiomove(cmos_buf + uio->uio_offset, uio->uio_resid, uio);
164 if (uio->uio_offset + uio->uio_resid > CMOS_SIZE)
169 error = uiomove(cmos_buf + uio->uio_offset, uio->uio_resid, uio);
  /src/sys/uvm/
uvm_io.c 69 if (uio->uio_resid == 0)
71 togo = uio->uio_resid;
  /src/sys/dev/dmover/
swdmover.c 162 buflen = uio->uio_resid;
167 while ((count = uio->uio_resid) != 0) {
223 buflen = uio->uio_resid;
228 while ((count = uio->uio_resid) != 0) {
341 uio_in->uio_resid != uio_out->uio_resid) {
349 buflen = uio_in->uio_resid;
360 while ((count = uio_in->uio_resid) != 0) {
445 uio_in->uio_resid != uio_out->uio_resid) {
    [all...]
  /src/sys/fs/nfs/client/
nfs_clbio.c 151 uio.uio_resid = count;
161 if (error && (uio.uio_resid == count)) {
172 size = count - uio.uio_resid;
296 uio.uio_resid = count;
313 vnode_pager_undirty_pages(pages, rtvals, count - uio.uio_resid);
418 if (uio->uio_resid == 0)
434 tmp_off = uio->uio_offset + uio->uio_resid;
536 n = MIN((unsigned)(bcount - on), uio->uio_resid);
555 n = MIN(uio->uio_resid, NFS_MAXPATHLEN - bp->b_resid);
669 n = lmin(uio->uio_resid, NFS_DIRBLKSIZ - bp->b_resid - on)
    [all...]
  /src/sys/compat/netbsd32/
netbsd32_ptrace.c 177 if ((size_t)kl > uio->uio_resid)
178 kl = uio->uio_resid;
215 if (kl > uio->uio_resid)
216 kl = uio->uio_resid;
253 if (kl > uio->uio_resid)
254 kl = uio->uio_resid;
  /src/sys/arch/i386/i386/
process_machdep.c 311 uio.uio_resid = sizeof(struct xmmregs);
341 uio.uio_resid = iov.iov_len;
375 if (kl > uio->uio_resid)
376 kl = uio->uio_resid;
421 if (kl > uio->uio_resid)
422 kl = uio->uio_resid;
  /src/sys/fs/filecorefs/
filecore_vnops.c 212 if (uio->uio_resid == 0)
225 while (uio->uio_resid > 0) {
227 uio->uio_resid);
244 n = MIN(filecore_blksize(fcmp, ip, lbn) - on, uio->uio_resid);
254 n = MIN(FILECORE_DIR_SIZE - on, uio->uio_resid);
273 } while (error == 0 && uio->uio_resid > 0 && n != 0);
326 ncookies = uio->uio_resid / _DIRENT_MINSIZE((struct dirent *)0);
365 if (uio->uio_resid < de->d_reclen)
  /src/sys/fs/msdosfs/
msdosfs_vnops.c 467 if (uio->uio_resid == 0)
477 while (uio->uio_resid > 0) {
479 uio->uio_resid);
496 n = MIN(pmp->pm_bpcluster - on, uio->uio_resid);
523 } while (error == 0 && uio->uio_resid > 0 && n != 0);
585 if (uio->uio_resid == 0)
589 if (uio->uio_offset + uio->uio_resid > MSDOSFS_FILESIZE_MAX)
609 resid = uio->uio_resid;
634 bytelen = uio->uio_resid;
652 } while (error == 0 && uio->uio_resid > 0)
    [all...]

Completed in 56 milliseconds

1 2 3 4 5 6 7 8 91011>>