which 82 compat/common/kern_ipc_10.c switch (SCARG(uap, which)) { which 138 compat/common/kern_ipc_10.c switch (SCARG(uap, which)) { which 203 compat/common/kern_ipc_10.c switch (SCARG(uap, which)) { which 66 compat/common/kern_resource_43.c if (SCARG(uap, which) < 0 || SCARG(uap, which) >= RLIM_NLIMITS) which 68 compat/common/kern_resource_43.c olim.rlim_cur = p->p_rlimit[SCARG(uap, which)].rlim_cur; which 71 compat/common/kern_resource_43.c olim.rlim_max = p->p_rlimit[SCARG(uap, which)].rlim_max; which 99 compat/common/kern_resource_43.c return (dosetrlimit(p, SCARG(uap, which), &lim)); which 272 compat/hpux/hppa/hpux_syscallargs.h syscallarg(u_int) which; which 277 compat/hpux/hppa/hpux_syscallargs.h syscallarg(u_int) which; which 1001 compat/hpux/hpux_compat.c if (SCARG(uap, which) > HPUXRLIMIT_NOFILE) which 1003 compat/hpux/hpux_compat.c if (SCARG(uap, which) == HPUXRLIMIT_NOFILE) which 1004 compat/hpux/hpux_compat.c SCARG(uap, which) = RLIMIT_NOFILE; which 1006 compat/hpux/hpux_compat.c SCARG(&ap, which) = SCARG(uap, which); which 1021 compat/hpux/hpux_compat.c if (SCARG(uap, which) > HPUXRLIMIT_NOFILE) which 1023 compat/hpux/hpux_compat.c if (SCARG(uap, which) == HPUXRLIMIT_NOFILE) which 1024 compat/hpux/hpux_compat.c SCARG(uap, which) = RLIMIT_NOFILE; which 1026 compat/hpux/hpux_compat.c SCARG(&ap, which) = SCARG(uap, which); which 291 compat/hpux/m68k/hpux_syscallargs.h syscallarg(u_int) which; which 296 compat/hpux/m68k/hpux_syscallargs.h syscallarg(u_int) which; which 145 compat/ibcs2/ibcs2_ipc.c switch (SCARG(uap, which)) { which 147 compat/ibcs2/ibcs2_ipc.c SCARG(uap, which) = 1; which 154 compat/ibcs2/ibcs2_ipc.c SCARG(&margs, which) = 0; which 178 compat/ibcs2/ibcs2_ipc.c SCARG(uap, which) = 3; which 181 compat/ibcs2/ibcs2_ipc.c SCARG(uap, which) = 2; which 283 compat/ibcs2/ibcs2_ipc.c switch (SCARG(uap, which)) { which 406 compat/ibcs2/ibcs2_ipc.c switch (SCARG(uap, which)) { which 132 compat/ibcs2/ibcs2_misc.c SCARG(&sra, which) = RLIMIT_FSIZE; which 710 compat/ibcs2/ibcs2_misc.c SCARG(&ga, which) = RLIMIT_NPROC; which 730 compat/ibcs2/ibcs2_misc.c SCARG(&ga, which) = RLIMIT_NOFILE; which 796 compat/ibcs2/ibcs2_misc.c SCARG(&sa, which) = ITIMER_REAL; which 957 compat/ibcs2/ibcs2_misc.c SCARG(&sa, which) = PRIO_PROCESS; which 176 compat/ibcs2/ibcs2_syscallargs.h syscallarg(int) which; which 190 compat/ibcs2/ibcs2_syscallargs.h syscallarg(int) which; which 197 compat/ibcs2/ibcs2_syscallargs.h syscallarg(int) which; which 1406 compat/linux/linux_misc.c SCARG(&bsa, which) = PRIO_PROCESS; which 63 compat/linux/linux_resource.c linux_to_bsd_rlimit(which) which 64 compat/linux/linux_resource.c u_int which; which 66 compat/linux/linux_resource.c if (which >= LINUX_RLIM_NLIMITS) which 68 compat/linux/linux_resource.c return (linux_to_bsd_rlimit_map[which]); which 82 compat/linux/linux_resource.c SCARG(uap, which) = linux_to_bsd_rlimit(SCARG(uap, which)); which 83 compat/linux/linux_resource.c if (SCARG(uap, which) == RLIM_NLIMITS) which 99 compat/linux/linux_resource.c u_int which; which 102 compat/linux/linux_resource.c which = linux_to_bsd_rlimit(SCARG(uap, which)); which 103 compat/linux/linux_resource.c if (which == RLIM_NLIMITS) which 106 compat/linux/linux_resource.c rlim.rlim_cur = MIN(p->p_rlimit[which].rlim_cur, max); which 107 compat/linux/linux_resource.c rlim.rlim_max = MIN(p->p_rlimit[which].rlim_max, max); which 199 compat/linux/linux_syscallargs.h syscallarg(u_int) which; which 204 compat/linux/linux_syscallargs.h syscallarg(u_int) which; which 491 compat/linux/linux_syscallargs.h syscallarg(u_int) which; which 55 compat/osf1/osf1_resource.c switch (SCARG(uap, which)) { which 57 compat/osf1/osf1_resource.c SCARG(&a, which) = RLIMIT_CPU; which 60 compat/osf1/osf1_resource.c SCARG(&a, which) = RLIMIT_FSIZE; which 63 compat/osf1/osf1_resource.c SCARG(&a, which) = RLIMIT_DATA; which 66 compat/osf1/osf1_resource.c SCARG(&a, which) = RLIMIT_STACK; which 69 compat/osf1/osf1_resource.c SCARG(&a, which) = RLIMIT_CORE; which 72 compat/osf1/osf1_resource.c SCARG(&a, which) = RLIMIT_RSS; which 75 compat/osf1/osf1_resource.c SCARG(&a, which) = RLIMIT_NOFILE; which 140 compat/osf1/osf1_resource.c switch (SCARG(uap, which)) { which 142 compat/osf1/osf1_resource.c SCARG(&a, which) = RLIMIT_CPU; which 145 compat/osf1/osf1_resource.c SCARG(&a, which) = RLIMIT_FSIZE; which 148 compat/osf1/osf1_resource.c SCARG(&a, which) = RLIMIT_DATA; which 151 compat/osf1/osf1_resource.c SCARG(&a, which) = RLIMIT_STACK; which 154 compat/osf1/osf1_resource.c SCARG(&a, which) = RLIMIT_CORE; which 157 compat/osf1/osf1_resource.c SCARG(&a, which) = RLIMIT_RSS; which 160 compat/osf1/osf1_resource.c SCARG(&a, which) = RLIMIT_NOFILE; which 152 compat/osf1/osf1_syscallargs.h syscallarg(u_int) which; which 245 compat/osf1/osf1_syscallargs.h syscallarg(u_int) which; which 250 compat/osf1/osf1_syscallargs.h syscallarg(u_int) which; which 113 compat/osf1/osf1_time.c switch (SCARG(uap, which)) { which 115 compat/osf1/osf1_time.c SCARG(&a, which) = ITIMER_REAL; which 119 compat/osf1/osf1_time.c SCARG(&a, which) = ITIMER_VIRTUAL; which 123 compat/osf1/osf1_time.c SCARG(&a, which) = ITIMER_PROF; which 965 compat/sunos/sunos_misc.c if (SCARG(uap, which) >= SUNOS_RLIM_NLIMITS) which 968 compat/sunos/sunos_misc.c if (SCARG(uap, which) == SUNOS_RLIMIT_NOFILE) which 969 compat/sunos/sunos_misc.c SCARG(uap, which) = RLIMIT_NOFILE; which 982 compat/sunos/sunos_misc.c if (SCARG(uap, which) >= SUNOS_RLIM_NLIMITS) which 985 compat/sunos/sunos_misc.c if (SCARG(uap, which) == SUNOS_RLIMIT_NOFILE) which 986 compat/sunos/sunos_misc.c SCARG(uap, which) = RLIMIT_NOFILE; which 149 compat/sunos/sunos_syscallargs.h syscallarg(u_int) which; which 154 compat/sunos/sunos_syscallargs.h syscallarg(u_int) which; which 619 compat/svr4/svr4_misc.c if (SCARG(uap, which) >= SVR4_RLIM_NLIMITS) which 622 compat/svr4/svr4_misc.c if (SCARG(uap, which) == SVR4_RLIMIT_NOFILE) which 623 compat/svr4/svr4_misc.c SCARG(uap, which) = RLIMIT_NOFILE; which 624 compat/svr4/svr4_misc.c if (SCARG(uap, which) == SVR4_RLIMIT_VMEM) which 625 compat/svr4/svr4_misc.c SCARG(uap, which) = RLIMIT_RSS; which 627 compat/svr4/svr4_misc.c SCARG(&ap, which) = SCARG(uap, which); which 642 compat/svr4/svr4_misc.c if (SCARG(uap, which) >= SVR4_RLIM_NLIMITS) which 645 compat/svr4/svr4_misc.c if (SCARG(uap, which) == SVR4_RLIMIT_NOFILE) which 646 compat/svr4/svr4_misc.c SCARG(uap, which) = RLIMIT_NOFILE; which 647 compat/svr4/svr4_misc.c if (SCARG(uap, which) == SVR4_RLIMIT_VMEM) which 648 compat/svr4/svr4_misc.c SCARG(uap, which) = RLIMIT_RSS; which 650 compat/svr4/svr4_misc.c SCARG(&ap, which) = SCARG(uap, which); which 789 compat/svr4/svr4_misc.c SCARG(&srl, which) = RLIMIT_FSIZE; which 1298 compat/svr4/svr4_misc.c SCARG(&sa, which) = ITIMER_REAL; which 1410 compat/svr4/svr4_misc.c SCARG(&ap, which) = PRIO_PROCESS; which 292 compat/svr4/svr4_syscallargs.h syscallarg(int) which; which 297 compat/svr4/svr4_syscallargs.h syscallarg(int) which; which 220 dev/i2c/lm75.c lmtemp_temp_read(struct lmtemp_softc *sc, uint8_t which, int *valp) which 225 dev/i2c/lm75.c cmd = which; which 345 dev/ic/bt485.c v = cursorp->which; which 432 dev/ic/bt485.c cursorp->which = WSDISPLAY_CURSOR_DOALL; which 4988 dev/ic/rtw.c #define EXTRACT_NIBBLE(d, which) (((d) >> (4 * (which))) & 0xf) which 723 dev/isa/sbdsp.c sbdsp_set_ifilter(addr, which) which 725 dev/isa/sbdsp.c int which; which 731 dev/isa/sbdsp.c switch (which) { which 193 dev/pci/eap.c void eap1371_set_dac_rate(struct eap_softc *sc, int rate, int which); which 510 dev/pci/eap.c eap1371_set_dac_rate(struct eap_softc *sc, int rate, int which) which 512 dev/pci/eap.c int dac = which == 1 ? ESRC_DAC1 : ESRC_DAC2; which 528 dev/pci/eap.c r |= (which == 1) ? E1371_SRC_DISP1 : E1371_SRC_DISP2; which 535 dev/pci/eap.c r &= ~(which == 1 ? E1371_SRC_DISP1 : E1371_SRC_DISP2); which 2089 dev/pci/if_wpi.c mrr.which = htole32(WPI_MRR_CTL); which 2098 dev/pci/if_wpi.c mrr.which = htole32(WPI_MRR_DATA); which 2110 dev/pci/if_wpi.c wpi_set_led(struct wpi_softc *sc, uint8_t which, uint8_t off, uint8_t on) which 2114 dev/pci/if_wpi.c led.which = which; which 419 dev/pci/if_wpireg.h uint32_t which; which 440 dev/pci/if_wpireg.h uint8_t which; which 881 dev/pci/tga.c v = cursorp->which; which 934 dev/pci/tga.c cursorp->which = WSDISPLAY_CURSOR_DOALL & which 312 dev/sbus/cgsix.c if (curs->which & WSDISPLAY_CURSOR_DOCUR) which 314 dev/sbus/cgsix.c if (curs->which & WSDISPLAY_CURSOR_DOPOS) { which 318 dev/sbus/cgsix.c if (curs->which & WSDISPLAY_CURSOR_DOHOT) { which 322 dev/sbus/cgsix.c if (curs->which & WSDISPLAY_CURSOR_DOCMAP) { which 341 dev/sbus/cgsix.c if (curs->which & WSDISPLAY_CURSOR_DOSHAPE) { which 393 dev/sbus/cgsix.c if (curs->which & WSDISPLAY_CURSOR_DOCMAP) { which 407 dev/sbus/cgsix.c if (curs->which & WSDISPLAY_CURSOR_DOSHAPE) { which 425 dev/sbus/cgsix.c if (curs->which & WSDISPLAY_CURSOR_DOCUR) which 427 dev/sbus/cgsix.c if (curs->which & WSDISPLAY_CURSOR_DOPOS) { which 431 dev/sbus/cgsix.c if (curs->which & WSDISPLAY_CURSOR_DOHOT) { which 435 dev/sbus/cgsix.c if (curs->which & WSDISPLAY_CURSOR_DOCMAP) { which 439 dev/sbus/cgsix.c if (curs->which & WSDISPLAY_CURSOR_DOSHAPE) { which 446 dev/sbus/cgsix.c cgsix_updatecursor(sc, curs->which); which 453 dev/sbus/cgsix.c cgsix_updatecursor(struct cgsix_softc *sc, u_int which) which 455 dev/sbus/cgsix.c if (which & WSDISPLAY_CURSOR_DOCMAP) { which 473 dev/sbus/cgsix.c if (which & (WSDISPLAY_CURSOR_DOPOS | WSDISPLAY_CURSOR_DOHOT)) { which 482 dev/sbus/cgsix.c if (which & WSDISPLAY_CURSOR_DOCUR) { which 874 dev/usb/if_uath.c xled.which = htobe32(0); which 904 dev/usb/if_uath.c xled.which = htobe32(1); which 1824 dev/usb/if_uath.c uath_set_led(struct uath_softc *sc, int which, int on) which 1828 dev/usb/if_uath.c led.which = htobe32(which); which 1832 dev/usb/if_uath.c (which == UATH_LED_LINK) ? "link" : "activity", which 147 dev/usb/if_uathreg.h uint32_t which; which 158 dev/usb/if_uathreg.h uint32_t which; which 1681 dev/usb/if_zyd.c zyd_set_led(struct zyd_softc *sc, int which, int on) which 1686 dev/usb/if_zyd.c tmp &= ~which; which 1688 dev/usb/if_zyd.c tmp |= which; which 2212 dev/usb/uaudio.c uaudio_get(struct uaudio_softc *sc, int which, int type, int wValue, which 2224 dev/usb/uaudio.c req.bRequest = which; which 2230 dev/usb/uaudio.c type, which, wValue, wIndex, len)); which 2252 dev/usb/uaudio.c uaudio_set(struct uaudio_softc *sc, int which, int type, int wValue, which 2263 dev/usb/uaudio.c req.bRequest = which; which 2280 dev/usb/uaudio.c type, which, wValue, wIndex, len, val & 0xffff)); which 2334 dev/usb/uaudio.c uaudio_ctl_get(struct uaudio_softc *sc, int which, struct mixerctl *mc, which 2339 dev/usb/uaudio.c DPRINTFN(5,("uaudio_ctl_get: which=%d chan=%d\n", which, chan)); which 2340 dev/usb/uaudio.c val = uaudio_get(sc, which, UT_READ_CLASS_INTERFACE, mc->wValue[chan], which 2346 dev/usb/uaudio.c uaudio_ctl_set(struct uaudio_softc *sc, int which, struct mixerctl *mc, which 2350 dev/usb/uaudio.c uaudio_set(sc, which, UT_WRITE_CLASS_INTERFACE, mc->wValue[chan], which 128 dev/wscons/wsconsio.h u_int which; /* values to get/set */ which 147 dev/wscons/wsconsio.h u_int which; /* values to get/set */ which 333 dev/wscons/wsconsio.h u_int which; /* values to get/set */ which 491 dev/wscons/wsdisplay_compat_usl.c bd.which = WSKBD_BELL_DOPERIOD; which 495 dev/wscons/wsdisplay_compat_usl.c bd.which = 0; which 497 dev/wscons/wsdisplay_compat_usl.c bd.which |= WSKBD_BELL_DOPITCH; which 501 dev/wscons/wsdisplay_compat_usl.c bd.which = 0; /* default */ which 996 dev/wscons/wskbd.c (dstp)->pitch = ((srcp)->which & WSKBD_BELL_DOPITCH) ? \ which 998 dev/wscons/wskbd.c (dstp)->period = ((srcp)->which & WSKBD_BELL_DOPERIOD) ? \ which 1000 dev/wscons/wskbd.c (dstp)->volume = ((srcp)->which & WSKBD_BELL_DOVOLUME) ? \ which 1002 dev/wscons/wskbd.c (dstp)->which = WSKBD_BELL_DOALL; \ which 1044 dev/wscons/wskbd.c (dstp)->del1 = ((srcp)->which & WSKBD_KEYREPEAT_DODEL1) ? \ which 1046 dev/wscons/wskbd.c (dstp)->delN = ((srcp)->which & WSKBD_KEYREPEAT_DODELN) ? \ which 1048 dev/wscons/wskbd.c (dstp)->which = WSKBD_KEYREPEAT_DOALL; \ which 74 kern/kern_resource.c switch (SCARG(uap, which)) { which 130 kern/kern_resource.c switch (SCARG(uap, which)) { which 214 kern/kern_resource.c return (dosetrlimit(p, SCARG(uap, which), &alim)); which 218 kern/kern_resource.c dosetrlimit(struct proc *p, u_int which, struct rlimit *limp) which 224 kern/kern_resource.c if (which >= RLIM_NLIMITS) which 227 kern/kern_resource.c alimp = &p->p_rlimit[which]; which 236 kern/kern_resource.c alimp = &p->p_rlimit[which]; which 239 kern/kern_resource.c switch (which) { which 262 kern/kern_resource.c if (which == RLIMIT_STACK) { which 310 kern/kern_resource.c if (SCARG(uap, which) < 0 || SCARG(uap, which) >= RLIM_NLIMITS) which 312 kern/kern_resource.c return (copyout((caddr_t)&p->p_rlimit[SCARG(uap, which)], which 549 kern/kern_time.c if (SCARG(uap, which) < ITIMER_REAL || SCARG(uap, which) > ITIMER_PROF) which 552 kern/kern_time.c if (SCARG(uap, which) == ITIMER_REAL) { which 571 kern/kern_time.c aitv = p->p_stats->p_timer[SCARG(uap, which)]; which 592 kern/kern_time.c if (SCARG(uap, which) < ITIMER_REAL || SCARG(uap, which) > ITIMER_PROF) which 599 kern/kern_time.c SCARG(&getargs, which) = SCARG(uap, which); which 608 kern/kern_time.c if (SCARG(uap, which) == ITIMER_REAL) { which 624 kern/kern_time.c p->p_stats->p_timer[SCARG(uap, which)] = aitv; which 488 net/rtsock.c rt_setmetrics(u_long which, struct rt_metrics *in, struct rt_kmetrics *out) which 490 net/rtsock.c if (which & RTV_MTU) which 492 net/rtsock.c if (which & RTV_EXPIRE) which 369 sys/syscallargs.h syscallarg(int) which; which 379 sys/syscallargs.h syscallarg(int) which; which 417 sys/syscallargs.h syscallarg(int) which; which 441 sys/syscallargs.h syscallarg(int) which; which 658 sys/syscallargs.h syscallarg(int) which; which 663 sys/syscallargs.h syscallarg(int) which; which 732 sys/syscallargs.h syscallarg(int) which; which 740 sys/syscallargs.h syscallarg(int) which; which 749 sys/syscallargs.h syscallarg(int) which; which 837 sys/syscallargs.h syscallarg(int) which; which 842 sys/syscallargs.h syscallarg(int) which; which 150 sys/systm.h int seltrue(dev_t dev, int which, struct proc *); which 115 xfs/xfs_dev.h int xfs_devselect(dev_t dev, int which, void *wql, d_thread_t *p); which 117 xfs/xfs_dev.h int xfs_devselect(dev_t dev, int which, d_thread_t *p);