Home
last modified time | relevance | path

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

12

/freebsd/crypto/openssh/
H A Dnchan.c109 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()
235 if (c->ostate == CHAN_OUTPUT_CLOSED) { in chan_send_eow2()
259 if (c->ostate == CHAN_OUTPUT_OPEN) in chan_rcvd_ieof()
261 if (c->ostate == CHAN_OUTPUT_WAIT_DRAIN && in chan_rcvd_ieof()
283 switch (c->ostate) { in chan_rcvd_oclose()
311 switch (c->ostate) { in chan_write_failed()
[all …]
H A Dchannels.c531 c->ostate = CHAN_OUTPUT_OPEN; in channel_new()
760 other->ostate = CHAN_OUTPUT_CLOSED; in channel_free()
1031 c->ostate, sshbuf_len(c->output), in channel_format_status()
1274 if (c->ostate == CHAN_OUTPUT_OPEN || in channel_pre_open()
1275 c->ostate == CHAN_OUTPUT_WAIT_DRAIN) { in channel_pre_open()
1289 c->ostate == CHAN_OUTPUT_CLOSED)) { in channel_pre_open()
1388 if (c->ostate == CHAN_OUTPUT_OPEN || in channel_force_close()
1389 c->ostate == CHAN_OUTPUT_WAIT_DRAIN) { in channel_force_close()
1419 c->self, c->istate, c->ostate); in channel_pre_x11_open()
1438 if (c->ostate == CHAN_OUTPUT_OPEN || in channel_pre_mux_client()
[all …]
H A Dchannels.h133 u_int ostate; /* output to channel (state of transmit half) */ member
/freebsd/sys/net80211/
H A Dieee80211_monitor.c94 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 Dieee80211_adhoc.c135 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()
261 ic->ic_newassoc(ni, ostate != IEEE80211_S_RUN); in adhoc_newstate()
270 ieee80211_state_name[ostate], ieee80211_state_name[nstate]); in adhoc_newstate()
H A Dieee80211_wds.c345 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 Dieee80211_sta.c234 enum ieee80211_state ostate; in sta_newstate() local
238 ostate = vap->iv_state; in sta_newstate()
244 if (ostate != IEEE80211_S_SCAN) in sta_newstate()
251 switch (ostate) { in sta_newstate()
272 if (ostate != IEEE80211_S_INIT) { in sta_newstate()
280 switch (ostate) { in sta_newstate()
341 switch (ostate) { in sta_newstate()
383 switch (ostate) { in sta_newstate()
406 switch (ostate) { in sta_newstate()
438 if (ostate != IEEE80211_S_RUN) in sta_newstate()
[all …]
H A Dieee80211_tdma.c228 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 Dieee80211_proto.c2550 enum ieee80211_state nstate, ostate; in ieee80211_newstate_cb() local
2593 ostate = vap->iv_state; 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()
2784 if (ostate == IEEE80211_S_INIT) { in ieee80211_new_state_locked()
2819 ieee80211_state_name[ostate], in ieee80211_new_state_locked()
2837 ieee80211_state_name[ostate], in ieee80211_new_state_locked()
2855 ieee80211_state_name[ostate], in ieee80211_new_state_locked()
[all …]
H A Dieee80211_freebsd.c365 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 Dieee80211_hostap.c159 enum ieee80211_state ostate; in hostap_newstate() local
163 ostate = vap->iv_state; in hostap_newstate()
165 __func__, ieee80211_state_name[ostate], in hostap_newstate()
168 if (ostate != IEEE80211_S_SCAN) in hostap_newstate()
172 switch (ostate) { in hostap_newstate()
186 if (ostate != IEEE80211_S_INIT) { in hostap_newstate()
194 switch (ostate) { in hostap_newstate()
268 switch (ostate) { in hostap_newstate()
337 if (ostate == IEEE80211_S_RUN && isbandchange(ic)) { in hostap_newstate()
H A Dieee80211_mesh.c696 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 Dieee80211_hwmp.c283 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 Dntp_random.c354 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 Drandom.c352 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/dev/rtwn/
H A Dif_rtwn.c1048 enum ieee80211_state ostate; in rtwn_newstate() local
1051 ostate = vap->iv_state; in rtwn_newstate()
1053 ieee80211_state_name[ostate], ieee80211_state_name[nstate]); in rtwn_newstate()
1056 ostate == IEEE80211_S_INIT && nstate == IEEE80211_S_RUN) { in rtwn_newstate()
1066 if (ostate == IEEE80211_S_CSA) { in rtwn_newstate()
1079 if (ostate == IEEE80211_S_CSA) { in rtwn_newstate()
1084 if ((ostate == IEEE80211_S_RUN && nstate != IEEE80211_S_CSA) || in rtwn_newstate()
1085 ostate == IEEE80211_S_CSA) { in rtwn_newstate()
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_state.c3949 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/sys/compat/linuxkpi/common/src/
H A Dlinux_80211.c2512 enum ieee80211_state ostate; member
2554 enum ieee80211_state ostate; in lkpi_iv_newstate() local
2559 ostate = vap->iv_state; in lkpi_iv_newstate()
2574 if (ostate == IEEE80211_S_SCAN && nstate != IEEE80211_S_SCAN) in lkpi_iv_newstate()
2587 if (ostate == s->ostate && nstate == s->nstate) { in lkpi_iv_newstate()
2592 ostate, ieee80211_state_name[ostate], in lkpi_iv_newstate()
2605 ostate, ieee80211_state_name[ostate], in lkpi_iv_newstate()
2615 __func__, ostate, ieee80211_state_name[ostate], in lkpi_iv_newstate()
2624 ostate, ieee80211_state_name[ostate], in lkpi_iv_newstate()
/freebsd/contrib/sendmail/src/
H A Ddeliver.c5919 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/dev/usb/wlan/
H A Dif_rum.c965 enum ieee80211_state ostate; in rum_newstate() local
970 ostate = vap->iv_state; in rum_newstate()
972 ieee80211_state_name[ostate], in rum_newstate()
979 if (ostate == IEEE80211_S_SLEEP && vap->iv_opmode == IEEE80211_M_STA) { in rum_newstate()
992 if (ostate == IEEE80211_S_RUN) in rum_newstate()
998 if (ostate == IEEE80211_S_SLEEP) in rum_newstate()
H A Dif_rsu.c1446 enum ieee80211_state ostate; in rsu_newstate() local
1449 ostate = vap->iv_state; in rsu_newstate()
1452 ieee80211_state_name[ostate], in rsu_newstate()
1456 if (ostate == IEEE80211_S_RUN) { in rsu_newstate()
/freebsd/sys/dev/ipw/
H A Dif_ipw.c852 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 Dif_otus.c1187 enum ieee80211_state ostate; in otus_newstate() local
1189 ostate = vap->iv_state; in otus_newstate()
1191 ieee80211_state_name[ostate], in otus_newstate()
/freebsd/sys/dev/ath/
H A Dif_ath.c5825 enum ieee80211_state ostate = vap->iv_state; in ath_newstate() local
5839 ieee80211_state_name[ostate], in ath_newstate()
5876 if (ostate == IEEE80211_S_CSA && nstate == IEEE80211_S_RUN) in ath_newstate()
6076 if (ostate != IEEE80211_S_RUN && in ath_newstate()
6077 ostate != IEEE80211_S_SLEEP) { in ath_newstate()
/freebsd/sys/dev/mwl/
H A Dif_mwl.c4080 enum ieee80211_state ostate = vap->iv_state; in mwl_newstate() local
4085 ieee80211_state_name[ostate], ieee80211_state_name[nstate]); in mwl_newstate()
4091 if (ostate == IEEE80211_S_CAC) { in mwl_newstate()
4157 if (ostate == IEEE80211_S_CAC) { in mwl_newstate()

12