Home
last modified time | relevance | path

Searched refs:which (Results 1 – 25 of 3204) sorted by relevance

12345678910>>...129

/freebsd/sbin/ipf/libipf/
H A Dgetnattype.c21 char *which; in getnattype() local
29 which = "MAP"; in getnattype()
32 which = "MAP-BLOCK"; 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()
[all …]
/freebsd/usr.sbin/pw/
H A Dpw.c105 static int which = -1;
108 static void cmdhelp(int mode, int which); in main()
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()
110 int mode = -1, which = -1, tmp; main() local
218 cmdhelp(int mode,int which) cmdhelp() argument
[all...]
/freebsd/crypto/openssh/regress/
H A Dkey-options.sh31 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 Darchive_rb.c232 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/sys/sys/
H A Dresourcevar.h147 int kern_proc_setrlimit(struct thread *td, struct proc *p, u_int which,
152 rlim_t lim_cur(struct thread *td, int which);
153 #define lim_cur(td, which) ({ \ argument
156 int _which = (which); \
157 if (__builtin_constant_p(which) && which != RLIMIT_DATA && \
158 which != RLIMIT_STACK && which != RLIMIT_VMEM) { \
166 rlim_t lim_cur_proc(struct proc *p, int which);
174 rlim_t lim_max(struct thread *td, int which);
175 rlim_t lim_max_proc(struct proc *p, int which);
176 void lim_rlimit(struct thread *td, int which, struct rlimit *rlp);
[all …]
/freebsd/contrib/ncurses/ncurses/tinfo/
H A Ddb_iterator.c121 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/sys/compat/linux/
H A Dlinux_time.c337 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/usr.bin/renice/
H A Drenice.c59 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/bin/cpuset/
H A Dcpuset.c68 static cpuwhich_t which; variable
251 if (cpuset_getaffinity(level, which, id, sizeof(mask), &mask) != 0) in printaffinity()
253 printf("%s %jd%s mask: ", whichnames[which], (intmax_t)id, in printaffinity()
258 if (cpuset_getdomain(level, which, id, sizeof(domain), &domain, in printaffinity()
261 printf("%s %jd%s domain policy: %s mask: ", whichnames[which], in printaffinity()
278 if (cpuset_getid(level, which, id, &setid)) in printsetid()
280 printf("%s %jd%s id: %d\n", whichnames[which], (intmax_t)id, in printsetid()
299 which = CPU_WHICH_PID; in main()
312 which = CPU_WHICH_DOMAIN; in main()
323 which = CPU_WHICH_JAIL; in main()
[all …]
/freebsd/contrib/ncurses/
H A Dmk-0th.awk63 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/contrib/dialog/
H A Dbuildlist.c741 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/contrib/unbound/contrib/
H A Dunbound_cache.sh26 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 Dcreate_unbound_ad_servers.sh15 CAT=`which cat`
16 ECHO=`which echo`
17 WGET=`which wget`
18 TR=`which tr`
/freebsd/sys/kern/
H A Dsys_socket.c599 soaio_process_job(struct socket *so, sb_which which, struct kaiocb *job) in soaio_process_job() argument
603 struct sockbuf *sb = sobuf(so, which); in soaio_process_job()
611 SOCK_BUF_UNLOCK(so, which); in soaio_process_job()
671 SOCK_BUF_LOCK(so, which); in soaio_process_job()
676 SOCK_BUF_UNLOCK(so, which); in soaio_process_job()
681 SOCK_BUF_UNLOCK(so, which); in soaio_process_job()
686 SOCK_BUF_LOCK(so, which); in soaio_process_job()
692 SOCK_BUF_UNLOCK(so, which); in soaio_process_job()
701 SOCK_BUF_LOCK(so, which); in soaio_process_job()
705 soaio_process_sb(struct socket *so, sb_which which) in soaio_process_sb() argument
[all …]
H A Dkern_resource.c84 int which; member
92 return (kern_getpriority(td, uap->which, uap->who)); in sys_getpriority()
96 kern_getpriority(struct thread *td, int which, int who) in kern_getpriority() argument
104 switch (which) { in kern_getpriority()
172 int which; member
181 return (kern_setpriority(td, uap->which, uap->who, uap->prio)); in sys_setpriority()
185 kern_setpriority(struct thread *td, int which, int who, int prio) in kern_setpriority() argument
192 switch (which) { in kern_setpriority()
540 u_int which; member
555 error = kern_setrlimit(td, uap->which, &lim); in osetrlimit()
[all …]
H A Dkern_cpuset.c897 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/lib/libsysdecode/
H A Dlinux.c135 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/lib/libc/gen/
H A Dsched_getaffinity.c40 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 Dsched_setaffinity.c42 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/security/audit/
H A Daudit_bsm_klib.c312 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 Dgpt.c52 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/contrib/bsnmp/snmpd/
H A Daction.c246 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/sys/contrib/xen/arch-x86/
H A Dxen-x86_32.h116 #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 Dtcp_timer.c825 tcp_bblog_timer(struct tcpcb *tp, tt_which which, tt_what what, uint32_t ticks) in tcp_bblog_timer() argument
837 lgb->tlb_flex1 = (what << 8) | which; in tcp_bblog_timer()
878 tt_which which; in tcp_timer_enter() local
882 which = tcp_timer_next(tp, NULL); in tcp_timer_enter()
883 MPASS(which < TT_N); in tcp_timer_enter()
884 tp->t_timers[which] = SBT_MAX; in tcp_timer_enter()
885 tp->t_precisions[which] = 0; in tcp_timer_enter()
887 tcp_bblog_timer(tp, which, TT_PROCESSING, 0); in tcp_timer_enter()
888 if (tcp_timersw[which](tp)) { in tcp_timer_enter()
889 tcp_bblog_timer(tp, which, TT_PROCESSED, 0); in tcp_timer_enter()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/clock/
H A Dexynos5433-clock.txt10 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 …]

12345678910>>...129