usr/src/cmd/cmd-inet/usr.bin/ftp/cmds.c
1021
(void) printf("Debugging %s (debug=%d).\n", onoff(debug), debug);
usr/src/cmd/cmd-inet/usr.bin/ftp/cmds.c
1771
(void) printf("Case mapping %s.\n", onoff(mcase));
usr/src/cmd/cmd-inet/usr.bin/ftp/cmds.c
1780
(void) printf("Carriage Return stripping %s.\n", onoff(crflag));
usr/src/cmd/cmd-inet/usr.bin/ftp/cmds.c
2096
(void) printf("Store unique %s.\n", onoff(sunique));
usr/src/cmd/cmd-inet/usr.bin/ftp/cmds.c
2105
(void) printf("Receive unique %s.\n", onoff(runique));
usr/src/cmd/cmd-inet/usr.bin/ftp/cmds.c
2114
(void) printf("Passive mode %s.\n", onoff(passivemode));
usr/src/cmd/cmd-inet/usr.bin/ftp/cmds.c
52
static char *onoff(int bool);
usr/src/cmd/cmd-inet/usr.bin/ftp/cmds.c
870
onoff(autoauth), onoff(autologin));
usr/src/cmd/cmd-inet/usr.bin/ftp/cmds.c
878
(void) printf("Passive mode: %s.\n", onoff(passivemode));
usr/src/cmd/cmd-inet/usr.bin/ftp/cmds.c
882
onoff(verbose), onoff(bell), onoff(interactive),
usr/src/cmd/cmd-inet/usr.bin/ftp/cmds.c
883
onoff(doglob));
usr/src/cmd/cmd-inet/usr.bin/ftp/cmds.c
884
(void) printf("Store unique: %s; Receive unique: %s\n", onoff(sunique),
usr/src/cmd/cmd-inet/usr.bin/ftp/cmds.c
885
onoff(runique));
usr/src/cmd/cmd-inet/usr.bin/ftp/cmds.c
887
onoff(mcase), onoff(crflag));
usr/src/cmd/cmd-inet/usr.bin/ftp/cmds.c
899
onoff(hash), onoff(sendport));
usr/src/cmd/cmd-inet/usr.bin/ftp/cmds.c
917
(void) printf("Bell mode %s.\n", onoff(bell));
usr/src/cmd/cmd-inet/usr.bin/ftp/cmds.c
929
(void) printf("Packet tracing %s.\n", onoff(trace));
usr/src/cmd/cmd-inet/usr.bin/ftp/cmds.c
941
(void) printf("Hash mark printing %s", onoff(hash));
usr/src/cmd/cmd-inet/usr.bin/ftp/cmds.c
956
(void) printf("Verbose mode %s.\n", onoff(verbose));
usr/src/cmd/cmd-inet/usr.bin/ftp/cmds.c
968
(void) printf("Use of PORT cmds %s.\n", onoff(sendport));
usr/src/cmd/cmd-inet/usr.bin/ftp/cmds.c
981
(void) printf("Interactive mode %s.\n", onoff(interactive));
usr/src/cmd/cmd-inet/usr.bin/ftp/cmds.c
994
(void) printf("Globbing %s.\n", onoff(doglob));
usr/src/cmd/cmd-inet/usr.bin/telnet/sys_bsd.c
283
int onoff;
usr/src/cmd/cmd-inet/usr.bin/telnet/sys_bsd.c
455
onoff = 0;
usr/src/cmd/cmd-inet/usr.bin/telnet/sys_bsd.c
473
onoff = 1;
usr/src/cmd/cmd-inet/usr.bin/telnet/sys_bsd.c
537
(void) ioctl(tin, FIONBIO, &onoff);
usr/src/cmd/cmd-inet/usr.bin/telnet/sys_bsd.c
538
(void) ioctl(tout, FIONBIO, &onoff);
usr/src/cmd/cmd-inet/usr.bin/telnet/sys_bsd.c
610
NetNonblockingIO(fd, onoff)
usr/src/cmd/cmd-inet/usr.bin/telnet/sys_bsd.c
612
int onoff;
usr/src/cmd/cmd-inet/usr.bin/telnet/sys_bsd.c
614
(void) ioctl(fd, FIONBIO, &onoff);
usr/src/cmd/sgs/librtld_db/common/rd_elf.c
454
_rd_event_enable32(rd_agent_t *rap, int onoff)
usr/src/cmd/sgs/librtld_db/common/rd_elf.c
459
LOG(ps_plog(MSG_ORIG(MSG_DB_RDEVENTENABLE), rap->rd_dmodel, onoff));
usr/src/cmd/sgs/librtld_db/common/rd_elf.c
472
if (onoff)
usr/src/cmd/sgs/librtld_db/common/rtld_db.c
272
rd_event_enable(rd_agent_t *rap, int onoff)
usr/src/cmd/sgs/librtld_db/common/rtld_db.c
280
err = _rd_event_enable64(rap, onoff);
usr/src/cmd/sgs/librtld_db/common/rtld_db.c
283
err = _rd_event_enable32(rap, onoff);
usr/src/lib/libc_db/common/thread_db.c
1118
__td_ta_sync_tracking_enable(td_thragent_t *ta_p, int onoff)
usr/src/lib/libc_db/common/thread_db.c
1134
enable = onoff? REGISTER_SYNC_ENABLE : REGISTER_SYNC_DISABLE;
usr/src/lib/libc_db/common/thread_db.c
1270
__td_ta_enable_stats(const td_thragent_t *ta_p, int onoff)
usr/src/lib/libc_db/common/thread_db.c
1498
mod_eventset(td_thrhandle_t *th_p, td_thr_events_t *events, int onoff)
usr/src/lib/libc_db/common/thread_db.c
1531
if (onoff)
usr/src/lib/libc_db/common/thread_db.c
1562
__td_thr_event_enable(td_thrhandle_t *th_p, int onoff)
usr/src/lib/libc_db/common/thread_db.c
1568
return (mod_eventset(th_p, &evset, onoff));
usr/src/lib/libc_db/common/thread_db.c
1594
td_ta_mod_event(td_thragent_t *ta_p, td_thr_events_t *events, int onoff)
usr/src/lib/libc_db/common/thread_db.c
1610
if (onoff)
usr/src/lib/libcurses/screen/print.c
71
pr_onecolumn(int onoff)
usr/src/lib/libcurses/screen/print.c
73
onecolumn = onoff;
usr/src/lib/libcurses/screen/print.c
84
pr_caprestrict(int onoff)
usr/src/lib/libcurses/screen/print.c
86
restrictterm = onoff;
usr/src/lib/libipadm/common/ipadm_addr.c
1507
const char *onoff = "";
usr/src/lib/libipadm/common/ipadm_addr.c
1513
onoff = IPADM_OFFSTR;
usr/src/lib/libipadm/common/ipadm_addr.c
1527
onoff = dhcp_status.if_dflags & DHCP_IF_PRIMARY ?
usr/src/lib/libipadm/common/ipadm_addr.c
1535
nbytes = strlcpy(buf, onoff, *bufsize);
usr/src/uts/common/inet/ip/conn_opt.c
1086
boolean_t onoff = (*i1 == 0) ? 0 : 1;
usr/src/uts/common/inet/ip/conn_opt.c
1115
connp->conn_debug = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1118
connp->conn_keepalive = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1133
connp->conn_oobinline = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1137
connp->conn_reuseaddr = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1140
if (onoff)
usr/src/uts/common/inet/ip/conn_opt.c
1147
connp->conn_useloopback = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1150
connp->conn_broadcast = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1170
connp->conn_dgram_errind = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1173
connp->conn_recv_ancillary.crb_recvucred = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1176
connp->conn_allzones = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1178
if (onoff)
usr/src/uts/common/inet/ip/conn_opt.c
1184
connp->conn_recv_ancillary.crb_timestamp = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1187
connp->conn_isvrrp = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1190
connp->conn_anon_mlp = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1193
connp->conn_mac_mode = onoff ?
usr/src/uts/common/inet/ip/conn_opt.c
1197
connp->conn_mac_mode = onoff ?
usr/src/uts/common/inet/ip/conn_opt.c
1201
connp->conn_exclbind = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1217
boolean_t onoff = (*i1 == 0) ? 0 : 1;
usr/src/uts/common/inet/ip/conn_opt.c
1385
connp->conn_recv_ancillary.crb_recvopts = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1390
connp->conn_recv_ancillary.crb_recvdstaddr = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1395
connp->conn_recv_ancillary.crb_recvif = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1400
connp->conn_recv_ancillary.crb_recvslla = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1405
connp->conn_recv_ancillary.crb_recvttl = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1410
connp->conn_recv_ancillary.crb_recvtos = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1426
onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1449
if (onoff) {
usr/src/uts/common/inet/ip/conn_opt.c
1506
connp->conn_unspec_src = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1507
if (onoff)
usr/src/uts/common/inet/ip/conn_opt.c
1553
boolean_t onoff = (*i1 == 0) ? 0 : 1;
usr/src/uts/common/inet/ip/conn_opt.c
1805
connp->conn_unspec_src = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1806
if (onoff)
usr/src/uts/common/inet/ip/conn_opt.c
1814
connp->conn_recv_ancillary.crb_ip_recvpktinfo = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1819
connp->conn_recv_ancillary.crb_ipv6_recvtclass = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1824
connp->conn_ipv6_recvpathmtu = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1830
onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1835
connp->conn_recv_ancillary.crb_ipv6_recvhopopts = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1840
connp->conn_recv_ancillary.crb_ipv6_recvdstopts = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1846
onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1852
onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1857
connp->conn_recv_ancillary.crb_ipv6_recvrthdr = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
1998
if (onoff) {
usr/src/uts/common/inet/ip/conn_opt.c
2045
connp->conn_ipv6_v6only = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
2065
boolean_t onoff = (*i1 == 0) ? 0 : 1;
usr/src/uts/common/inet/ip/conn_opt.c
2082
connp->conn_anon_priv_bind = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
2085
connp->conn_exclbind = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
2100
boolean_t onoff = (*i1 == 0) ? 0 : 1;
usr/src/uts/common/inet/ip/conn_opt.c
2117
connp->conn_anon_priv_bind = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
2120
connp->conn_exclbind = onoff;
usr/src/uts/common/inet/ip/conn_opt.c
2123
connp->conn_recv_ancillary.crb_recvdstaddr = onoff;
usr/src/uts/common/inet/ip/icmp.c
1987
boolean_t onoff = (*i1 == 0) ? 0 : 1;
usr/src/uts/common/inet/ip/icmp.c
2078
icmp->icmp_hdrincl = onoff;
usr/src/uts/common/inet/ip/icmp.c
2079
if (onoff)
usr/src/uts/common/inet/proto_set.c
217
proto_set_rx_oob_opt(conn_t *connp, boolean_t onoff)
usr/src/uts/common/inet/proto_set.c
224
sopp.sopp_oobinline = onoff;
usr/src/uts/common/inet/sctp/sctp_opt_data.c
1051
boolean_t onoff;
usr/src/uts/common/inet/sctp/sctp_opt_data.c
1065
onoff = ONOFF(*i1);
usr/src/uts/common/inet/sctp/sctp_opt_data.c
1264
sctp->sctp_prsctp_aware = onoff;
usr/src/uts/common/inet/tcp/tcp_opt_data.c
1188
proto_set_rx_oob_opt(connp, onoff);
usr/src/uts/common/inet/tcp/tcp_opt_data.c
529
boolean_t onoff = (*i1 == 0) ? 0 : 1;
usr/src/uts/common/inet/tcp/tcp_opt_data.c
612
if (!onoff) {
usr/src/uts/common/inet/tcp/tcp_opt_data.c
679
(onoff != 1) || !tcp_zcopy_check(tcp)) {
usr/src/uts/common/inet/tcp/tcp_opt_data.c
930
if (tcp->tcp_cork && onoff == 0 &&
usr/src/uts/common/inet/tcp/tcp_opt_data.c
935
tcp->tcp_cork = onoff;
usr/src/uts/common/inet/tcp/tcp_opt_data.c
940
tcp->tcp_quickack = onoff;
usr/src/uts/common/inet/tcp/tcp_opt_data.c
945
tcp->tcp_md5sig = onoff;
usr/src/uts/common/inet/udp/udp.c
1707
boolean_t onoff = (*i1 == 0) ? 0 : 1;
usr/src/uts/common/inet/udp/udp.c
1796
udp->udp_nat_t_endpoint = onoff;
usr/src/uts/common/inet/udp/udp.c
1805
udp->udp_rcvhdr = onoff;
usr/src/uts/common/io/arn/arn_main.c
2020
arn_set_shortslot(ieee80211com_t *ic, int onoff)
usr/src/uts/common/io/arn/arn_main.c
2024
if (onoff)
usr/src/uts/common/io/asy.c
239
async_flowc_action onoff, int type);
usr/src/uts/common/io/asy.c
241
async_flowc_action onoff);
usr/src/uts/common/io/asy.c
243
async_flowc_action onoff, int type);
usr/src/uts/common/io/asy.c
245
async_flowc_action onoff);
usr/src/uts/common/io/asy.c
5223
async_flowcontrol_sw_input(struct asycom *asy, async_flowc_action onoff,
usr/src/uts/common/io/asy.c
5237
switch (onoff) {
usr/src/uts/common/io/asy.c
5296
async_flowcontrol_sw_output(struct asycom *asy, async_flowc_action onoff)
usr/src/uts/common/io/asy.c
5305
switch (onoff) {
usr/src/uts/common/io/asy.c
5337
async_flowcontrol_hw_input(struct asycom *asy, async_flowc_action onoff,
usr/src/uts/common/io/asy.c
5349
switch (onoff) {
usr/src/uts/common/io/asy.c
5390
async_flowcontrol_hw_output(struct asycom *asy, async_flowc_action onoff)
usr/src/uts/common/io/asy.c
5399
switch (onoff) {
usr/src/uts/common/io/ath/ath_aux.c
964
ath_set_shortslot(ieee80211com_t *ic, int onoff)
usr/src/uts/common/io/ath/ath_aux.c
968
if (onoff)
usr/src/uts/common/io/ath/ath_aux.h
70
void ath_set_shortslot(ieee80211com_t *ic, int onoff);
usr/src/uts/common/io/audio/ac97/ac97.c
767
ac_gpr_toggle(ac97_ctrl_t *ctrl, int bit, uint64_t onoff)
usr/src/uts/common/io/audio/ac97/ac97.c
773
if (onoff) {
usr/src/uts/common/io/audio/impl/audio_oss.c
723
sndctl_dsp_stereo(audio_client_t *c, int *onoff)
usr/src/uts/common/io/audio/impl/audio_oss.c
727
switch (*onoff) {
usr/src/uts/common/io/mwl/mwl.c
1775
mwl_hal_setradio(struct mwl_softc *sc, int onoff, MWL_HAL_PREAMBLE preamble)
usr/src/uts/common/io/mwl/mwl.c
1783
if (onoff == 0)
usr/src/uts/common/io/mwl/mwl.c
1787
pCmd->RadioOn = LE_16(onoff);
usr/src/uts/common/io/mwl/mwl.c
1794
mwl_hal_setwmm(struct mwl_softc *sc, int onoff)
usr/src/uts/common/io/mwl/mwl.c
1801
pCmd->Action = LE_16(onoff);
usr/src/uts/common/io/ppm/ppm.c
1855
ppm_switch_clock(ppm_domain_t *domp, int onoff)
usr/src/uts/common/io/ppm/ppm.c
1867
cmd = (onoff == PPMD_ON) ? PPMDC_CLK_ON : PPMDC_CLK_OFF;
usr/src/uts/common/io/ppm/ppm.c
2316
ppm_pcie_pwr(ppm_domain_t *domp, int onoff)
usr/src/uts/common/io/ppm/ppm.c
2325
ASSERT(onoff == PPMD_OFF || onoff == PPMD_ON);
usr/src/uts/common/io/ppm/ppm.c
2328
onoff == PPMD_ON ? PPMDC_PRE_PWR_ON : PPMDC_PRE_PWR_OFF);
usr/src/uts/common/io/ppm/ppm.c
2359
switch (onoff) {
usr/src/uts/common/io/ppm/ppm.c
2448
onoff == PPMD_ON ? "ON" : "OFF"))
usr/src/uts/common/io/ppm/ppm.c
2450
domp->status = onoff;
usr/src/uts/common/io/ptem.c
1044
int onoff;
usr/src/uts/common/io/ptem.c
1055
onoff = *(int *)mp->b_cont->b_rptr;
usr/src/uts/common/io/ptem.c
1060
mctlp = mkiocb(onoff ? MC_NO_CANON : MC_DO_CANON);
usr/src/uts/common/io/ptem.c
1077
if (onoff)
usr/src/uts/common/io/ral/rt2560.c
487
rt2560_update_slot(struct ieee80211com *ic, int onoff)
usr/src/uts/common/io/ral/rt2560.c
495
slottime = (onoff ? 9 : 20);
usr/src/uts/common/io/rum/rum.c
1221
rum_update_slot(struct ieee80211com *ic, int onoff)
usr/src/uts/common/io/rwd/rt2661.c
1749
rt2661_updateslot(struct ieee80211com *ic, int onoff)
usr/src/uts/common/io/rwd/rt2661.c
1755
slottime = (onoff ? 9 : 20);
usr/src/uts/common/io/ural/ural.c
1146
ural_update_slot(struct ieee80211com *ic, int onoff)
usr/src/uts/common/xen/io/xencons.c
1431
xcasync_flowcontrol_sw_output(struct xencons *xcp, async_flowc_action onoff)
usr/src/uts/common/xen/io/xencons.c
1441
switch (onoff) {
usr/src/uts/common/xen/io/xencons.c
1476
xcasync_flowcontrol_sw_input(struct xencons *xcp, async_flowc_action onoff,
usr/src/uts/common/xen/io/xencons.c
1491
switch (onoff) {
usr/src/uts/intel/io/pci/pci_boot.c
1599
char *onoff;
usr/src/uts/intel/io/pci/pci_boot.c
1749
DDI_PROP_DONTPASS, "pci-reprog", &onoff) == DDI_SUCCESS) {
usr/src/uts/intel/io/pci/pci_boot.c
1750
if (strcmp(onoff, "off") == 0) {
usr/src/uts/intel/io/pci/pci_boot.c
1754
ddi_prop_free(onoff);
usr/src/uts/sun/io/fd.c
216
static void fdselect(struct fdctlr *fdc, int unit, int onoff);