/freebsd/sbin/ipf/libipf/ |
H A D | getnattype.c | 21 char *which; in getnattype() local 29 which = "MAP"; in getnattype() 35 which = "RDR"; in getnattype() 38 which = "RWR-MAP"; in getnattype() 41 which = "RWR-RDR"; in getnattype() 44 which = "BIMAP"; in getnattype() 47 which = "DIV-RDR"; in getnattype() 50 which = "DIV-MAP"; in getnattype() 53 which = "ENC-RDR"; in getnattype() 56 which = "ENC-MAP"; in getnattype() [all …]
|
/freebsd/usr.sbin/pw/ |
H A D | pw.c | 105 static void cmdhelp(int mode, int which); 110 int mode = -1, which = -1, tmp; in main() local 168 which = tmp; in main() 169 else if ((mode == -1 && which == -1) && in main() 172 which = tmp / M_NUM; in main() 175 cmdhelp(mode, which); in main() 176 else if (which != -1 && mode != -1) in main() 187 if (mode == -1 || which == -1) in main() 188 cmdhelp(mode, which); in main() 218 cmdhelp(int mode, int which) in cmdhelp() argument [all …]
|
/freebsd/crypto/openssh/regress/ |
H A D | key-options.sh | 31 which=$1 35 verbose "key option pty $which" 39 fail "key option failed $which" 44 *) fail "key option failed $which (pty $r)" ;; 49 which=$1 53 verbose "key option pty $which" 59 fail "key option failed $which (pty $r)" 62 /dev/*) fail "key option failed $which (pty $r)" ;; 107 which=$1 111 verbose "key option expiry-time $which" [all …]
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_rb.c | 267 RB_SET_POSITION(new_child->rb_nodes[which], which); in __archive_rb_tree_reparent_nodes() 279 unsigned int which; in __archive_rb_tree_insert_rebalance() local 288 which = (father == grandpa->rb_right); in __archive_rb_tree_insert_rebalance() 289 other = which ^ RB_DIR_OTHER; in __archive_rb_tree_insert_rebalance() 351 const unsigned int which = RB_POSITION(self); in __archive_rb_tree_prune_node() local 358 father->rb_nodes[which] = self->rb_left; in __archive_rb_tree_prune_node() 496 unsigned int which; in __archive_rb_tree_remove_node() local 538 which = RB_POSITION(self) ^ RB_DIR_OTHER; in __archive_rb_tree_remove_node() 553 while (RB_BLACK_P(parent->rb_nodes[which])) { in __archive_rb_tree_removal_rebalance() 554 unsigned int other = which ^ RB_DIR_OTHER; in __archive_rb_tree_removal_rebalance() [all …]
|
/freebsd/sys/sys/ |
H A D | resourcevar.h | 145 int kern_proc_setrlimit(struct thread *td, struct proc *p, u_int which, 150 rlim_t lim_cur(struct thread *td, int which); 151 #define lim_cur(td, which) ({ \ argument 154 int _which = (which); \ 155 if (__builtin_constant_p(which) && which != RLIMIT_DATA && \ 156 which != RLIMIT_STACK && which != RLIMIT_VMEM) { \ 164 rlim_t lim_cur_proc(struct proc *p, int which); 172 rlim_t lim_max(struct thread *td, int which); 173 rlim_t lim_max_proc(struct proc *p, int which); 174 void lim_rlimit(struct thread *td, int which, struct rlimit *rlp); [all …]
|
/freebsd/usr.bin/renice/ |
H A D | renice.c | 59 int errs = 0, prio = 0, who = 0, which = PRIO_PROCESS; in main() local 65 which = PRIO_PGRP; in main() 69 which = PRIO_USER; in main() 73 which = PRIO_PROCESS; in main() 96 if (which == PRIO_USER) { in main() 118 errs += donice(which, who, prio, incr); in main() 126 donice(int which, int who, int prio, bool incr) in donice() argument 131 oldprio = getpriority(which, who); in donice() 142 if (setpriority(which, who, prio) < 0) { in donice()
|
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | db_iterator.c | 125 if (which < dbdLAST) { in update_getenv() 139 my_vars[which].name = name; in update_getenv() 143 my_vars[which].value = value; in update_getenv() 158 (void) update_getenv(name, which); in cache_getenv() 159 if (which < dbdLAST) { in cache_getenv() 160 result = my_vars[which].value; in cache_getenv() 436 DBDIRS which; in _nc_db_iterator_leaks() local 442 for (which = 0; (int) which < dbdLAST; ++which) { in _nc_db_iterator_leaks() 443 my_vars[which].name = 0; in _nc_db_iterator_leaks() 444 FreeIfNeeded(my_vars[which].value); in _nc_db_iterator_leaks() [all …]
|
/freebsd/sys/compat/linux/ |
H A D | linux_time.c | 359 if (which < 0) { in linux_common_clock_gettime() 360 clockwhich = LINUX_CPUCLOCK_WHICH(which); in linux_common_clock_gettime() 361 pid = LINUX_CPUCLOCK_ID(which); in linux_common_clock_gettime() 402 if (which < 0) { in linux_common_clock_gettime() 403 clockwhich = LINUX_CPUCLOCK_WHICH(which); in linux_common_clock_gettime() 404 tid = LINUX_CPUCLOCK_ID(which); in linux_common_clock_gettime() 573 if (which < 0) { in linux_common_clock_getres() 576 tid = LINUX_CPUCLOCK_ID(which); in linux_common_clock_getres() 585 pid = LINUX_CPUCLOCK_ID(which); in linux_common_clock_getres() 604 clockwhich = LINUX_CPUCLOCK_WHICH(which); in linux_common_clock_getres() [all …]
|
/freebsd/contrib/ncurses/ |
H A D | mk-0th.awk | 63 if ( ( which == "ticlib" ) && ( subsets ~ /ticlib / ) ) { 65 } else if ( ( which == "termlib" || which == "ext_tinfo" ) && ( subsets ~ /[[:space:]]base/ ) ) { 83 which = libname; 91 which = $0; 92 sub(/^@[[:blank:]]+/, "", which); 93 sub(/[[:blank:]]+$/, "", which); 117 if (which ~ /port_/ )
|
/freebsd/bin/cpuset/ |
H A D | cpuset.c | 68 static cpuwhich_t which; variable 278 if (cpuset_getid(level, which, id, &setid)) in printsetid() 299 which = CPU_WHICH_PID; in main() 312 which = CPU_WHICH_DOMAIN; in main() 323 which = CPU_WHICH_JAIL; in main() 338 which = CPU_WHICH_PID; in main() 347 which = CPU_WHICH_CPUSET; in main() 352 which = CPU_WHICH_TID; in main() 357 which = CPU_WHICH_IRQ; in main() 439 which = CPU_WHICH_PID; in main() [all …]
|
/freebsd/contrib/unbound/contrib/ |
H A D | unbound_cache.sh | 26 BASENAME=`which basename` 27 CAT=`which cat` 28 CUT=`which cut` 29 ECHO=`which echo` 30 EXPR=`which expr` 31 GETOPT=`which getopt` 32 ID=`which id` 33 LS=`which ls`
|
H A D | create_unbound_ad_servers.sh | 15 CAT=`which cat` 16 ECHO=`which echo` 17 WGET=`which wget` 18 TR=`which tr`
|
/freebsd/contrib/dialog/ |
H A D | buildlist.c | 791 if (j != which) { in dlg_buildlist() 798 which = j; in dlg_buildlist() 811 if (which == 0) { in dlg_buildlist() 977 which); in dlg_buildlist() 981 which); in dlg_buildlist() 986 which), in dlg_buildlist() 987 which); in dlg_buildlist() 1029 which); in dlg_buildlist() 1049 which); in dlg_buildlist() 1054 which); in dlg_buildlist() [all …]
|
/freebsd/lib/libc/gen/ |
H A D | sched_getaffinity.c | 40 cpuwhich_t which; in sched_getaffinity() local 45 which = CPU_WHICH_TID; in sched_getaffinity() 47 which = CPU_WHICH_PID; in sched_getaffinity() 49 which = CPU_WHICH_TIDPID; in sched_getaffinity() 51 error = cpuset_getaffinity(CPU_LEVEL_WHICH, which, in sched_getaffinity()
|
H A D | sched_setaffinity.c | 42 cpuwhich_t which; in sched_setaffinity() local 49 which = CPU_WHICH_TID; in sched_setaffinity() 51 which = CPU_WHICH_PID; in sched_setaffinity() 53 which = CPU_WHICH_TIDPID; in sched_setaffinity() 73 error = cpuset_setaffinity(CPU_LEVEL_WHICH, which, in sched_setaffinity()
|
/freebsd/sys/kern/ |
H A D | sys_socket.c | 656 SOCK_BUF_LOCK(so, which); in soaio_process_job() 686 SOCK_BUF_LOCK(so, which); in soaio_process_job() 696 SOCK_BUF_LOCK(so, which); in soaio_process_sb() 760 sb_which which; in soo_aio_cancel() local 766 which = SO_RCV; in soo_aio_cancel() 770 which = SO_SND; in soo_aio_cancel() 773 SOCK_BUF_LOCK(so, which); in soo_aio_cancel() 792 sb_which which; in soo_aio_queue() local 805 which = SO_RCV; in soo_aio_queue() 810 which = SO_SND; in soo_aio_queue() [all …]
|
H A D | kern_resource.c | 82 int which; member 102 switch (which) { in kern_getpriority() 170 int which; member 190 switch (which) { in kern_setpriority() 538 u_int which; member 559 u_int which; member 592 u_int which; member 687 switch (which) { in kern_proc_setrlimit() 789 u_int which; member 1362 KASSERT(which >= 0 && which < RLIM_NLIMITS, in lim_rlimit() [all …]
|
H A D | kern_cpuset.c | 908 switch (which) { in cpuset_which() 1771 if (which != CPU_WHICH_TID && which != CPU_WHICH_PID && in cpuset_capmode_allowed() 1868 cpuwhich_t which; member 1903 cpuwhich_t which; member 1932 switch (which) { in kern_cpuset_getid() 1970 cpuwhich_t which; member 2003 switch (which) { in kern_cpuset_getaffinity() 2027 switch (which) { in kern_cpuset_getaffinity() 2117 cpuwhich_t which; member 2156 switch (which) { in kern_cpuset_setaffinity() [all …]
|
/freebsd/lib/libsysdecode/ |
H A D | linux.c | 135 sysdecode_linux_clockid(FILE *fp, clockid_t which) in sysdecode_linux_clockid() argument 141 if (which >= 0) { in sysdecode_linux_clockid() 142 str = lookup_value(clockids, which); in sysdecode_linux_clockid() 144 fprintf(fp, "UNKNOWN(%d)", which); in sysdecode_linux_clockid() 149 if ((which & LINUX_CLOCKFD_MASK) == LINUX_CLOCKFD_MASK) { in sysdecode_linux_clockid() 153 ci = LINUX_CPUCLOCK_WHICH(which); in sysdecode_linux_clockid() 154 if (LINUX_CPUCLOCK_PERTHREAD(which) == true) in sysdecode_linux_clockid() 165 fprintf(fp, "UNKNOWN(%d)", which); in sysdecode_linux_clockid() 169 pid = LINUX_CPUCLOCK_ID(which); in sysdecode_linux_clockid()
|
/freebsd/sys/security/audit/ |
H A D | audit_bsm_klib.c | 312 audit_msgsys_to_event(int which) in audit_msgsys_to_event() argument 315 if ((which >= 0) && (which < aue_msgsys_count)) in audit_msgsys_to_event() 316 return (aue_msgsys[which]); in audit_msgsys_to_event() 323 audit_semsys_to_event(int which) in audit_semsys_to_event() argument 326 if ((which >= 0) && (which < aue_semsys_count)) in audit_semsys_to_event() 327 return (aue_semsys[which]); in audit_semsys_to_event() 334 audit_shmsys_to_event(int which) in audit_shmsys_to_event() argument 337 if ((which >= 0) && (which < aue_shmsys_count)) in audit_shmsys_to_event() 338 return (aue_shmsys[which]); in audit_shmsys_to_event()
|
/freebsd/stand/libsa/ |
H A D | gpt.c | 52 gptupdate(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, in gptupdate() argument 73 BOOTPROG, which); in gptupdate() 85 printf("%s: unable to update %s GPT header\n", BOOTPROG, which); in gptupdate() 183 gptread_hdr(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, in gptread_hdr() argument 189 printf("%s: unable to read %s GPT header\n", BOOTPROG, which); in gptread_hdr() 197 printf("%s: invalid %s GPT header\n", BOOTPROG, which); in gptread_hdr() 205 which); in gptread_hdr() 264 BOOTPROG, which); in gptbootconv() 278 printf("%s: unable to update %s GPT header\n", BOOTPROG, which); in gptbootconv() 299 BOOTPROG, which); in gptread_table() [all …]
|
/freebsd/contrib/bsnmp/snmpd/ |
H A D | action.c | 257 switch (which) { in op_system_group() 281 switch (which) { in op_system_group() 302 switch (which) { in op_system_group() 326 switch (which) { in op_system_group() 367 switch (which) { in op_debug() 384 switch (which) { in op_debug() 408 switch (which) { in op_debug() 425 switch (which) { in op_debug() 846 switch (which) { in op_community() 1043 switch (which) { in op_modules() [all …]
|
/freebsd/sys/contrib/xen/arch-x86/ |
H A D | xen-x86_32.h | 116 #define __DECL_REG_LO8(which) union { \ argument 117 uint32_t e ## which ## x; \ 118 uint16_t which ## x; \ 120 uint8_t which ## l; \ 121 uint8_t which ## h; \ 130 #define __DECL_REG_LO8(which) uint32_t e ## which ## x argument
|
/freebsd/sys/netinet/ |
H A D | tcp_timer.c | 825 lgb->tlb_flex1 = (what << 8) | which; in tcp_bblog_timer() 866 tt_which which; in tcp_timer_enter() local 874 which = tcp_timer_next(tp, NULL); in tcp_timer_enter() 875 MPASS(which < TT_N); in tcp_timer_enter() 876 tp->t_timers[which] = SBT_MAX; in tcp_timer_enter() 877 tp->t_precisions[which] = 0; in tcp_timer_enter() 880 tp_valid = tcp_timersw[which](tp); in tcp_timer_enter() 916 &tp->t_timers[which], &tp->t_precisions[which]); in tcp_timer_activate() 919 tp->t_timers[which] = SBT_MAX; in tcp_timer_activate() 921 tcp_bblog_timer(tp, which, what, delta); in tcp_timer_activate() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/ |
H A D | mediatek,mt8365-pinctrl.yaml | 84 101: (R1, R0) = (0, 1) which means R1 disabled and R0 enabled. 85 102: (R1, R0) = (1, 0) which means R1 enabled and R0 disabled. 86 103: (R1, R0) = (1, 1) which means R1 enabled and R0 enabled. 98 101: (R1, R0) = (0, 1) which means R1 disabled and R0 enabled. 100 103: (R1, R0) = (1, 1) which means R1 enabled and R0 enabled. 156 1: (R1, R0) = (0, 1) which means R1 disabled and R0 enabled. 157 2: (R1, R0) = (1, 0) which means R1 enabled and R0 disabled. 158 3: (R1, R0) = (1, 1) which means R1 enabled and R0 enabled. 170 1: (R1, R0) = (0, 1) which means R1 disabled and R0 enabled. 171 2: (R1, R0) = (1, 0) which means R1 enabled and R0 disabled. [all …]
|