| /freebsd-14-stable/sbin/ipf/libipf/ |
| HD | getnattype.c | 24 char *which; in getnattype() local 32 which = "MAP"; in getnattype() 35 which = "MAP-BLOCK"; in getnattype() 38 which = "RDR"; in getnattype() 41 which = "RWR-MAP"; in getnattype() 44 which = "RWR-RDR"; in getnattype() 47 which = "BIMAP"; in getnattype() 50 which = "DIV-RDR"; in getnattype() 53 which = "DIV-MAP"; in getnattype() 56 which = "ENC-RDR"; in getnattype() [all …]
|
| /freebsd-14-stable/usr.sbin/pw/ |
| HD | pw.c | 105 static int which = -1; variable 108 static void cmdhelp(int mode, int which); 170 else if (which == -1 && (tmp = getindex(Which, argv[1])) != -1) in main() 171 which = tmp; in main() 172 else if ((mode == -1 && which == -1) && in main() 175 which = tmp / M_NUM; in main() 178 cmdhelp(mode, which); in main() 179 else if (which != -1 && mode != -1) in main() 190 if (mode == -1 || which == -1) in main() 191 cmdhelp(mode, which); in main() [all …]
|
| /freebsd-14-stable/crypto/openssh/regress/ |
| HD | 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-14-stable/contrib/libarchive/libarchive/ |
| HD | archive_rb.c | 232 struct archive_rb_node *old_father, const unsigned int which) in __archive_rb_tree_reparent_nodes() argument 234 const unsigned int other = which ^ RB_DIR_OTHER; in __archive_rb_tree_reparent_nodes() 236 struct archive_rb_node * const old_child = old_father->rb_nodes[which]; in __archive_rb_tree_reparent_nodes() 246 new_child->rb_nodes[which] = old_child->rb_nodes[other]; in __archive_rb_tree_reparent_nodes() 265 if (!RB_SENTINEL_P(new_child->rb_nodes[which])) { in __archive_rb_tree_reparent_nodes() 266 RB_SET_FATHER(new_child->rb_nodes[which], new_child); in __archive_rb_tree_reparent_nodes() 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() [all …]
|
| /freebsd-14-stable/sys/sys/ |
| HD | resourcevar.h | 149 int kern_proc_setrlimit(struct thread *td, struct proc *p, u_int which, 154 rlim_t lim_cur(struct thread *td, int which); 155 #define lim_cur(td, which) ({ \ argument 158 int _which = (which); \ 159 if (__builtin_constant_p(which) && which != RLIMIT_DATA && \ 160 which != RLIMIT_STACK && which != RLIMIT_VMEM) { \ 168 rlim_t lim_cur_proc(struct proc *p, int which); 176 rlim_t lim_max(struct thread *td, int which); 177 rlim_t lim_max_proc(struct proc *p, int which); 178 void lim_rlimit(struct thread *td, int which, struct rlimit *rlp); [all …]
|
| /freebsd-14-stable/contrib/ncurses/ncurses/tinfo/ |
| HD | db_iterator.c | 121 update_getenv(const char *name, DBDIRS which) in update_getenv() argument 125 if (which < dbdLAST) { in update_getenv() 127 char *cached_value = my_vars[which].value; in update_getenv() 139 my_vars[which].name = name; in update_getenv() 142 FreeIfNeeded(my_vars[which].value); in update_getenv() 143 my_vars[which].value = value; in update_getenv() 154 cache_getenv(const char *name, DBDIRS which) in cache_getenv() argument 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() [all …]
|
| /freebsd-14-stable/usr.bin/renice/ |
| HD | renice.c | 72 int errs = 0, prio = 0, who = 0, which = PRIO_PROCESS; in main() local 78 which = PRIO_PGRP; in main() 82 which = PRIO_USER; in main() 86 which = PRIO_PROCESS; in main() 109 if (which == PRIO_USER) { in main() 131 errs += donice(which, who, prio, incr); in main() 139 donice(int which, int who, int prio, bool incr) in donice() argument 144 oldprio = getpriority(which, who); in donice() 155 if (setpriority(which, who, prio) < 0) { in donice()
|
| /freebsd-14-stable/sys/compat/linux/ |
| HD | linux_time.c | 337 linux_common_clock_gettime(struct thread *td, clockid_t which, in linux_common_clock_gettime() argument 348 error = linux_to_native_clockid(&nwhich, which); in linux_common_clock_gettime() 351 "unsupported clock_gettime clockid %d", which); in linux_common_clock_gettime() 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() 464 error = linux_common_clock_gettime(td, args->which, &tp); in linux_clock_gettime() [all …]
|
| /freebsd-14-stable/contrib/ncurses/ |
| HD | 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-14-stable/contrib/unbound/contrib/ |
| HD | 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`
|
| HD | create_unbound_ad_servers.sh | 15 CAT=`which cat` 16 ECHO=`which echo` 17 WGET=`which wget` 18 TR=`which tr`
|
| /freebsd-14-stable/contrib/dialog/ |
| HD | buildlist.c | 741 int which = (items[cur_item].state != 0); in dlg_buildlist() local 742 MY_DATA *moi = data + which; in dlg_buildlist() 743 int at_top = index2row(&all, moi->top_index, which); in dlg_buildlist() 744 int at_end = index2row(&all, -1, which); in dlg_buildlist() 745 int at_bot = skip_rows(&all, at_top, all.use_height, which); in dlg_buildlist() 752 mySide(which))); in dlg_buildlist() 761 int cur_row = index2row(&all, cur_item, which); in dlg_buildlist() 762 cur_y = (data[which].box_y in dlg_buildlist() 767 cur_x = (data[which].box_x in dlg_buildlist() 791 if (j != which) { in dlg_buildlist() [all …]
|
| /freebsd-14-stable/sys/kern/ |
| HD | sys_socket.c | 607 soaio_process_job(struct socket *so, sb_which which, struct kaiocb *job) in soaio_process_job() argument 611 struct sockbuf *sb = sobuf(so, which); in soaio_process_job() 619 SOCK_BUF_UNLOCK(so, which); in soaio_process_job() 679 SOCK_BUF_LOCK(so, which); in soaio_process_job() 684 SOCK_BUF_UNLOCK(so, which); in soaio_process_job() 689 SOCK_BUF_UNLOCK(so, which); in soaio_process_job() 694 SOCK_BUF_LOCK(so, which); in soaio_process_job() 700 SOCK_BUF_UNLOCK(so, which); in soaio_process_job() 709 SOCK_BUF_LOCK(so, which); in soaio_process_job() 713 soaio_process_sb(struct socket *so, sb_which which) in soaio_process_sb() argument [all …]
|
| HD | kern_resource.c | 87 int which; member 95 return (kern_getpriority(td, uap->which, uap->who)); in sys_getpriority() 99 kern_getpriority(struct thread *td, int which, int who) in kern_getpriority() argument 107 switch (which) { in kern_getpriority() 175 int which; member 184 return (kern_setpriority(td, uap->which, uap->who, uap->prio)); in sys_setpriority() 188 kern_setpriority(struct thread *td, int which, int who, int prio) in kern_setpriority() argument 195 switch (which) { in kern_setpriority() 543 u_int which; member 558 error = kern_setrlimit(td, uap->which, &lim); in osetrlimit() [all …]
|
| HD | kern_cpuset.c | 897 cpuset_which(cpuwhich_t which, id_t id, struct proc **pp, struct thread **tdp, in cpuset_which() argument 908 switch (which) { in cpuset_which() 992 cpuset_which2(cpuwhich_t *which, id_t id, struct proc **pp, struct thread **tdp, in cpuset_which2() argument 996 if (*which == CPU_WHICH_TIDPID) { in cpuset_which2() 998 *which = CPU_WHICH_TID; in cpuset_which2() 1000 *which = CPU_WHICH_PID; in cpuset_which2() 1002 return (cpuset_which(*which, id, pp, tdp, setp)); in cpuset_which2() 1766 cpuset_capmode_allowed(struct thread *td, cpulevel_t level, cpuwhich_t which, in cpuset_capmode_allowed() argument 1771 if (which != CPU_WHICH_TID && which != CPU_WHICH_PID && in cpuset_capmode_allowed() 1772 which != CPU_WHICH_TIDPID) in cpuset_capmode_allowed() [all …]
|
| /freebsd-14-stable/lib/libc/gen/ |
| HD | 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()
|
| HD | 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-14-stable/lib/libsysdecode/ |
| HD | linux.c | 136 sysdecode_linux_clockid(FILE *fp, clockid_t which) in sysdecode_linux_clockid() argument 142 if (which >= 0) { in sysdecode_linux_clockid() 143 str = lookup_value(clockids, which); in sysdecode_linux_clockid() 145 fprintf(fp, "UNKNOWN(%d)", which); in sysdecode_linux_clockid() 150 if ((which & LINUX_CLOCKFD_MASK) == LINUX_CLOCKFD_MASK) { in sysdecode_linux_clockid() 154 ci = LINUX_CPUCLOCK_WHICH(which); in sysdecode_linux_clockid() 155 if (LINUX_CPUCLOCK_PERTHREAD(which) == true) in sysdecode_linux_clockid() 166 fprintf(fp, "UNKNOWN(%d)", which); in sysdecode_linux_clockid() 170 pid = LINUX_CPUCLOCK_ID(which); in sysdecode_linux_clockid()
|
| /freebsd-14-stable/sys/security/audit/ |
| HD | audit_bsm_klib.c | 313 audit_msgsys_to_event(int which) in audit_msgsys_to_event() argument 316 if ((which >= 0) && (which < aue_msgsys_count)) in audit_msgsys_to_event() 317 return (aue_msgsys[which]); in audit_msgsys_to_event() 324 audit_semsys_to_event(int which) in audit_semsys_to_event() argument 327 if ((which >= 0) && (which < aue_semsys_count)) in audit_semsys_to_event() 328 return (aue_semsys[which]); in audit_semsys_to_event() 335 audit_shmsys_to_event(int which) in audit_shmsys_to_event() argument 338 if ((which >= 0) && (which < aue_shmsys_count)) in audit_shmsys_to_event() 339 return (aue_shmsys[which]); in audit_shmsys_to_event()
|
| /freebsd-14-stable/stand/libsa/ |
| HD | 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() 232 gptbootconv(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, in gptbootconv() argument 264 BOOTPROG, which); in gptbootconv() 278 printf("%s: unable to update %s GPT header\n", BOOTPROG, which); in gptbootconv() [all …]
|
| /freebsd-14-stable/contrib/bsnmp/snmpd/ |
| HD | action.c | 246 asn_subid_t which = value->var.subs[sub - 1]; in op_system_group() local 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() 359 asn_subid_t which = value->var.subs[sub - 1]; in op_debug() local 367 switch (which) { in op_debug() 384 switch (which) { in op_debug() 408 switch (which) { in op_debug() 425 switch (which) { in op_debug() [all …]
|
| /freebsd-14-stable/sys/contrib/xen/arch-x86/ |
| HD | 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-14-stable/sys/netinet/ |
| HD | tcp_timer.c | 815 tcp_bblog_timer(struct tcpcb *tp, tt_which which, tt_what what, uint32_t ticks) in tcp_bblog_timer() argument 827 lgb->tlb_flex1 = (what << 8) | which; in tcp_bblog_timer() 868 tt_which which; in tcp_timer_enter() local 876 which = tcp_timer_next(tp, NULL); in tcp_timer_enter() 877 MPASS(which < TT_N); in tcp_timer_enter() 878 tp->t_timers[which] = SBT_MAX; in tcp_timer_enter() 879 tp->t_precisions[which] = 0; in tcp_timer_enter() 881 tcp_bblog_timer(tp, which, TT_PROCESSING, 0); in tcp_timer_enter() 882 tp_valid = tcp_timersw[which](tp); in tcp_timer_enter() 884 tcp_bblog_timer(tp, which, TT_PROCESSED, 0); in tcp_timer_enter() [all …]
|
| /freebsd-14-stable/sys/contrib/device-tree/Bindings/clock/ |
| HD | exynos5433-clock.txt | 10 which generates clocks for IMEM/FSYS/G3D/GSCL/HEVC/MSCL/G2D/MFC/PERIC/PERIS 13 which generates clocks for LLI (Low Latency Interface) IP. 15 which generates clocks for DRAM Memory Controller domain. 17 which generates clocks for UART/I2C/SPI/I2S/PCM/SPDIF/PWM/SLIMBUS IPs. 19 which generates clocks for PMU/TMU/MCT/WDT/RTC/SECKEY/TZPC IPs. 21 which generates clocks for USB/UFS/SDMMC/TSI/PDMA IPs. 23 which generates clocks for G2D/MDMA IPs. 25 which generates clocks for Display (DECON/HDMI/DSIM/MIXER) IPs. 27 which generates clocks for Cortex-A5/BUS/AUDIO clocks. 30 which generates global data buses clock and global peripheral buses clock. [all …]
|
| /freebsd-14-stable/share/examples/ipfilter/rules/ |
| HD | firewall | 8 rules which: 9 a) blocks all packets which might belong to an IP Spoofing attack; 11 c) blocks all packets which have a length which is too short for 17 Draw up a list of which services you want to allow users to use on the 36 * "ext-service" is the service to which you wish to connect or if it doesn't
|