HomeSort by: relevance | last modified time | path
    Searched defs:which (Results 1 - 25 of 136) sorted by relevancy

1 2 3 4 5 6

  /src/sys/compat/common/
kern_resource_43.c 71 syscallarg(int) which;
75 int which = SCARG(uap, which); local
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
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
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
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
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
111 which = linux_to_bsd_limit(SCARG(uap, which))
137 int which; local
    [all...]
linux32_resource.c 80 syscallarg(int) which;
84 int which; local
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
111 which = linux_to_bsd_limit(SCARG(uap, which))
137 int which; local
    [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
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
    [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
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
    [all...]
  /src/tests/lib/libpthread/
t_barrier.c 52 int which = (int)(long)arg; local
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
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
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
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
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
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
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
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 92 char closed[CHECK_UPTO * 3 + 1], which[3 + 1]; local
104 snprintf(which, sizeof(which), ",%d", i);
105 strlcat(closed, which, sizeof(closed));
subr_exec_fd.c 92 char closed[CHECK_UPTO * 3 + 1], which[3 + 1]; local
104 snprintf(which, sizeof(which), ",%d", i);
105 strlcat(closed, which, sizeof(closed));
  /src/usr.sbin/sysinst/
txtwalk.c 104 size_t which; /* Which pattern we are using */ local
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
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:limits
203 if (l->which == RLIMIT) {
236 if (l->which == RLIMIT) {
c_ulimit.c 56 enum { RLIMIT, ULIMIT } which; member in struct: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
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
273 while ((which = psc_reg4(0x804)) != psc_reg4(0x804))
275 if ((which & 0x60000000) == 0)
  /src/tests/kernel/kqueue/
t_timer.c 310 do_test_timer_units(const char *which, uint32_t fflag, int64_t data)
327 "units '%s' failed", which); local
t_timer.c 310 do_test_timer_units(const char *which, uint32_t fflag, int64_t data)
327 "units '%s' failed", which); local
  /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
395 cksum = npf_addr_cksum(cksum, enpc.npc_alen, enpc.npc_ips[which], addr);
411 if (npf_napt_rwr(&enpc, which, addr, port)) {

Completed in 46 milliseconds

1 2 3 4 5 6