/src/sys/compat/common/ |
kern_resource_43.c | 71 syscallarg(int) which; 75 int which = SCARG(uap, which); local in function:compat_43_sys_getrlimit 78 if ((u_int)which >= RLIM_NLIMITS) 81 olim.rlim_cur = p->p_rlimit[which].rlim_cur; 84 olim.rlim_max = p->p_rlimit[which].rlim_max; 95 syscallarg(int) which; 98 int which = SCARG(uap, which); local in function:compat_43_sys_setrlimit 108 return (dosetrlimit(l, l->l_proc, which, &lim)) [all...] |
kern_resource_43.c | 71 syscallarg(int) which; 75 int which = SCARG(uap, which); local in function:compat_43_sys_getrlimit 78 if ((u_int)which >= RLIM_NLIMITS) 81 olim.rlim_cur = p->p_rlimit[which].rlim_cur; 84 olim.rlim_max = p->p_rlimit[which].rlim_max; 95 syscallarg(int) which; 98 int which = SCARG(uap, which); local in function:compat_43_sys_setrlimit 108 return (dosetrlimit(l, l->l_proc, which, &lim)) [all...] |
/src/sys/compat/linux32/common/ |
linux32_resource.c | 80 syscallarg(int) which; 84 int which; local in function:linux32_sys_getrlimit 86 which = linux_to_bsd_limit(SCARG(uap, which)); 87 if (which < 0) 88 return -which; 91 bsd_to_linux_rlimit(&orl, &l->l_proc->p_rlimit[which]); 100 syscallarg(int) which; 106 int which; local in function:linux32_sys_setrlimit 111 which = linux_to_bsd_limit(SCARG(uap, which)) 137 int which; local in function:linux32_sys_prlimit64 [all...] |
linux32_resource.c | 80 syscallarg(int) which; 84 int which; local in function:linux32_sys_getrlimit 86 which = linux_to_bsd_limit(SCARG(uap, which)); 87 if (which < 0) 88 return -which; 91 bsd_to_linux_rlimit(&orl, &l->l_proc->p_rlimit[which]); 100 syscallarg(int) which; 106 int which; local in function:linux32_sys_setrlimit 111 which = linux_to_bsd_limit(SCARG(uap, which)) 137 int which; local in function:linux32_sys_prlimit64 [all...] |
/src/sys/compat/netbsd32/ |
netbsd32_rlimit.c | 49 fixlimit(int which, struct rlimit *alim) 51 switch (which) { 74 syscallarg(int) which; 77 int which = SCARG(uap, which); local in function:netbsd32_getrlimit 80 if ((u_int)which >= RLIM_NLIMITS) 83 alim = l->l_proc->p_rlimit[which]; 85 fixlimit(which, &alim); 95 syscallarg(int) which; 98 int which = SCARG(uap, which) local in function:netbsd32_setrlimit [all...] |
netbsd32_rlimit.c | 49 fixlimit(int which, struct rlimit *alim) 51 switch (which) { 74 syscallarg(int) which; 77 int which = SCARG(uap, which); local in function:netbsd32_getrlimit 80 if ((u_int)which >= RLIM_NLIMITS) 83 alim = l->l_proc->p_rlimit[which]; 85 fixlimit(which, &alim); 95 syscallarg(int) which; 98 int which = SCARG(uap, which) local in function:netbsd32_setrlimit [all...] |
/src/tests/lib/libpthread/ |
t_barrier.c | 52 int which = (int)(long)arg; local in function:threadfunc 55 printf("thread %d entering barrier\n", which); 57 printf("thread %d leaving barrier -> %d\n", which, rv);
|
t_barrier.c | 52 int which = (int)(long)arg; local in function:threadfunc 55 printf("thread %d entering barrier\n", which); 57 printf("thread %d leaving barrier -> %d\n", which, rv);
|
/src/usr.bin/renice/ |
renice.c | 60 * or groups of processes which are already 66 int which = PRIO_PROCESS; local in function:main 84 which = PRIO_PGRP; 88 which = PRIO_USER; 92 which = PRIO_PROCESS; 95 if (which == PRIO_USER) { 117 errs += donice(which, who, prio, incr); 145 donice(int which, id_t who, int prio, int incr) 150 if ((oldprio = getpriority(which, who)) == -1 && errno != 0) { 163 if (setpriority(which, who, prio) == -1) [all...] |
renice.c | 60 * or groups of processes which are already 66 int which = PRIO_PROCESS; local in function:main 84 which = PRIO_PGRP; 88 which = PRIO_USER; 92 which = PRIO_PROCESS; 95 if (which == PRIO_USER) { 117 errs += donice(which, who, prio, incr); 145 donice(int which, id_t who, int prio, int incr) 150 if ((oldprio = getpriority(which, who)) == -1 && errno != 0) { 163 if (setpriority(which, who, prio) == -1) [all...] |
/src/usr.bin/whereis/ |
whereis.c | 66 int which = strcmp(getprogname(), "which") == 0; local in function:main 67 int useenvpath = which, found = 0; 80 which = 0; 124 if (which) 149 if (which)
|
whereis.c | 66 int which = strcmp(getprogname(), "which") == 0; local in function:main 67 int useenvpath = which, found = 0; 80 which = 0; 124 if (which) 149 if (which)
|
/src/sys/arch/x68k/dev/ |
scsirom.c | 77 int which; local in function:scsirom_find 81 which = INTERNAL; 83 which = EXTERNAL; 98 if (memcmp(buf, scsirom_descr[which].id, 6) == 0) 99 r = which;
|
scsirom.c | 77 int which; local in function:scsirom_find 81 which = INTERNAL; 83 which = EXTERNAL; 98 if (memcmp(buf, scsirom_descr[which].id, 6) == 0) 99 r = which;
|
/src/sys/kern/ |
subr_exec_fd.c | 90 char closed[CHECK_UPTO * 3 + 1], which[3 + 1]; local in function:fd_checkstd 102 snprintf(which, sizeof(which), ",%d", i); 103 strlcat(closed, which, sizeof(closed));
|
subr_exec_fd.c | 90 char closed[CHECK_UPTO * 3 + 1], which[3 + 1]; local in function:fd_checkstd 102 snprintf(which, sizeof(which), ",%d", i); 103 strlcat(closed, which, sizeof(closed));
|
/src/usr.sbin/sysinst/ |
txtwalk.c | 104 size_t which; /* Which pattern we are using */ local in function:match 109 for (which = 0; which < numthese; which++) { 110 patlen = strlen(these[which].head); 113 if (strncmp(these[which].head, line, patlen) == 0) { 114 error = process(&these[which], line);
|
txtwalk.c | 104 size_t which; /* Which pattern we are using */ local in function:match 109 for (which = 0; which < numthese; which++) { 110 patlen = strlen(these[which].head); 113 if (strncmp(these[which].head, line, patlen) == 0) { 114 error = process(&these[which], line);
|
/src/bin/ksh/ |
c_ulimit.c | 56 enum { RLIMIT, ULIMIT } which; member in struct:c_ulimit::limits 203 if (l->which == RLIMIT) { 236 if (l->which == RLIMIT) {
|
c_ulimit.c | 56 enum { RLIMIT, ULIMIT } which; member in struct:c_ulimit::limits 203 if (l->which == RLIMIT) { 236 if (l->which == RLIMIT) {
|
/src/sys/arch/mac68k/obio/ |
if_mc_obio.c | 266 u_int32_t bufsleft, which; local in function:mc_dmaintr 273 while ((which = psc_reg4(0x804)) != psc_reg4(0x804)) 275 if ((which & 0x60000000) == 0)
|
if_mc_obio.c | 266 u_int32_t bufsleft, which; local in function:mc_dmaintr 273 while ((which = psc_reg4(0x804)) != psc_reg4(0x804)) 275 if ((which & 0x60000000) == 0)
|
/src/sys/net/npf/ |
npf_alg_icmp.c | 120 * ID or TCP/UDP ports of the original packet, which is embedded. 317 * which is embedded in ICMP packet. Note: backwards stream only. 322 const unsigned which = NPF_SRC; local in function:npfa_icmp_nat 395 cksum = npf_addr_cksum(cksum, enpc.npc_alen, enpc.npc_ips[which], addr); 411 if (npf_napt_rwr(&enpc, which, addr, port)) {
|
npf_alg_icmp.c | 120 * ID or TCP/UDP ports of the original packet, which is embedded. 317 * which is embedded in ICMP packet. Note: backwards stream only. 322 const unsigned which = NPF_SRC; local in function:npfa_icmp_nat 395 cksum = npf_addr_cksum(cksum, enpc.npc_alen, enpc.npc_ips[which], addr); 411 if (npf_napt_rwr(&enpc, which, addr, port)) {
|
/src/common/lib/libc/gen/ |
rb.c | 321 * Swap the location and colors of 'self' and its child @ which. The child 329 struct rb_node *old_father, const unsigned int which) 331 const unsigned int other = which ^ RB_DIR_OTHER; 333 struct rb_node * const old_child = old_father->rb_nodes[which]; 337 KASSERT(which == RB_DIR_LEFT || which == RB_DIR_RIGHT); 351 new_child->rb_nodes[which] = old_child->rb_nodes[other]; 380 if (!RB_SENTINEL_P(new_child->rb_nodes[which])) { 381 RB_SET_FATHER(new_child->rb_nodes[which], new_child); 382 RB_SET_POSITION(new_child->rb_nodes[which], which) 397 unsigned int which; local in function:rb_tree_insert_rebalance 500 const unsigned int which = RB_POSITION(self); local in function:rb_tree_prune_node 752 unsigned int which; local in function:rb_tree_remove_node 1187 const unsigned int which = RB_POSITION(self); local in function:rb_tree_check_node [all...] |