/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | conn_opt.c | 1085 boolean_t onoff = (*i1 == 0) ? 0 : 1; in conn_opt_set_socket() local 1114 connp->conn_debug = onoff; in conn_opt_set_socket() 1117 connp->conn_keepalive = onoff; in conn_opt_set_socket() 1132 connp->conn_oobinline = onoff; in conn_opt_set_socket() 1136 connp->conn_reuseaddr = onoff; in conn_opt_set_socket() 1139 if (onoff) in conn_opt_set_socket() 1146 connp->conn_useloopback = onoff; in conn_opt_set_socket() 1149 connp->conn_broadcast = onoff; in conn_opt_set_socket() 1169 connp->conn_dgram_errind = onoff; in conn_opt_set_socket() 1172 connp->conn_recv_ancillary.crb_recvucred = onoff; in conn_opt_set_socket() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | cmds.c | 52 static char *onoff(int bool); 833 onoff(int bool) in onoff() function 870 onoff(autoauth), onoff(autologin)); in status() 878 (void) printf("Passive mode: %s.\n", onoff(passivemode)); in status() 882 onoff(verbose), onoff(bell), onoff(interactive), in status() 883 onoff(doglob)); in status() 884 (void) printf("Store unique: %s; Receive unique: %s\n", onoff(sunique), in status() 885 onoff(runique)); in status() 887 onoff(mcase), onoff(crflag)); in status() 899 onoff(hash), onoff(sendport)); in status() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | sys_bsd.c | 283 int onoff; local 455 onoff = 0; 473 onoff = 1; 537 (void) ioctl(tin, FIONBIO, &onoff); 538 (void) ioctl(tout, FIONBIO, &onoff); 610 NetNonblockingIO(fd, onoff) in NetNonblockingIO() argument 612 int onoff; 614 (void) ioctl(fd, FIONBIO, &onoff);
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_opt_data.c | 529 boolean_t onoff = (*i1 == 0) ? 0 : 1; in tcp_opt_set() local 612 if (!onoff) { in tcp_opt_set() 679 (onoff != 1) || !tcp_zcopy_check(tcp)) { in tcp_opt_set() 930 if (tcp->tcp_cork && onoff == 0 && in tcp_opt_set() 935 tcp->tcp_cork = onoff; in tcp_opt_set() 940 tcp->tcp_quickack = onoff; in tcp_opt_set() 945 tcp->tcp_md5sig = onoff; in tcp_opt_set() 1188 proto_set_rx_oob_opt(connp, onoff); in tcp_opt_set()
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | print.c | 71 pr_onecolumn(int onoff) in pr_onecolumn() argument 73 onecolumn = onoff; in pr_onecolumn() 84 pr_caprestrict(int onoff) in pr_caprestrict() argument 86 restrictterm = onoff; in pr_caprestrict()
|
/illumos-gate/usr/src/cmd/sgs/librtld_db/common/ |
H A D | rtld_db.c | 272 rd_event_enable(rd_agent_t *rap, int onoff) in rd_event_enable() argument 280 err = _rd_event_enable64(rap, onoff); in rd_event_enable() 283 err = _rd_event_enable32(rap, onoff); in rd_event_enable()
|
H A D | rd_elf.c | 454 _rd_event_enable32(rd_agent_t *rap, int onoff) in _rd_event_enable32() argument 459 LOG(ps_plog(MSG_ORIG(MSG_DB_RDEVENTENABLE), rap->rd_dmodel, onoff)); in _rd_event_enable32() 472 if (onoff) in _rd_event_enable32()
|
H A D | librtld_db.msg | 101 @ MSG_DB_RDEVENTENABLE "rtld_db: rd_event_enable(dmodel=%d, onoff=%d)"
|
/illumos-gate/usr/src/uts/common/io/ath/ |
H A D | ath_aux.h | 70 void ath_set_shortslot(ieee80211com_t *ic, int onoff);
|
H A D | ath_aux.c | 964 ath_set_shortslot(ieee80211com_t *ic, int onoff) in ath_set_shortslot() argument 968 if (onoff) in ath_set_shortslot()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | ptem.c | 1044 int onoff; in ptioc() local 1055 onoff = *(int *)mp->b_cont->b_rptr; in ptioc() 1060 mctlp = mkiocb(onoff ? MC_NO_CANON : MC_DO_CANON); in ptioc() 1077 if (onoff) in ptioc()
|
H A D | asy.c | 236 async_flowc_action onoff, int type); 238 async_flowc_action onoff); 240 async_flowc_action onoff, int type); 242 async_flowc_action onoff); 5216 async_flowcontrol_sw_input(struct asycom *asy, async_flowc_action onoff, in async_flowcontrol_sw_input() argument 5230 switch (onoff) { in async_flowcontrol_sw_input() 5289 async_flowcontrol_sw_output(struct asycom *asy, async_flowc_action onoff) in async_flowcontrol_sw_output() argument 5298 switch (onoff) { in async_flowcontrol_sw_output() 5330 async_flowcontrol_hw_input(struct asycom *asy, async_flowc_action onoff, in async_flowcontrol_hw_input() argument 5342 switch (onoff) { in async_flowcontrol_hw_input() [all …]
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | proto_set.c | 217 proto_set_rx_oob_opt(conn_t *connp, boolean_t onoff) in proto_set_rx_oob_opt() argument 224 sopp.sopp_oobinline = onoff; in proto_set_rx_oob_opt()
|
/illumos-gate/usr/src/uts/common/io/ppm/ |
H A D | ppm.c | 1855 ppm_switch_clock(ppm_domain_t *domp, int onoff) in ppm_switch_clock() argument 1867 cmd = (onoff == PPMD_ON) ? PPMDC_CLK_ON : PPMDC_CLK_OFF; in ppm_switch_clock() 2316 ppm_pcie_pwr(ppm_domain_t *domp, int onoff) in ppm_pcie_pwr() argument 2325 ASSERT(onoff == PPMD_OFF || onoff == PPMD_ON); in ppm_pcie_pwr() 2328 onoff == PPMD_ON ? PPMDC_PRE_PWR_ON : PPMDC_PRE_PWR_OFF); in ppm_pcie_pwr() 2359 switch (onoff) { in ppm_pcie_pwr() 2448 onoff == PPMD_ON ? "ON" : "OFF")) in ppm_pcie_pwr() 2450 domp->status = onoff; in ppm_pcie_pwr()
|
/illumos-gate/usr/src/lib/libc_db/common/ |
H A D | thread_db.c | 1118 __td_ta_sync_tracking_enable(td_thragent_t *ta_p, int onoff) in __td_ta_sync_tracking_enable() argument 1134 enable = onoff? REGISTER_SYNC_ENABLE : REGISTER_SYNC_DISABLE; in __td_ta_sync_tracking_enable() 1270 __td_ta_enable_stats(const td_thragent_t *ta_p, int onoff) in __td_ta_enable_stats() argument 1498 mod_eventset(td_thrhandle_t *th_p, td_thr_events_t *events, int onoff) in mod_eventset() argument 1531 if (onoff) in mod_eventset() 1562 __td_thr_event_enable(td_thrhandle_t *th_p, int onoff) in __td_thr_event_enable() argument 1568 return (mod_eventset(th_p, &evset, onoff)); in __td_thr_event_enable() 1594 td_ta_mod_event(td_thragent_t *ta_p, td_thr_events_t *events, int onoff) in td_ta_mod_event() argument 1610 if (onoff) in td_ta_mod_event()
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xencons.c | 1434 xcasync_flowcontrol_sw_output(struct xencons *xcp, async_flowc_action onoff) in xcasync_flowcontrol_sw_output() argument 1444 switch (onoff) { in xcasync_flowcontrol_sw_output() 1479 xcasync_flowcontrol_sw_input(struct xencons *xcp, async_flowc_action onoff, in xcasync_flowcontrol_sw_input() argument 1494 switch (onoff) { in xcasync_flowcontrol_sw_input()
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_opt_data.c | 1051 boolean_t onoff; in sctp_set_opt() local 1065 onoff = ONOFF(*i1); in sctp_set_opt() 1264 sctp->sctp_prsctp_aware = onoff; in sctp_set_opt()
|
/illumos-gate/usr/src/uts/common/io/audio/ac97/ |
H A D | ac97.c | 767 ac_gpr_toggle(ac97_ctrl_t *ctrl, int bit, uint64_t onoff) in ac_gpr_toggle() argument 773 if (onoff) { in ac_gpr_toggle()
|
/illumos-gate/usr/src/uts/intel/io/pci/ |
H A D | pci_boot.c | 1599 char *onoff; in pci_reprogram() local 1749 DDI_PROP_DONTPASS, "pci-reprog", &onoff) == DDI_SUCCESS) { in pci_reprogram() 1750 if (strcmp(onoff, "off") == 0) { in pci_reprogram() 1754 ddi_prop_free(onoff); in pci_reprogram()
|
/illumos-gate/usr/src/uts/common/io/mwl/ |
H A D | mwl.c | 1775 mwl_hal_setradio(struct mwl_softc *sc, int onoff, MWL_HAL_PREAMBLE preamble) in mwl_hal_setradio() argument 1783 if (onoff == 0) in mwl_hal_setradio() 1787 pCmd->RadioOn = LE_16(onoff); in mwl_hal_setradio() 1794 mwl_hal_setwmm(struct mwl_softc *sc, int onoff) in mwl_hal_setwmm() argument 1801 pCmd->Action = LE_16(onoff); in mwl_hal_setwmm()
|
/illumos-gate/usr/src/lib/libipadm/common/ |
H A D | ipadm_addr.c | 1507 const char *onoff = ""; in i_ipadm_get_primary() local 1513 onoff = IPADM_OFFSTR; in i_ipadm_get_primary() 1527 onoff = dhcp_status.if_dflags & DHCP_IF_PRIMARY ? in i_ipadm_get_primary() 1535 nbytes = strlcpy(buf, onoff, *bufsize); in i_ipadm_get_primary()
|
/illumos-gate/usr/src/uts/common/io/audio/impl/ |
H A D | audio_oss.c | 723 sndctl_dsp_stereo(audio_client_t *c, int *onoff) in sndctl_dsp_stereo() argument 727 switch (*onoff) { in sndctl_dsp_stereo()
|
/illumos-gate/usr/src/uts/common/io/ral/ |
H A D | rt2560.c | 487 rt2560_update_slot(struct ieee80211com *ic, int onoff) in rt2560_update_slot() argument 495 slottime = (onoff ? 9 : 20); in rt2560_update_slot()
|
/illumos-gate/usr/src/uts/common/io/arn/ |
H A D | arn_main.c | 2020 arn_set_shortslot(ieee80211com_t *ic, int onoff) in arn_set_shortslot() argument 2024 if (onoff) in arn_set_shortslot()
|
/illumos-gate/usr/src/uts/common/io/rwd/ |
H A D | rt2661.c | 1749 rt2661_updateslot(struct ieee80211com *ic, int onoff) in rt2661_updateslot() argument 1755 slottime = (onoff ? 9 : 20); in rt2661_updateslot()
|