Searched refs:todo (Results 1 - 25 of 58) sorted by relevance

123

/netbsd-6-1-5-RELEASE/usr.sbin/iostat/
H A Diostat.c99 static int todo = 0; variable
140 todo |= SHOW_CPU;
143 todo &= ~SHOW_STATS_ALL;
144 todo |= SHOW_STATS_1;
147 todo &= ~SHOW_STATS_ALL;
148 todo |= SHOW_STATS_2;
151 todo |= SHOW_TOTALS;
160 todo |= SHOW_TTY;
167 todo &= ~SHOW_STATS_ALL;
168 todo |
[all...]
/netbsd-6-1-5-RELEASE/tests/lib/libc/sys/
H A Dt_pipe.c79 ssize_t sz, todo, done; local
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;
/netbsd-6-1-5-RELEASE/distrib/utils/sysinst/
H A Dtxtwalk.h52 const char *todo; /* What to do ... */ member in struct:lookfor
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/global/
H A Dsmtp_stream.c332 void smtp_fputs(const char *cp, ssize_t todo, VSTREAM *stream) argument
336 if (todo < 0)
337 msg_panic("smtp_fputs: negative todo %ld", (long) todo);
343 err = (vstream_fwrite(stream, cp, todo) != todo
359 void smtp_fwrite(const char *cp, ssize_t todo, VSTREAM *stream) argument
363 if (todo < 0)
364 msg_panic("smtp_fwrite: negative todo %ld", (long) todo);
[all...]
/netbsd-6-1-5-RELEASE/sys/kern/
H A Dkern_physio.c112 size_t todo = bp->b_bufsize; local
118 KASSERT(bp->b_bcount <= todo);
123 vunmapbuf(bp, todo);
124 uvm_vsunlock(bp->b_proc->p_vmspace, bp->b_data, todo);
128 if (__predict_false(done != todo)) {
172 size_t todo = bp->b_bufsize; local
176 KASSERT(bp->b_bcount <= todo);
178 if (done == todo)
259 size_t todo; local
308 todo
[all...]
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/conf/
H A Dpostfix-script242 todo="$config_directory $queue_directory $queue_directory/pid"
243 test -n "$check_shared_files" && todo="$daemon_directory $todo"
245 for dir in $todo
255 todo="$config_directory/*"
256 test -n "$check_shared_files" && todo="$daemon_directory/* $todo"
258 find $todo ! -user root \
261 todo="$config_directory/."
262 test -n "$check_shared_files" && todo
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/atari/stand/ahdilabel/
H A Dwritedtab.c45 int pid, i, j, todo; local
58 todo = ptable->nparts;
60 while (todo) {
93 todo--;
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/usr.sbin/mdsetimage/
H A Dmdsetimage.c197 ssize_t todo; local
214 todo = (left_to_copy > CHUNKSIZE) ? CHUNKSIZE : left_to_copy;
215 if ((rv = read(rfd, buf, todo)) != todo) {
221 if ((rv = write(wfd, buf, todo)) != todo) {
227 left_to_copy -= todo;
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/oqmgr/
H A Dqmgr_enable.c77 /* qmgr_enable_transport - defer todo entries for named transport */
107 if (QMGR_QUEUE_READY(queue) && queue->todo.next == 0 && queue->busy.next == 0)
H A Dqmgr_entry.c34 /* message, and appends the entry to the queue's todo list.
42 /* of the site's `todo' list (i.e. queue entries awaiting selection
57 /* per-site queue's `todo' list for actual delivery. The entry is
63 /* `todo' list.
65 /* qmgr_entry_move_todo() moves the specified "todo" queue entry
66 /* to the specified "todo" queue.
109 if ((entry = queue->todo.prev) != 0) {
110 QMGR_LIST_UNLINK(queue->todo, QMGR_ENTRY *, entry);
176 QMGR_LIST_APPEND(queue->todo, entry);
180 /* qmgr_entry_move_todo - move entry between todo queue
[all...]
H A Dqmgr_queue.c41 /* Each queue has a `todo' list of delivery requests for that
63 /* non-empty `todo' list.
156 if (QMGR_QUEUE_READY(queue) && queue->todo.next == 0 && queue->busy.next == 0)
194 if (QMGR_QUEUE_READY(queue) && queue->todo.next == 0 && queue->busy.next == 0)
364 if (queue->window > queue->busy_refcount && queue->todo.next != 0) {
388 if (queue->todo.next || queue->busy.next)
430 QMGR_LIST_INIT(queue->todo);
H A Dqmgr_defer.c28 /* qmgr_defer_todo() iterates over all "todo" deliveries queued for
83 /* qmgr_defer_transport - defer todo entries for named transport */
103 /* qmgr_defer_todo - defer all todo queue entries for specific site */
124 * unavailable, use the synchronous defer(8) server. With a large todo
132 for (entry = queue->todo.next; entry != 0; entry = next) {
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/qmgr/
H A Dqmgr_enable.c77 /* qmgr_enable_transport - defer todo entries for named transport */
107 if (QMGR_QUEUE_READY(queue) && queue->todo.next == 0 && queue->busy.next == 0)
H A Dqmgr_entry.c34 /* and appends the entry to the peer's list and its queue's todo list.
42 /* of the site's `todo' list (i.e. queue entries awaiting selection
60 /* per-site queue's `todo' list for actual delivery. The entry is
66 /* `todo' list. The entry is also prepended to its peer list again.
68 /* qmgr_entry_move_todo() moves the specified "todo" queue entry
69 /* to the specified "todo" queue.
120 QMGR_LIST_UNLINK(queue->todo, QMGR_ENTRY *, entry, queue_peers);
190 * Move the entry back to the todo lists. In case of the peer list, put
197 QMGR_LIST_APPEND(queue->todo, entry, queue_peers);
203 /* qmgr_entry_move_todo - move entry between todo queue
[all...]
H A Dqmgr_defer.c28 /* qmgr_defer_todo() iterates over all "todo" deliveries queued for
88 /* qmgr_defer_transport - defer todo entries for named transport */
108 /* qmgr_defer_todo - defer all todo queue entries for specific site */
129 * unavailable, use the synchronous defer(8) server. With a large todo
137 for (entry = queue->todo.next; entry != 0; entry = next) {
H A Dqmgr_queue.c38 /* Each queue has a `todo' list of delivery requests for that
171 if (QMGR_QUEUE_READY(queue) && queue->todo.next == 0 && queue->busy.next == 0)
211 if (QMGR_QUEUE_READY(queue) && queue->todo.next == 0 && queue->busy.next == 0)
384 if (queue->todo.next || queue->busy.next)
426 QMGR_LIST_INIT(queue->todo);
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/irs/
H A Dirp.c525 int i, todo; local
534 todo = strlen(buffer);
536 if (todo > (int)sizeof(buffer) - 3) {
541 todo = strlen(buffer);
543 while (todo > 0) {
544 i = write(pvt->fdCxn, buffer + pos, todo);
548 fwrite(buffer + pos, sizeof (char), todo, stderr);
556 todo -= i;
/netbsd-6-1-5-RELEASE/usr.bin/vmstat/
H A Dvmstat.c342 int c, todo, verbose, wide; local
351 reps = todo = verbose = wide = 0;
360 todo |= POOLCACHESTAT;
363 todo |= EVCNTSTAT;
366 todo |= FORKSTAT;
372 todo |= HASHSTAT;
375 todo |= INTRSTAT;
378 todo |= HISTLIST;
381 todo |= HASHLIST;
387 todo |
544 getnlist(int todo) argument
1575 dohashstat(int verbose, int todo, const char *hashname) argument
1751 hist_traverse(int todo, const char *histname) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/rump/librump/rumpvfs/
H A Dvm_vfs.c164 ubc_uiomove(struct uvm_object *uobj, struct uio *uio, vsize_t todo, argument
169 int npages = len2npages(uio->uio_offset, todo);
189 npages = len2npages(uio->uio_offset, todo);
209 xfersize = MIN(MIN(todo, PAGE_SIZE), PAGE_SIZE-pageoff);
221 todo -= xfersize;
229 } while (todo);
/netbsd-6-1-5-RELEASE/sys/arch/sun3/sun3/
H A Dmachdep.c536 int psize, todo, chunk; local
574 todo = dumpsize; /* pages */
629 if (chunk > todo)
630 chunk = todo;
632 if ((todo & 0xf) == 0)
633 printf_nolog("\r%4d", todo);
640 --todo;
646 if ((todo & 0xf) == 0)
647 printf_nolog("\r%4d", todo);
657 } while (--todo >
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/libarchive/
H A Darchive_write_disk.c184 int todo; member in struct:archive_write_disk
385 a->todo = TODO_MODE_BASE;
387 a->todo |= TODO_MODE_FORCE; /* Be pushy about permissions. */
403 a->todo |= TODO_SGID | TODO_SGID_CHECK;
409 a->todo |= TODO_SUID | TODO_SUID_CHECK;
422 a->todo |= TODO_OWNER;
425 a->todo |= TODO_TIMES;
427 a->todo |= TODO_ACLS;
429 a->todo |= TODO_XATTR;
431 a->todo |
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/sun3/sun3x/
H A Dmachdep.c526 int psize, todo, seg, segsz; local
562 todo = dumpsize; /* pages */
601 while (todo && (segsz > 0)) {
604 if ((todo & 0xf) == 0)
605 printf_nolog("\r%4d", todo);
619 todo--;
/netbsd-6-1-5-RELEASE/sys/arch/i386/i386/
H A Dkvm86.c199 size_t todo, now; local
202 todo = len;
203 while (todo > 0) {
204 now = min(todo, PAGE_SIZE - (vmva & (PAGE_SIZE - 1)));
215 todo -= now;
218 return (len - todo);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/
H A Dtree-optimize.c248 int todo = gimple_in_ssa_p (cfun) ? TODO_verify_ssa : 0; local
281 todo |= TODO_update_ssa | TODO_cleanup_cfg;
291 todo |= TODO_cleanup_cfg;
303 return todo;
/netbsd-6-1-5-RELEASE/sys/uvm/
H A Duvm_pdpolicy_clockpro.c454 int todo; local
456 todo = target - cycle;
457 if (todo >= BUCKETSIZE * 2) {
458 todo = (todo % BUCKETSIZE) + BUCKETSIZE;
461 while (todo > 0) {
471 todo--;
1210 clockpro_dropswap(pageq_t *q, int *todo) argument
1215 if (*todo <= 0) {
1225 (*todo)
1234 int todo = swap_shortage; local
1246 clockpro_dropswap(clockpro_queue(s, CLOCKPRO_NEWQ), &todo); local
1247 clockpro_dropswap(clockpro_queue(s, CLOCKPRO_COLDQ), &todo); local
1248 clockpro_dropswap(clockpro_queue(s, CLOCKPRO_HOTQ), &todo); local
[all...]

Completed in 412 milliseconds

123