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

1 2

  /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_time_50.c 296 syscallarg(int) which;
304 error = dogetitimer(p, SCARG(uap, which), &aitv);
316 syscallarg(int) which;
321 int which = SCARG(uap, which); local in function:compat_50_sys_setitimer
334 SCARG(&getargs, which) = which;
342 return dosetitimer(p, which, &aitv);
  /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...]
  /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_time.c 135 syscallarg(int) which;
141 int which = SCARG(uap, which); local in function:netbsd32___setitimer50
153 SCARG(&getargs, which) = which;
161 return dosetitimer(p, which, &aitv);
168 syscallarg(int) which;
176 error = dogetitimer(p, SCARG(uap, which), &aitv);
  /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);
  /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...]
  /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)
  /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;
  /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));
  /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);
  /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) {
  /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)
  /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)) {
  /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...]
  /src/lib/libc/net/
hesiod.c 38 * the BIND IRS library, which was in turn based on an earlier version
183 * name which is to be resolved.
304 * or ctx->rhs which need to be freed by the caller.
309 char *buf, *key, *data, *p, **which; local in function:read_config_file
363 which = (strcasecmp(key, "lhs") == 0)
365 *which = strdup(data);
366 if (!*which) {
448 * which follows.
  /src/sys/arch/macppc/dev/
battery.c 279 int which = edata->sensor; local in function:battery_refresh
283 switch (which) {
smartbat.c 258 int which = edata->sensor, present, ch; local in function:smartbat_refresh
266 switch (which) {
322 switch (which) {
361 int which = edata->sensor; local in function:smartbat_refresh_ac
364 switch (which) {
406 /* Now, buf[0] is the command number, which we already know.
  /src/sys/arch/sgimips/dev/
int.c 247 int which = (intptr_t)arg; local in function:int2_mappable_intr
252 mmask = bus_space_read_1(iot, ioh, INT2_MAP_MASK0 + (which << 2));
257 intnum = i + 16 + (which << 3);
530 * A master clock is wired to TIMER_2, which in turn clocks the two other
  /src/sys/external/bsd/drm2/dist/drm/i915/gt/
intel_engine_user.c 364 unsigned int which; local in function:intel_engines_has_context_isolation
366 which = 0;
369 which |= BIT(engine->uabi_class);
371 return which;
  /src/usr.bin/tr/
str.c 54 enum { STRING1, STRING2 } which; member in struct:str
81 s->which = whichstring == 2 ? STRING2 : STRING1;
355 if (s->which == STRING1) {
  /src/usr.sbin/puffs/mount_psshfs/
psshfs.c 377 int nretry, which, newfd, dummy; local in function:psshfs_notify
380 which = PSSHFD_META;
383 which = PSSHFD_DATA;
400 if ((newfd = pssh_connect(pu, which)) == -1)
423 pssh_connect(struct puffs_usermount *pu, int which)
433 if (which == PSSHFD_META) {
437 assert(which == PSSHFD_DATA);
476 err(1, "nonblocking descriptor %d", which);
  /src/sbin/fsck/
fsck.c 68 static enum { IN_LIST, NOT_IN_LIST } which = NOT_IN_LIST; variable in typeref:enum:__anon004455960103
411 return which == IN_LIST ? 1 : 0;
413 return which == IN_LIST ? 0 : 1;
485 which = NOT_IN_LIST;
488 which = IN_LIST;
  /src/usr.bin/rdist/
expand.c 54 int which; /* bit mask of types to expand */ variable in typeref:typename:int
112 which = wh;
164 if ((which & E_VARS) && (cp = strchr(s, '$')) != NULL) {
201 if ((which & ~E_VARS) == 0 || !strcmp(s, "{") || !strcmp(s, "{}")) {
237 if (!(which & E_SHELL)) {
238 if (which & E_TILDE)
276 if (which & E_TILDE)
322 if (which & E_TILDE)
512 if (which & E_TILDE)
  /src/bin/df/
df.c 301 static enum { IN_LIST, NOT_IN_LIST } which; variable in typeref:enum:__anonadc30f090103
313 return which == IN_LIST ? 1 : 0;
314 return which == IN_LIST ? 0 : 1;
333 which = NOT_IN_LIST;
335 which = IN_LIST;

Completed in 26 milliseconds

1 2