Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/uts/common/inet/ip/
H A Dconn_opt.c1050 boolean_t onoff = (*i1 == 0) ? 0 : 1; in conn_opt_set_socket() local
1079 connp->conn_debug = onoff; in conn_opt_set_socket()
1082 connp->conn_keepalive = onoff; in conn_opt_set_socket()
1097 connp->conn_oobinline = onoff; in conn_opt_set_socket()
1101 connp->conn_reuseaddr = onoff; in conn_opt_set_socket()
1104 if (onoff) in conn_opt_set_socket()
1111 connp->conn_useloopback = onoff; in conn_opt_set_socket()
1114 connp->conn_broadcast = onoff; in conn_opt_set_socket()
1134 connp->conn_dgram_errind = onoff; in conn_opt_set_socket()
1137 connp->conn_recv_ancillary.crb_recvucred = onoff; in conn_opt_set_socket()
[all …]
/titanic_41/usr/src/lib/libtnfctl/
H A Dkernel_int.c220 _tnfctl_prbk_set_tracing(tnfctl_handle_t *hdl, boolean_t onoff) in _tnfctl_prbk_set_tracing() argument
222 if (hdl->trace_state != onoff && in _tnfctl_prbk_set_tracing()
223 ioctl(hdl->kfd, TIFIOCSTRACING, onoff) < 0) { in _tnfctl_prbk_set_tracing()
224 if (errno == ENOMEM && onoff) in _tnfctl_prbk_set_tracing()
229 hdl->trace_state = onoff; in _tnfctl_prbk_set_tracing()
239 _tnfctl_prbk_set_pfilter_mode(tnfctl_handle_t *hdl, boolean_t onoff) in _tnfctl_prbk_set_pfilter_mode() argument
241 if (hdl->kpidfilter_state != onoff && in _tnfctl_prbk_set_pfilter_mode()
242 ioctl(hdl->kfd, TIFIOCSPIDFILTER, onoff) < 0) { in _tnfctl_prbk_set_pfilter_mode()
245 hdl->kpidfilter_state = onoff; in _tnfctl_prbk_set_pfilter_mode()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dcmds.c55 static char *onoff(int bool);
836 onoff(int bool) in onoff() function
873 onoff(autoauth), onoff(autologin)); in status()
881 (void) printf("Passive mode: %s.\n", onoff(passivemode)); in status()
885 onoff(verbose), onoff(bell), onoff(interactive), in status()
886 onoff(doglob)); in status()
887 (void) printf("Store unique: %s; Receive unique: %s\n", onoff(sunique), in status()
888 onoff(runique)); in status()
890 onoff(mcase), onoff(crflag)); in status()
902 onoff(hash), onoff(sendport)); in status()
[all …]
/titanic_41/usr/src/cmd/tnf/prex/
H A Dprbk.c276 prbk_set_pfilter_mode(boolean_t onoff) in prbk_set_pfilter_mode() argument
282 err = tnfctl_filter_state_set(g_hndl, onoff); in prbk_set_pfilter_mode()
360 prbk_set_tracing(boolean_t onoff) in prbk_set_tracing() argument
367 err = tnfctl_trace_state_set(g_hndl, onoff); in prbk_set_tracing()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dsys_bsd.c287 int onoff; local
459 onoff = 0;
477 onoff = 1;
541 (void) ioctl(tin, FIONBIO, &onoff);
542 (void) ioctl(tout, FIONBIO, &onoff);
612 NetNonblockingIO(fd, onoff) in NetNonblockingIO() argument
614 int onoff;
616 (void) ioctl(fd, FIONBIO, &onoff);
/titanic_41/usr/src/cmd/sgs/librtld_db/common/
H A Drtld_db.c271 rd_event_enable(rd_agent_t *rap, int onoff) in rd_event_enable() argument
279 err = _rd_event_enable64(rap, onoff); in rd_event_enable()
282 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)"
/titanic_41/usr/src/lib/libcurses/screen/
H A Dprint.c73 pr_onecolumn(int onoff) in pr_onecolumn() argument
75 onecolumn = onoff; in pr_onecolumn()
86 pr_caprestrict(int onoff) in pr_caprestrict() argument
88 restrictterm = onoff; in pr_caprestrict()
/titanic_41/usr/src/uts/common/inet/tcp/
H A Dtcp_opt_data.c498 boolean_t onoff = (*i1 == 0) ? 0 : 1; in tcp_opt_set() local
581 if (!onoff) { in tcp_opt_set()
648 (onoff != 1) || !tcp_zcopy_check(tcp)) { in tcp_opt_set()
841 if (tcp->tcp_cork && onoff == 0 && in tcp_opt_set()
846 tcp->tcp_cork = onoff; in tcp_opt_set()
1085 proto_set_rx_oob_opt(connp, onoff); in tcp_opt_set()
/titanic_41/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()
/titanic_41/usr/src/uts/common/io/
H A Dptem.c1047 int onoff; in ptioc() local
1058 onoff = *(int *)mp->b_cont->b_rptr; in ptioc()
1063 mctlp = mkiocb(onoff ? MC_NO_CANON : MC_DO_CANON); in ptioc()
1080 if (onoff) in ptioc()
H A Dasy.c204 async_flowc_action onoff, int type);
206 async_flowc_action onoff);
208 async_flowc_action onoff, int type);
210 async_flowc_action onoff);
4591 async_flowcontrol_sw_input(struct asycom *asy, async_flowc_action onoff, in async_flowcontrol_sw_input() argument
4606 switch (onoff) { in async_flowcontrol_sw_input()
4666 async_flowcontrol_sw_output(struct asycom *asy, async_flowc_action onoff) in async_flowcontrol_sw_output() argument
4676 switch (onoff) { in async_flowcontrol_sw_output()
4710 async_flowcontrol_hw_input(struct asycom *asy, async_flowc_action onoff, in async_flowcontrol_hw_input() argument
4723 switch (onoff) { in async_flowcontrol_hw_input()
[all …]
/titanic_41/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()
/titanic_41/usr/src/uts/common/io/ppm/
H A Dppm.c1845 ppm_switch_clock(ppm_domain_t *domp, int onoff) in ppm_switch_clock() argument
1857 cmd = (onoff == PPMD_ON) ? PPMDC_CLK_ON : PPMDC_CLK_OFF; in ppm_switch_clock()
2306 ppm_pcie_pwr(ppm_domain_t *domp, int onoff) in ppm_pcie_pwr() argument
2315 ASSERT(onoff == PPMD_OFF || onoff == PPMD_ON); in ppm_pcie_pwr()
2318 onoff == PPMD_ON ? PPMDC_PRE_PWR_ON : PPMDC_PRE_PWR_OFF); in ppm_pcie_pwr()
2349 switch (onoff) { in ppm_pcie_pwr()
2438 onoff == PPMD_ON ? "ON" : "OFF")) in ppm_pcie_pwr()
2440 domp->status = onoff; in ppm_pcie_pwr()
/titanic_41/usr/src/lib/libc_db/common/
H A Dthread_db.c1091 __td_ta_sync_tracking_enable(td_thragent_t *ta_p, int onoff) in __td_ta_sync_tracking_enable() argument
1107 enable = onoff? REGISTER_SYNC_ENABLE : REGISTER_SYNC_DISABLE; in __td_ta_sync_tracking_enable()
1243 __td_ta_enable_stats(const td_thragent_t *ta_p, int onoff) in __td_ta_enable_stats() argument
1471 mod_eventset(td_thrhandle_t *th_p, td_thr_events_t *events, int onoff) in mod_eventset() argument
1504 if (onoff) in mod_eventset()
1535 __td_thr_event_enable(td_thrhandle_t *th_p, int onoff) in __td_thr_event_enable() argument
1541 return (mod_eventset(th_p, &evset, onoff)); in __td_thr_event_enable()
1567 td_ta_mod_event(td_thragent_t *ta_p, td_thr_events_t *events, int onoff) in td_ta_mod_event() argument
1583 if (onoff) in td_ta_mod_event()
/titanic_41/usr/src/uts/common/xen/io/
H A Dxencons.c1430 xcasync_flowcontrol_sw_output(struct xencons *xcp, async_flowc_action onoff) in xcasync_flowcontrol_sw_output() argument
1440 switch (onoff) { in xcasync_flowcontrol_sw_output()
1475 xcasync_flowcontrol_sw_input(struct xencons *xcp, async_flowc_action onoff, in xcasync_flowcontrol_sw_input() argument
1490 switch (onoff) { in xcasync_flowcontrol_sw_input()
/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp_opt_data.c1041 boolean_t onoff; in sctp_set_opt() local
1055 onoff = ONOFF(*i1); in sctp_set_opt()
1251 sctp->sctp_prsctp_aware = onoff; in sctp_set_opt()
/titanic_41/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()
/titanic_41/usr/src/uts/intel/io/pci/
H A Dpci_boot.c1287 char *onoff; in pci_reprogram() local
1391 DDI_PROP_DONTPASS, "pci-reprog", &onoff) == DDI_SUCCESS) { in pci_reprogram()
1392 if (strcmp(onoff, "off") == 0) { in pci_reprogram()
1396 ddi_prop_free(onoff); in pci_reprogram()
/titanic_41/usr/src/uts/common/io/mwl/
H A Dmwl.c1766 mwl_hal_setradio(struct mwl_softc *sc, int onoff, MWL_HAL_PREAMBLE preamble) in mwl_hal_setradio() argument
1774 if (onoff == 0) in mwl_hal_setradio()
1778 pCmd->RadioOn = LE_16(onoff); in mwl_hal_setradio()
1785 mwl_hal_setwmm(struct mwl_softc *sc, int onoff) in mwl_hal_setwmm() argument
1792 pCmd->Action = LE_16(onoff); in mwl_hal_setwmm()
/titanic_41/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()
/titanic_41/usr/src/cmd/fs.d/cachefs/common/
H A Dstats_log.c147 stats_log_which(stats_cookie_t *st, int which, int onoff) in stats_log_which() argument
162 if (onoff) in stats_log_which()
/titanic_41/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()

12