/src/sys/arch/atari/stand/ahdilabel/ |
writedtab.c | 45 int pid, i, j, todo; local in function:ahdi_writedisktab 58 todo = ptable->nparts; 60 while (todo) { 93 todo--;
|
writedtab.c | 45 int pid, i, j, todo; local in function:ahdi_writedisktab 58 todo = ptable->nparts; 60 while (todo) { 93 todo--;
|
/src/tests/lib/libc/locale/ |
t_io.c | 142 size_t todo = MIN((size_t)len, ib->buflen - ib->off); local in function:readfn 144 memcpy(buf, ib->buf + ib->off, todo); 145 ib->off += todo; 146 return todo;
|
t_io.c | 142 size_t todo = MIN((size_t)len, ib->buflen - ib->off); local in function:readfn 144 memcpy(buf, ib->buf + ib->off, todo); 145 ib->off += todo; 146 return todo;
|
/src/tests/lib/libc/sys/ |
t_pipe.c | 79 ssize_t sz, todo, done; local in function:ATF_TC_BODY 92 todo = 2 * 1024 * 1024; 93 REQUIRE_LIBC(f = malloc(todo), NULL); 126 printf("Expected: %#zx\n", (size_t)todo); 128 exit(done != todo); 141 /* We write exactly 'todo' bytes. The very first write(2) 145 while(todo > 0 && ((sz = write(pp[1], f, todo)) > 0)) 146 todo -= sz;
|
t_pipe.c | 79 ssize_t sz, todo, done; local in function:ATF_TC_BODY 92 todo = 2 * 1024 * 1024; 93 REQUIRE_LIBC(f = malloc(todo), NULL); 126 printf("Expected: %#zx\n", (size_t)todo); 128 exit(done != todo); 141 /* We write exactly 'todo' bytes. The very first write(2) 145 while(todo > 0 && ((sz = write(pp[1], f, todo)) > 0)) 146 todo -= sz;
|
/src/usr.sbin/sysinst/ |
txtwalk.h | 52 const char *todo; /* What to do ... */ member in struct:lookfor
|
txtwalk.h | 52 const char *todo; /* What to do ... */ member in struct:lookfor
|
/src/sys/netipsec/ |
ipsec_mbuf.c | 213 int todo, len, done, alloc; local in function:m_makespace 219 todo = remain; 220 while (todo > 0) { 221 if (todo > MHLEN) { 235 len = uimin(todo, len); 239 todo -= len;
|
ipsec_mbuf.c | 213 int todo, len, done, alloc; local in function:m_makespace 219 todo = remain; 220 while (todo > 0) { 221 if (todo > MHLEN) { 235 len = uimin(todo, len); 239 todo -= len;
|
/src/sys/kern/ |
sys_memfd.c | 147 vsize_t todo; local in function:memfd_read 164 todo = MIN(uio->uio_resid, mfd->mfd_size - *offp); 165 error = ubc_uiomove(mfd->mfd_uobj, uio, todo, UVM_ADV_SEQUENTIAL, 184 vsize_t todo; local in function:memfd_write 200 todo = uio->uio_resid; 210 todo = mfd->mfd_size - *offp; 218 error = ubc_uiomove(mfd->mfd_uobj, uio, todo, UVM_ADV_SEQUENTIAL,
|
sys_memfd.c | 147 vsize_t todo; local in function:memfd_read 164 todo = MIN(uio->uio_resid, mfd->mfd_size - *offp); 165 error = ubc_uiomove(mfd->mfd_uobj, uio, todo, UVM_ADV_SEQUENTIAL, 184 vsize_t todo; local in function:memfd_write 200 todo = uio->uio_resid; 210 todo = mfd->mfd_size - *offp; 218 error = ubc_uiomove(mfd->mfd_uobj, uio, todo, UVM_ADV_SEQUENTIAL,
|
kern_physio.c | 114 size_t todo = bp->b_bufsize; local in function:physio_done 120 KASSERT(bp->b_bcount <= todo); 125 vunmapbuf(bp, todo); 126 uvm_vsunlock(bp->b_proc->p_vmspace, bp->b_data, todo); 130 if (__predict_false(done != todo)) { 158 ps->ps_resid += todo - done; 176 size_t todo = bp->b_bufsize; local in function:physio_biodone 180 KASSERT(bp->b_bcount <= todo); 182 if (done == todo) 269 size_t todo; local in function:physio [all...] |
kern_physio.c | 114 size_t todo = bp->b_bufsize; local in function:physio_done 120 KASSERT(bp->b_bcount <= todo); 125 vunmapbuf(bp, todo); 126 uvm_vsunlock(bp->b_proc->p_vmspace, bp->b_data, todo); 130 if (__predict_false(done != todo)) { 158 ps->ps_resid += todo - done; 176 size_t todo = bp->b_bufsize; local in function:physio_biodone 180 KASSERT(bp->b_bcount <= todo); 182 if (done == todo) 269 size_t todo; local in function:physio [all...] |
/src/sys/arch/evbppc/explora/dev/ |
le_elb.c | 226 int todo = len; local in function:le_copytodesc 237 todo /= sizeof(uint32_t); 238 while (todo-- > 0)
|
le_elb.c | 226 int todo = len; local in function:le_copytodesc 237 todo /= sizeof(uint32_t); 238 while (todo-- > 0)
|
/src/sys/external/bsd/drm2/dist/drm/ |
drm_dp_aux_dev.c | 166 ssize_t todo = min(iov_iter_count(to), sizeof(buf)); local in function:auxdev_read_iter 173 res = drm_dp_dpcd_read(aux_dev->aux, pos, buf, todo); 209 ssize_t todo = min(iov_iter_count(from), sizeof(buf)); local in function:auxdev_write_iter 216 if (!copy_from_iter_full(buf, todo, from)) { 221 res = drm_dp_dpcd_write(aux_dev->aux, pos, buf, todo);
|
drm_dp_aux_dev.c | 166 ssize_t todo = min(iov_iter_count(to), sizeof(buf)); local in function:auxdev_read_iter 173 res = drm_dp_dpcd_read(aux_dev->aux, pos, buf, todo); 209 ssize_t todo = min(iov_iter_count(from), sizeof(buf)); local in function:auxdev_write_iter 216 if (!copy_from_iter_full(buf, todo, from)) { 221 res = drm_dp_dpcd_write(aux_dev->aux, pos, buf, todo);
|
/src/usr.sbin/mdsetimage/ |
mdsetimage.c | 186 ssize_t todo; local in function:main 203 todo = (left_to_copy > CHUNKSIZE) ? CHUNKSIZE : left_to_copy; 204 if ((rv = read(rfd, buf, todo)) != todo) { 210 if ((rv = write(wfd, buf, todo)) != todo) { 216 left_to_copy -= todo;
|
mdsetimage.c | 186 ssize_t todo; local in function:main 203 todo = (left_to_copy > CHUNKSIZE) ? CHUNKSIZE : left_to_copy; 204 if ((rv = read(rfd, buf, todo)) != todo) { 210 if ((rv = write(wfd, buf, todo)) != todo) { 216 left_to_copy -= todo;
|
/src/sys/arch/sun3/sun3/ |
machdep.c | 530 int psize, todo, chunk; local in function:dumpsys 568 todo = dumpsize; /* pages */ 623 if (chunk > todo) 624 chunk = todo; 626 if ((todo & 0xf) == 0) 627 printf_nolog("\r%4d", todo); 634 --todo; 640 if ((todo & 0xf) == 0) 641 printf_nolog("\r%4d", todo); 651 } while (--todo > 0) [all...] |
machdep.c | 530 int psize, todo, chunk; local in function:dumpsys 568 todo = dumpsize; /* pages */ 623 if (chunk > todo) 624 chunk = todo; 626 if ((todo & 0xf) == 0) 627 printf_nolog("\r%4d", todo); 634 --todo; 640 if ((todo & 0xf) == 0) 641 printf_nolog("\r%4d", todo); 651 } while (--todo > 0) [all...] |
/src/sys/uvm/ |
uvm_pglist.c | 527 int todo; local in function:uvm_pglistalloc_s_ps 550 todo = num; 587 if (--todo == 0) { 608 printf("got %d pgs\n", num - todo); 610 return (num - todo); /* number of pages allocated */
|
uvm_pglist.c | 527 int todo; local in function:uvm_pglistalloc_s_ps 550 todo = num; 587 if (--todo == 0) { 608 printf("got %d pgs\n", num - todo); 610 return (num - todo); /* number of pages allocated */
|
/src/sys/arch/sun3/sun3x/ |
machdep.c | 518 int psize, todo, seg, segsz; local in function:dumpsys 554 todo = dumpsize; /* pages */ 593 while (todo && (segsz > 0)) { 596 if ((todo & 0xf) == 0) 597 printf_nolog("\r%4d", todo); 611 todo--;
|