/freebsd/crypto/openssh/ |
H A D | nchan.c | 105 if (c->ostate > CHAN_OUTPUT_CLOSED || next > CHAN_OUTPUT_CLOSED) in chan_set_ostate() 106 fatal("chan_set_ostate: bad state %d -> %d", c->ostate, next); in chan_set_ostate() 107 debug2("channel %d: output %s -> %s", c->self, ostates[c->ostate], in chan_set_ostate() 109 c->ostate = next; in chan_set_ostate() 159 switch (c->ostate) { in chan_obuf_empty() 166 c->self, c->ostate); in chan_obuf_empty() 212 if (c->ostate != CHAN_OUTPUT_CLOSED || in chan_send_close2() 215 c->self, c->istate, c->ostate); in chan_send_close2() 237 if (c->ostate == CHAN_OUTPUT_CLOSED) { in chan_send_eow2() 261 if (c->ostate == CHAN_OUTPUT_OPEN) in chan_rcvd_ieof() [all …]
|
H A D | channels.c | 524 c->ostate = CHAN_OUTPUT_OPEN; in channel_new() 753 other->ostate = CHAN_OUTPUT_CLOSED; in channel_free() 1025 c->ostate, sshbuf_len(c->output), in channel_format_status() 1269 if (c->ostate == CHAN_OUTPUT_OPEN || in channel_pre_open() 1270 c->ostate == CHAN_OUTPUT_WAIT_DRAIN) { in channel_pre_open() 1273 } else if (c->ostate == CHAN_OUTPUT_WAIT_DRAIN) { in channel_pre_open() 1284 c->ostate == CHAN_OUTPUT_CLOSED)) { in channel_pre_open() 1383 if (c->ostate == CHAN_OUTPUT_OPEN || in channel_force_close() 1384 c->ostate == CHAN_OUTPUT_WAIT_DRAIN) { in channel_force_close() 1414 c->self, c->istate, c->ostate); in channel_pre_x11_open() [all …]
|
H A D | channels.h | 132 u_int ostate; /* output to channel (state of transmit half) */ member
|
/freebsd/sys/net80211/ |
H A D | ieee80211_monitor.c | 94 enum ieee80211_state ostate; in monitor_newstate() local 98 ostate = vap->iv_state; in monitor_newstate() 100 __func__, ieee80211_state_name[ostate], in monitor_newstate() 104 switch (ostate) { in monitor_newstate()
|
H A D | ieee80211_adhoc.c | 135 enum ieee80211_state ostate; in adhoc_newstate() local 139 ostate = vap->iv_state; in adhoc_newstate() 141 __func__, ieee80211_state_name[ostate], in adhoc_newstate() 144 if (ostate != IEEE80211_S_SCAN) in adhoc_newstate() 149 switch (ostate) { in adhoc_newstate() 156 if (ostate != IEEE80211_S_INIT) { in adhoc_newstate() 162 switch (ostate) { in adhoc_newstate() 216 switch (ostate) { in adhoc_newstate() 260 ic->ic_newassoc(ni, ostate != IEEE80211_S_RUN); in adhoc_newstate() 269 ieee80211_state_name[ostate], ieee80211_state_name[nstate]); in adhoc_newstate()
|
H A D | ieee80211_wds.c | 345 enum ieee80211_state ostate; in wds_newstate() local 350 ostate = vap->iv_state; in wds_newstate() 352 ieee80211_state_name[ostate], ieee80211_state_name[nstate]); in wds_newstate() 355 if (ostate != IEEE80211_S_SCAN) in wds_newstate() 360 switch (ostate) { in wds_newstate() 367 if (ostate != IEEE80211_S_INIT) { in wds_newstate() 373 switch (ostate) { in wds_newstate() 382 if (ostate == IEEE80211_S_INIT) { in wds_newstate()
|
H A D | ieee80211_sta.c | 232 enum ieee80211_state ostate; in sta_newstate() local 236 ostate = vap->iv_state; in sta_newstate() 238 __func__, ieee80211_state_name[ostate], in sta_newstate() 242 if (ostate != IEEE80211_S_SCAN) in sta_newstate() 249 switch (ostate) { in sta_newstate() 270 if (ostate != IEEE80211_S_INIT) { in sta_newstate() 278 switch (ostate) { in sta_newstate() 339 switch (ostate) { in sta_newstate() 381 switch (ostate) { in sta_newstate() 404 switch (ostate) { in sta_newstate() [all …]
|
H A D | ieee80211_tdma.c | 228 enum ieee80211_state ostate; in tdma_newstate() local 233 ostate = vap->iv_state; in tdma_newstate() 235 __func__, ieee80211_state_name[ostate], in tdma_newstate() 241 (ostate == IEEE80211_S_INIT || ostate == IEEE80211_S_RUN) && in tdma_newstate() 249 if (ostate == IEEE80211_S_RUN) { in tdma_newstate() 269 nstate == IEEE80211_S_RUN && ostate != IEEE80211_S_RUN && in tdma_newstate()
|
H A D | ieee80211_proto.c | 2550 enum ieee80211_state nstate, ostate; in ieee80211_newstate_cb() local 2593 ostate = vap->iv_state; in ieee80211_newstate_cb() 2594 if (nstate == IEEE80211_S_SCAN && ostate != IEEE80211_S_INIT) { in ieee80211_newstate_cb() 2608 ieee80211_state_name[ostate], ieee80211_state_name[nstate], arg); in ieee80211_newstate_cb() 2666 if (ostate == nstate) in ieee80211_newstate_cb() 2723 enum ieee80211_state ostate; in ieee80211_new_state_locked() local 2773 ostate = vap->iv_state; in ieee80211_new_state_locked() 2776 ostate = vap->iv_nstates[nstate_num]; in ieee80211_new_state_locked() 2780 ieee80211_state_name[ostate], ieee80211_state_name[nstate], arg, in ieee80211_new_state_locked() 2784 if (ostate == IEEE80211_S_INIT) { in ieee80211_new_state_locked() [all …]
|
H A D | ieee80211_freebsd.c | 365 uint32_t ostate; in ieee80211_com_vincref() local 367 ostate = atomic_fetchadd_32(&vap->iv_com_state, IEEE80211_COM_REF_ADD); in ieee80211_com_vincref() 369 if (ostate & IEEE80211_COM_DETACHED) { in ieee80211_com_vincref() 374 if (_IEEE80211_MASKSHIFT(ostate, IEEE80211_COM_REF) == in ieee80211_com_vincref() 386 uint32_t ostate; in ieee80211_com_vdecref() local 388 ostate = atomic_fetchadd_32(&vap->iv_com_state, -IEEE80211_COM_REF_ADD); in ieee80211_com_vdecref() 390 KASSERT(_IEEE80211_MASKSHIFT(ostate, IEEE80211_COM_REF) != 0, in ieee80211_com_vdecref() 393 (void) ostate; in ieee80211_com_vdecref()
|
H A D | ieee80211_hostap.c | 157 enum ieee80211_state ostate; in hostap_newstate() local 161 ostate = vap->iv_state; in hostap_newstate() 163 __func__, ieee80211_state_name[ostate], in hostap_newstate() 166 if (ostate != IEEE80211_S_SCAN) in hostap_newstate() 170 switch (ostate) { in hostap_newstate() 184 if (ostate != IEEE80211_S_INIT) { in hostap_newstate() 192 switch (ostate) { in hostap_newstate() 266 switch (ostate) { in hostap_newstate() 334 if (ostate == IEEE80211_S_RUN && isbandchange(ic)) { in hostap_newstate()
|
H A D | ieee80211_mesh.c | 696 enum ieee80211_state ostate; in mesh_newstate() local 700 ostate = vap->iv_state; in mesh_newstate() 702 __func__, ieee80211_state_name[ostate], in mesh_newstate() 705 if (ostate != IEEE80211_S_SCAN) in mesh_newstate() 708 if (nstate != IEEE80211_S_RUN && ostate == IEEE80211_S_RUN) { in mesh_newstate() 714 switch (ostate) { in mesh_newstate() 728 if (ostate != IEEE80211_S_INIT) { in mesh_newstate() 735 switch (ostate) { in mesh_newstate() 777 switch (ostate) { in mesh_newstate() 841 ms->ms_ppath->mpp_newstate(vap, ostate, arg); in mesh_newstate()
|
H A D | ieee80211_hwmp.c | 283 hwmp_newstate(struct ieee80211vap *vap, enum ieee80211_state ostate, int arg) in hwmp_newstate() argument 289 __func__, ieee80211_state_name[ostate], in hwmp_newstate() 292 if (nstate != IEEE80211_S_RUN && ostate == IEEE80211_S_RUN) in hwmp_newstate()
|
/freebsd/contrib/ntp/libntp/ |
H A D | ntp_random.c | 354 register char *ostate = (char *)(&state[-1]); in ntp_initstate() local 394 return(ostate); in ntp_initstate() 424 char *ostate = (char *)(&state[-1]); in ntp_setstate() local 450 return(ostate); in ntp_setstate()
|
/freebsd/lib/libc/stdlib/ |
H A D | random.c | 352 char *ostate = (char *)(&implicit.rst_state[-1]); in initstate() local 381 return (ostate); in initstate() 409 char *ostate = (char *)(&implicit.rst_state[-1]); in setstate() local 429 return (ostate); in setstate()
|
/freebsd/sys/fs/p9fs/ |
H A D | p9fs_vnops.c | 1322 struct open_fid_state ostate; in p9fs_read() local 1338 error = p9fs_get_open_fid(vp, FREAD, ap->a_cred, &ostate); in p9fs_read() 1362 ret = p9_client_read(ostate.vofid, offset, count, io_buffer); in p9fs_read() 1382 p9fs_release_open_fid(vp, ap->a_cred, &ostate); in p9fs_read() 1406 struct open_fid_state ostate; in p9fs_write() local 1414 error = p9fs_get_open_fid(vp, FWRITE, ap->a_cred, &ostate); in p9fs_write() 1462 ret = p9_client_write(ostate.vofid, offset, count, in p9fs_write() 1489 p9fs_release_open_fid(vp, ap->a_cred, &ostate); in p9fs_write() 2009 struct open_fid_state ostate; in p9fs_strategy() local 2022 error = p9fs_get_open_fid(vp, bp->b_iocmd == BIO_READ ? FREAD : FWRITE, cr, &ostate); in p9fs_strategy() [all …]
|
/freebsd/sys/dev/rtwn/ |
H A D | if_rtwn.c | 1121 enum ieee80211_state ostate; in rtwn_newstate() local 1124 ostate = vap->iv_state; in rtwn_newstate() 1126 ieee80211_state_name[ostate], ieee80211_state_name[nstate]); in rtwn_newstate() 1129 ostate == IEEE80211_S_INIT && nstate == IEEE80211_S_RUN) { in rtwn_newstate() 1139 if (ostate == IEEE80211_S_CSA) { in rtwn_newstate() 1152 if (ostate == IEEE80211_S_CSA) { in rtwn_newstate() 1157 if ((ostate == IEEE80211_S_RUN && nstate != IEEE80211_S_CSA) || in rtwn_newstate() 1158 ostate == IEEE80211_S_CSA) { in rtwn_newstate()
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ip_state.c | 3949 int dlen, ostate, nstate, rval, dir; in ipf_tcp_age() local 3959 ostate = tqe->tqe_state[1 - dir]; in ipf_tcp_age() 3968 if (ostate <= IPF_TCPS_ESTABLISHED) { in ipf_tcp_age() 4001 switch (ostate) in ipf_tcp_age() 4107 switch (ostate) in ipf_tcp_age() 4133 if (ostate == IPF_TCPS_FIN_WAIT_1) { in ipf_tcp_age() 4142 if (ostate == IPF_TCPS_FIN_WAIT_1) { in ipf_tcp_age() 4152 } else if (ostate < IPF_TCPS_CLOSE_WAIT) { in ipf_tcp_age() 4183 ostate > IPF_TCPS_CLOSE_WAIT) { in ipf_tcp_age() 4233 if (ostate == IPF_TCPS_LAST_ACK) { in ipf_tcp_age()
|
/freebsd/contrib/sendmail/src/ |
H A D | deliver.c | 5919 int ostate; local 5943 ostate = OSTATE_HEAD; 5955 switch (ostate) 6062 ostate = OSTATE_HEAD; 6064 ostate = OSTATE_CR; 6066 ostate = OSTATE_INLINE; 6086 ostate = OSTATE_HEAD; 6094 ostate = OSTATE_INLINE; 6100 ostate = OSTATE_CR; 6163 ostate = OSTATE_HEAD; [all …]
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_80211.c | 3177 enum ieee80211_state ostate; member 3219 enum ieee80211_state ostate; in lkpi_iv_newstate() local 3224 ostate = vap->iv_state; in lkpi_iv_newstate() 3239 if (ostate == IEEE80211_S_SCAN && nstate != IEEE80211_S_SCAN) in lkpi_iv_newstate() 3252 if (ostate == s->ostate && nstate == s->nstate) { in lkpi_iv_newstate() 3257 ostate, ieee80211_state_name[ostate], in lkpi_iv_newstate() 3270 ostate, ieee80211_state_name[ostate], in lkpi_iv_newstate() 3280 __func__, ostate, ieee80211_state_name[ostate], in lkpi_iv_newstate() 3289 ostate, ieee80211_state_name[ostate], in lkpi_iv_newstate()
|
/freebsd/sys/dev/usb/wlan/ |
H A D | if_rum.c | 964 enum ieee80211_state ostate; in rum_newstate() local 969 ostate = vap->iv_state; in rum_newstate() 971 ieee80211_state_name[ostate], in rum_newstate() 978 if (ostate == IEEE80211_S_SLEEP && vap->iv_opmode == IEEE80211_M_STA) { in rum_newstate() 991 if (ostate == IEEE80211_S_RUN) in rum_newstate() 997 if (ostate == IEEE80211_S_SLEEP) in rum_newstate()
|
H A D | if_mtw.c | 1688 enum ieee80211_state ostate; in mtw_newstate() local 1695 ostate = vap->iv_state; in mtw_newstate() 1697 ieee80211_state_name[ostate], ieee80211_state_name[nstate]); in mtw_newstate() 1703 if (ostate == IEEE80211_S_RUN) { in mtw_newstate() 1710 if (ostate != IEEE80211_S_RUN) in mtw_newstate()
|
H A D | if_rsu.c | 1445 enum ieee80211_state ostate; in rsu_newstate() local 1448 ostate = vap->iv_state; in rsu_newstate() 1451 ieee80211_state_name[ostate], in rsu_newstate() 1455 if (ostate == IEEE80211_S_RUN) { in rsu_newstate()
|
/freebsd/sys/dev/ipw/ |
H A D | if_ipw.c | 852 enum ieee80211_state ostate; in ipw_newstate() local 858 ostate = vap->iv_state; in ipw_newstate() 872 if (ostate == IEEE80211_S_SCAN) in ipw_newstate() 898 if (ostate != IEEE80211_S_AUTH) in ipw_newstate()
|
/freebsd/sys/dev/otus/ |
H A D | if_otus.c | 1187 enum ieee80211_state ostate; in otus_newstate() local 1189 ostate = vap->iv_state; in otus_newstate() 1191 ieee80211_state_name[ostate], in otus_newstate()
|