Home
last modified time | relevance | path

Searched refs:todo (Results 1 – 25 of 295) sorted by relevance

12345678910>>...12

/netbsd-src/usr.sbin/iostat/
H A Diostat.c97 static int todo = 0; variable
139 #define LAYOUT_TTY (((todo & SHOW_TOTALS) \
171 #define LAYOUT_DRIVE_1 (LAYOUT_DRIVE_1_XSIZE + ((todo & SHOW_TOTALS) ? \
173 ((todo&SHOW_UPDATES)? 2*LAYOUT_DRIVE_1_INCR+2 :0)) \
175 #define LAYOUT_DRIVE_2 (((todo & SHOW_TOTALS) ? (LAYOUT_DRIVE_2_VOLUME + \
177 ((todo&SHOW_UPDATES)? 2*LAYOUT_DRIVE_2_INCR+2 : 0))\
180 #define LAYOUT_DRIVE_3 (((todo & SHOW_TOTALS) ? (LAYOUT_DRIVE_2_VOLUME + \
182 ((todo&SHOW_UPDATES)? 2*LAYOUT_DRIVE_2_INCR+1 : 0))\
224 todo |= SHOW_CPU; in main()
227 todo &= ~SHOW_STATS_ALL; in main()
[all …]
/netbsd-src/sys/kern/
H A Dkern_physio.c114 size_t todo = bp->b_bufsize; in physio_done() local
120 KASSERT(bp->b_bcount <= todo); in physio_done()
125 vunmapbuf(bp, todo); in physio_done()
126 uvm_vsunlock(bp->b_proc->p_vmspace, bp->b_data, todo); in physio_done()
130 if (__predict_false(done != todo)) { in physio_done()
158 ps->ps_resid += todo - done; in physio_done()
176 size_t todo = bp->b_bufsize; in physio_biodone() local
180 KASSERT(bp->b_bcount <= todo); in physio_biodone()
182 if (done == todo) in physio_biodone()
269 size_t todo; in physio() local
[all …]
/netbsd-src/external/ibm-public/postfix/dist/src/global/
H A Dsmtp_stream.c461 void smtp_fputs(const char *cp, ssize_t todo, VSTREAM *stream) in smtp_fputs() argument
465 if (todo < 0) in smtp_fputs()
466 msg_panic("smtp_fputs: negative todo %ld", (long) todo); in smtp_fputs()
472 err = (vstream_fwrite(stream, cp, todo) != todo in smtp_fputs()
486 void smtp_fwrite(const char *cp, ssize_t todo, VSTREAM *stream) in smtp_fwrite() argument
490 if (todo < 0) in smtp_fwrite()
491 msg_panic("smtp_fwrite: negative todo %ld", (long) todo); in smtp_fwrite()
497 err = (vstream_fwrite(stream, cp, todo) != todo); in smtp_fwrite()
510 void smtp_fread_buf(VSTRING *vp, ssize_t todo, VSTREAM *stream) in smtp_fread_buf() argument
519 if (todo < 0) in smtp_fread_buf()
[all …]
H A Dmemcache_proto.c118 int memcache_fwrite(VSTREAM *stream, const char *cp, ssize_t todo) in memcache_fwrite() argument
124 if (todo < 0) in memcache_fwrite()
125 msg_panic("memcache_fwrite: negative todo %ld", (long) todo); in memcache_fwrite()
131 msg_info("%s write: %.*s", VSTREAM_PATH(stream), (int) todo, cp); in memcache_fwrite()
132 if (vstream_fwrite(stream, cp, todo) != todo in memcache_fwrite()
141 int memcache_fread(VSTREAM *stream, VSTRING *buf, ssize_t todo) in memcache_fread() argument
147 if (todo < 0) in memcache_fread()
148 msg_panic("memcache_fread: negative todo %ld", (long) todo); in memcache_fread()
153 if (vstream_fread_buf(stream, buf, todo) != todo in memcache_fread()
/netbsd-src/external/mit/isl/dist/
H A Disl_vertices.c729 static void free_todo(struct isl_facet_todo *todo) in free_todo() argument
731 while (todo) { in free_todo()
732 struct isl_facet_todo *next = todo->next; in free_todo()
734 isl_tab_free(todo->tab); in free_todo()
735 isl_basic_set_free(todo->bset); in free_todo()
736 isl_vec_free(todo->constraint); in free_todo()
737 free(todo); in free_todo()
739 todo = next; in free_todo()
748 struct isl_facet_todo *todo; in create_todo() local
759 todo = isl_calloc_type(tab->mat->ctx, struct isl_facet_todo); in create_todo()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/apps/
H A Dlist.c1554 } todo = { 0, }; in list_main() local
1573 todo.commands = 1; in list_main()
1576 todo.digest_commands = 1; in list_main()
1579 todo.digest_algorithms = 1; in list_main()
1582 todo.kdf_algorithms = 1; in list_main()
1585 todo.random_instances = 1; in list_main()
1588 todo.random_generators = 1; in list_main()
1591 todo.mac_algorithms = 1; in list_main()
1594 todo.cipher_commands = 1; in list_main()
1597 todo.cipher_algorithms = 1; in list_main()
[all …]
/netbsd-src/tests/lib/libc/sys/
H A Dt_pipe.c79 ssize_t sz, todo, done; in ATF_TC_BODY() local
92 todo = 2 * 1024 * 1024; in ATF_TC_BODY()
93 REQUIRE_LIBC(f = malloc(todo), NULL); in ATF_TC_BODY()
126 printf("Expected: %#zx\n", (size_t)todo); in ATF_TC_BODY()
128 exit(done != todo); in ATF_TC_BODY()
145 while(todo > 0 && ((sz = write(pp[1], f, todo)) > 0)) in ATF_TC_BODY()
146 todo -= sz; in ATF_TC_BODY()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/chacha/
H A Dchacha_enc.c79 size_t todo, i; in ChaCha20_ctr32() local
110 todo = sizeof(buf); in ChaCha20_ctr32()
111 if (len < todo) in ChaCha20_ctr32()
112 todo = len; in ChaCha20_ctr32()
116 for (i = 0; i < todo; i++) in ChaCha20_ctr32()
118 out += todo; in ChaCha20_ctr32()
119 inp += todo; in ChaCha20_ctr32()
120 len -= todo; in ChaCha20_ctr32()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/chacha/
H A Dchacha_enc.c77 size_t todo, i; in ChaCha20_ctr32() local
108 todo = sizeof(buf); in ChaCha20_ctr32()
109 if (len < todo) in ChaCha20_ctr32()
110 todo = len; in ChaCha20_ctr32()
114 for (i = 0; i < todo; i++) in ChaCha20_ctr32()
116 out += todo; in ChaCha20_ctr32()
117 inp += todo; in ChaCha20_ctr32()
118 len -= todo; in ChaCha20_ctr32()
/netbsd-src/external/ibm-public/postfix/dist/src/util/
H A Ddict_cache.c738 int todo; /* number of entries to process */ member
781 if (cp->todo < 1) in make_tagged_key()
782 msg_panic("make_tagged_key: bad todo count: %d", cp->todo); in make_tagged_key()
785 cp->todo - cp->done - 1 : cp->done, cp->suffix); in make_tagged_key()
805 cp->todo = 0; in create_requests()
830 cp->todo = 0; in reset_requests()
848 int todo; in run_requests() local
859 todo = 0; in run_requests()
861 if (cp->done < cp->todo) { in run_requests()
862 todo = 1; in run_requests()
[all …]
/netbsd-src/external/ibm-public/postfix/dist/conf/
H A Dpostfix-script308 todo="$config_directory/."
310 todo="$daemon_directory/. $meta_directory/. $todo"
312 todo="$shlib_directory/. $todo"
314 todo=`echo "$todo" | tr ' ' '\12' | sort -u`
316 find $todo ! -user root \
319 find $todo \( -perm -020 -o -perm -002 \) \
345 todo="$queue_directory/public $queue_directory/maildrop"
347 todo="$command_directory/postqueue $command_directory/postdrop $todo"
349 find $todo \
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/epiphany/
H A Dresolve-sw-modes.c79 vec<basic_block> todo; in execute() local
84 todo.create (last_basic_block_for_fn (fun)); in execute()
121 todo.quick_push (bb); in execute()
129 while (todo.length ()) in execute()
131 basic_block bb = todo.pop (); in execute()
164 todo.quick_push (succ); in execute()
178 todo.release (); in execute()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/epiphany/
H A Dresolve-sw-modes.cc79 vec<basic_block> todo; in execute() local
84 todo.create (last_basic_block_for_fn (fun)); in execute()
121 todo.quick_push (bb); in execute()
129 while (todo.length ()) in execute()
131 basic_block bb = todo.pop (); in execute()
164 todo.quick_push (succ); in execute()
178 todo.release (); in execute()
/netbsd-src/usr.bin/vmstat/
H A Dvmstat.c338 int c, todo, verbose, wide; in main() local
346 reps = todo = verbose = wide = 0; in main()
355 todo |= POOLCACHESTAT; in main()
358 todo |= EVCNTSTAT; in main()
361 todo |= FORKSTAT; in main()
367 todo |= HASHSTAT; in main()
370 todo |= INTRSTAT; in main()
373 todo |= HISTLIST; in main()
376 todo |= HASHLIST; in main()
382 todo |= MEMSTAT; in main()
[all …]
/netbsd-src/external/mit/libuv/dist/src/
H A Didna.c120 unsigned todo; in uv__idna_toascii_label() local
125 todo = 0; in uv__idna_toascii_label()
139 todo++; in uv__idna_toascii_label()
143 if (todo > 0) { in uv__idna_toascii_label()
167 if (todo == 0) in uv__idna_toascii_label()
180 while (todo > 0) { in uv__idna_toascii_label()
260 todo--; in uv__idna_toascii_label()
/netbsd-src/sys/arch/sun3/sun3/
H A Dmachdep.c530 int psize, todo, chunk; in dumpsys() local
568 todo = dumpsize; /* pages */ in dumpsys()
623 if (chunk > todo) in dumpsys()
624 chunk = todo; in dumpsys()
626 if ((todo & 0xf) == 0) in dumpsys()
627 printf_nolog("\r%4d", todo); in dumpsys()
634 --todo; in dumpsys()
640 if ((todo & 0xf) == 0) in dumpsys()
641 printf_nolog("\r%4d", todo); in dumpsys()
651 } while (--todo > 0); in dumpsys()
/netbsd-src/usr.sbin/mdsetimage/
H A Dmdsetimage.c186 ssize_t todo; in main() local
203 todo = (left_to_copy > CHUNKSIZE) ? CHUNKSIZE : left_to_copy; in main()
204 if ((rv = read(rfd, buf, todo)) != todo) { in main()
210 if ((rv = write(wfd, buf, todo)) != todo) { in main()
216 left_to_copy -= todo; in main()
/netbsd-src/external/bsd/libbind/dist/irs/
H A Dirp.c525 int i, todo; in irs_irp_send_command() local
534 todo = strlen(buffer); in irs_irp_send_command()
536 if (todo > (int)sizeof(buffer) - 3) { in irs_irp_send_command()
541 todo = strlen(buffer); in irs_irp_send_command()
543 while (todo > 0) { in irs_irp_send_command()
544 i = write(pvt->fdCxn, buffer + pos, todo); in irs_irp_send_command()
548 fwrite(buffer + pos, sizeof (char), todo, stderr); in irs_irp_send_command()
556 todo -= i; in irs_irp_send_command()
/netbsd-src/external/bsd/kyua-cli/dist/cli/
H A Dcmd_db_migrate_test.cpp42 ATF_TEST_CASE_WITHOUT_HEAD(todo);
43 ATF_TEST_CASE_BODY(todo) in ATF_TEST_CASE_BODY() argument
50 ATF_ADD_TEST_CASE(tcs, todo); in ATF_INIT_TEST_CASES()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/bn/
H A Dbn_rand.c216 unsigned done, todo; in BN_generate_dsa_nonce() local
248 todo = num_k_bytes - done; in BN_generate_dsa_nonce()
249 if (todo > SHA512_DIGEST_LENGTH) in BN_generate_dsa_nonce()
250 todo = SHA512_DIGEST_LENGTH; in BN_generate_dsa_nonce()
251 memcpy(k_bytes + done, digest, todo); in BN_generate_dsa_nonce()
252 done += todo; in BN_generate_dsa_nonce()
/netbsd-src/external/ibm-public/postfix/dist/src/oqmgr/
H A Dqmgr_entry.c109 if ((entry = queue->todo.prev) != 0) { in qmgr_entry_select()
110 QMGR_LIST_UNLINK(queue->todo, QMGR_ENTRY *, entry); in qmgr_entry_select()
176 QMGR_LIST_APPEND(queue->todo, entry); in qmgr_entry_unselect()
230 QMGR_LIST_UNLINK(queue->todo, QMGR_ENTRY *, entry); in qmgr_entry_done()
272 if (queue->todo.next == 0 && queue->busy.next == 0) { in qmgr_entry_done()
325 QMGR_LIST_APPEND(queue->todo, entry); in qmgr_entry_create()
/netbsd-src/sys/arch/atari/stand/ahdilabel/
H A Dwritedtab.c45 int pid, i, j, todo; in ahdi_writedisktab() local
58 todo = ptable->nparts; in ahdi_writedisktab()
60 while (todo) { in ahdi_writedisktab()
93 todo--; in ahdi_writedisktab()
/netbsd-src/external/mpl/dhcp/dist/doc/devel/
H A Domapi.dox6 @todo: Description of OMAPI and dhcpctl
10 @todo: Essentially omapi.3
13 @todo: Essentially dhcpctl.3
/netbsd-src/sys/external/bsd/drm2/linux/
H A Dlinux_irq_work.c62 SIMPLEQ_HEAD(, irq_work) todo = SIMPLEQ_HEAD_INITIALIZER(todo); in irq_work_intr()
68 SIMPLEQ_CONCAT(&todo, &iwc->iwc_todo); in irq_work_intr()
72 SIMPLEQ_FOREACH_SAFE(iw, &todo, iw_entry, next) { in irq_work_intr()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dtree-ssa-sink.cc501 unsigned todo = 0; in sink_common_stores_to_bb() local
648 todo |= TODO_cleanup_cfg; in sink_common_stores_to_bb()
660 return todo; in sink_common_stores_to_bb()
673 unsigned todo = 0; in sink_code_in_bb() local
676 todo |= sink_common_stores_to_bb (bb); in sink_code_in_bb()
765 todo |= sink_code_in_bb (son); in sink_code_in_bb()
768 return todo; in sink_code_in_bb()
851 unsigned todo = unsplit_edges ? TODO_cleanup_cfg : 0; in execute() local
856 todo |= sink_code_in_bb (EXIT_BLOCK_PTR_FOR_FN (fun)); in execute()
863 return todo; in execute()

12345678910>>...12