Home
last modified time | relevance | path

Searched refs:onoff (Results 1 – 25 of 30) sorted by relevance

12

/illumos-gate/usr/src/uts/common/inet/ip/
H A Dconn_opt.c1114 connp->conn_debug = onoff; in conn_opt_set_socket()
1139 if (onoff) in conn_opt_set_socket()
1177 if (onoff) in conn_opt_set_socket()
1425 onoff; in conn_opt_set_ip()
1448 if (onoff) { in conn_opt_set_ip()
1506 if (onoff) in conn_opt_set_ip()
1805 if (onoff) in conn_opt_set_ipv6()
1829 onoff; in conn_opt_set_ipv6()
1845 onoff; in conn_opt_set_ipv6()
1851 onoff; in conn_opt_set_ipv6()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dcmds.c52 static char *onoff(int bool);
833 onoff(int bool) in onoff() function
870 onoff(autoauth), onoff(autologin)); in status()
882 onoff(verbose), onoff(bell), onoff(interactive), in status()
883 onoff(doglob)); in status()
885 onoff(runique)); in status()
887 onoff(mcase), onoff(crflag)); in status()
899 onoff(hash), onoff(sendport)); in status()
917 (void) printf("Bell mode %s.\n", onoff(bell)); in setbell()
994 (void) printf("Globbing %s.\n", onoff(doglob)); in setglob()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dsys_bsd.c283 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 Dtcp_opt_data.c529 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 Dprint.c71 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 Drtld_db.c272 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 Drd_elf.c454 _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 Dlibrtld_db.msg101 @ MSG_DB_RDEVENTENABLE "rtld_db: rd_event_enable(dmodel=%d, onoff=%d)"
/illumos-gate/usr/src/uts/common/io/ath/
H A Dath_aux.h70 void ath_set_shortslot(ieee80211com_t *ic, int onoff);
H A Dath_aux.c964 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 Dptem.c1053 int onoff; in ptioc() local
1064 onoff = *(int *)mp->b_cont->b_rptr; in ptioc()
1069 mctlp = mkiocb(onoff ? MC_NO_CANON : MC_DO_CANON); in ptioc()
1086 if (onoff) in ptioc()
H A Dasy.c206 async_flowc_action onoff, int type);
208 async_flowc_action onoff);
210 async_flowc_action onoff, int type);
212 async_flowc_action onoff);
4629 async_flowcontrol_sw_input(struct asycom *asy, async_flowc_action onoff, in async_flowcontrol_sw_input() argument
4644 switch (onoff) { in async_flowcontrol_sw_input()
4704 async_flowcontrol_sw_output(struct asycom *asy, async_flowc_action onoff) in async_flowcontrol_sw_output() argument
4714 switch (onoff) { in async_flowcontrol_sw_output()
4748 async_flowcontrol_hw_input(struct asycom *asy, async_flowc_action onoff, in async_flowcontrol_hw_input() argument
4761 switch (onoff) { in async_flowcontrol_hw_input()
[all …]
/illumos-gate/usr/src/uts/common/inet/
H A Dproto_set.c217 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 Dppm.c1855 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 Dthread_db.c1118 __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 Dxencons.c1434 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 Dsctp_opt_data.c1051 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 Dac97.c767 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 Dpci_boot.c1597 char *onoff; in pci_reprogram() local
1746 DDI_PROP_DONTPASS, "pci-reprog", &onoff) == DDI_SUCCESS) { in pci_reprogram()
1747 if (strcmp(onoff, "off") == 0) { in pci_reprogram()
1751 ddi_prop_free(onoff); in pci_reprogram()
/illumos-gate/usr/src/uts/common/io/mwl/
H A Dmwl.c1775 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 Dipadm_addr.c1507 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 Daudio_oss.c723 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 Drt2560.c487 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 Darn_main.c2020 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 Drt2661.c1749 rt2661_updateslot(struct ieee80211com *ic, int onoff) in rt2661_updateslot() argument
1755 slottime = (onoff ? 9 : 20); in rt2661_updateslot()

12