| /freebsd/crypto/openssh/ |
| H A D | nchan.c | 103 if (c->ostate > CHAN_OUTPUT_CLOSED || next > CHAN_OUTPUT_CLOSED) in chan_set_ostate() 104 fatal("chan_set_ostate: bad state %d -> %d", c->ostate, next); in chan_set_ostate() 105 debug2("channel %d: output %s -> %s", c->self, ostates[c->ostate], in chan_set_ostate() 107 c->ostate = next; in chan_set_ostate() 157 switch (c->ostate) { in chan_obuf_empty() 164 c->self, c->ostate); in chan_obuf_empty() 210 if (c->ostate != CHAN_OUTPUT_CLOSED || in chan_send_close2() 213 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() [all …]
|
| H A D | channels.c | 547 c->ostate = CHAN_OUTPUT_OPEN; in channel_new() 784 other->ostate = CHAN_OUTPUT_CLOSED; in channel_free() 1077 c->ostate, sshbuf_len(c->output), in channel_format_status() 1339 if (c->ostate == CHAN_OUTPUT_OPEN || in channel_pre_open() 1340 c->ostate == CHAN_OUTPUT_WAIT_DRAIN) { in channel_pre_open() 1343 } else if (c->ostate == CHAN_OUTPUT_WAIT_DRAIN) { in channel_pre_open() 1354 c->ostate == CHAN_OUTPUT_CLOSED)) { in channel_pre_open() 1458 if (c->ostate == CHAN_OUTPUT_OPEN || in channel_force_close() 1459 c->ostate == CHAN_OUTPUT_WAIT_DRAIN) { in channel_force_close() 1489 c->self, c->istate, c->ostate); in channel_pre_x11_open() [all …]
|
| H A D | channels.h | 137 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 | 134 enum ieee80211_state ostate; in adhoc_newstate() local 138 ostate = vap->iv_state; in adhoc_newstate() 140 __func__, ieee80211_state_name[ostate], in adhoc_newstate() 143 if (ostate != IEEE80211_S_SCAN) in adhoc_newstate() 148 switch (ostate) { in adhoc_newstate() 155 if (ostate != IEEE80211_S_INIT) { in adhoc_newstate() 161 switch (ostate) { in adhoc_newstate() 215 switch (ostate) { in adhoc_newstate() 259 ic->ic_newassoc(ni, ostate != IEEE80211_S_RUN); in adhoc_newstate() 268 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 | 231 enum ieee80211_state ostate; in sta_newstate() local 235 ostate = vap->iv_state; in sta_newstate() 237 __func__, ieee80211_state_name[ostate], in sta_newstate() 241 if (ostate != IEEE80211_S_SCAN) in sta_newstate() 248 switch (ostate) { in sta_newstate() 269 if (ostate != IEEE80211_S_INIT) { in sta_newstate() 277 switch (ostate) { in sta_newstate() 338 switch (ostate) { in sta_newstate() 380 switch (ostate) { in sta_newstate() 403 switch (ostate) { in sta_newstate() [all …]
|
| H A D | ieee80211_tdma.c | 229 enum ieee80211_state ostate; in tdma_newstate() local 234 ostate = vap->iv_state; in tdma_newstate() 236 __func__, ieee80211_state_name[ostate], in tdma_newstate() 242 (ostate == IEEE80211_S_INIT || ostate == IEEE80211_S_RUN) && in tdma_newstate() 250 if (ostate == IEEE80211_S_RUN) { in tdma_newstate() 270 nstate == IEEE80211_S_RUN && ostate != IEEE80211_S_RUN && in tdma_newstate()
|
| H A D | ieee80211_proto.c | 2549 enum ieee80211_state nstate, ostate; in ieee80211_newstate_cb() local 2592 ostate = vap->iv_state; in ieee80211_newstate_cb() 2593 if (nstate == IEEE80211_S_SCAN && ostate != IEEE80211_S_INIT) { in ieee80211_newstate_cb() 2607 ieee80211_state_name[ostate], ieee80211_state_name[nstate], arg); in ieee80211_newstate_cb() 2665 if (ostate == nstate) in ieee80211_newstate_cb() 2722 enum ieee80211_state ostate; in ieee80211_new_state_locked() local 2772 ostate = vap->iv_state; in ieee80211_new_state_locked() 2775 ostate = vap->iv_nstates[nstate_num]; in ieee80211_new_state_locked() 2779 ieee80211_state_name[ostate], ieee80211_state_name[nstate], arg, in ieee80211_new_state_locked() 2783 if (ostate == IEEE80211_S_INIT) { in ieee80211_new_state_locked() [all …]
|
| H A D | ieee80211_freebsd.c | 367 uint32_t ostate; in ieee80211_com_vincref() local 369 ostate = atomic_fetchadd_32(&vap->iv_com_state, IEEE80211_COM_REF_ADD); in ieee80211_com_vincref() 371 if (ostate & IEEE80211_COM_DETACHED) { in ieee80211_com_vincref() 376 if (_IEEE80211_MASKSHIFT(ostate, IEEE80211_COM_REF) == in ieee80211_com_vincref() 388 uint32_t ostate; in ieee80211_com_vdecref() local 390 ostate = atomic_fetchadd_32(&vap->iv_com_state, -IEEE80211_COM_REF_ADD); in ieee80211_com_vdecref() 392 KASSERT(_IEEE80211_MASKSHIFT(ostate, IEEE80211_COM_REF) != 0, in ieee80211_com_vdecref() 395 (void) ostate; in ieee80211_com_vdecref()
|
| H A D | ieee80211_hostap.c | 156 enum ieee80211_state ostate; in hostap_newstate() local 160 ostate = vap->iv_state; in hostap_newstate() 162 __func__, ieee80211_state_name[ostate], in hostap_newstate() 165 if (ostate != IEEE80211_S_SCAN) in hostap_newstate() 169 switch (ostate) { in hostap_newstate() 183 if (ostate != IEEE80211_S_INIT) { in hostap_newstate() 191 switch (ostate) { in hostap_newstate() 265 switch (ostate) { in hostap_newstate() 333 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 | 284 hwmp_newstate(struct ieee80211vap *vap, enum ieee80211_state ostate, int arg) in hwmp_newstate() argument 290 __func__, ieee80211_state_name[ostate], in hwmp_newstate() 293 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/contrib/less/ |
| H A D | line.c | 151 osc8_state ostate; /* State while processing OSC8 sequence */ member 689 pansi->ostate = OSC_START; in ansi_start() 726 static ansi_state osc_return(struct ansi_state *pansi, osc8_state ostate, ansi_state astate) in osc_return() argument 728 pansi->ostate = ostate; in osc_return() 746 switch (pansi->ostate) in ansi_step2() 760 pansi->ostate = OSC_START; in ansi_step2() 791 pansi->ostate == OSC8_URI ? OSC8_URI_CSI : OSC_STRING_CSI, ANSI_MID); in ansi_step2() 801 return osc_return(pansi, pansi->ostate == OSC8_URI_CSI ? OSC8_URI : OSC_STRING, ANSI_MID); in ansi_step2() 826 return pansi->ostate; in ansi_osc8_state() 1430 switch (line_ansi->ostate) in add_attr_normal()
|
| H A D | search.c | 1304 osc8_state ostate = ansi_osc8_state(pansi); in osc8_parse() local 1305 if (ostate == OSC8_NOT) in osc8_parse() 1307 switch (ostate) in osc8_parse()
|
| /freebsd/sys/fs/p9fs/ |
| H A D | p9fs_vnops.c | 1366 struct open_fid_state ostate; in p9fs_read() local 1382 error = p9fs_get_open_fid(vp, FREAD, ap->a_cred, &ostate); in p9fs_read() 1406 ret = p9_client_read(ostate.vofid, offset, count, io_buffer); in p9fs_read() 1426 p9fs_release_open_fid(vp, ap->a_cred, &ostate); in p9fs_read() 1450 struct open_fid_state ostate; in p9fs_write() local 1458 error = p9fs_get_open_fid(vp, FWRITE, ap->a_cred, &ostate); in p9fs_write() 1506 ret = p9_client_write(ostate.vofid, offset, count, in p9fs_write() 1533 p9fs_release_open_fid(vp, ap->a_cred, &ostate); in p9fs_write() 2059 struct open_fid_state ostate; in p9fs_strategy() local 2072 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 | 1134 enum ieee80211_state ostate; in rtwn_newstate() local 1137 ostate = vap->iv_state; in rtwn_newstate() 1139 ieee80211_state_name[ostate], ieee80211_state_name[nstate]); in rtwn_newstate() 1142 ostate == IEEE80211_S_INIT && nstate == IEEE80211_S_RUN) { in rtwn_newstate() 1152 if (ostate == IEEE80211_S_CSA) { in rtwn_newstate() 1165 if (ostate == IEEE80211_S_CSA) { in rtwn_newstate() 1170 if ((ostate == IEEE80211_S_RUN && nstate != IEEE80211_S_CSA) || in rtwn_newstate() 1171 ostate == IEEE80211_S_CSA) { in rtwn_newstate()
|
| /freebsd/sys/netpfil/ipfilter/netinet/ |
| H A D | ip_state.c | 3937 int dlen, ostate, nstate, rval, dir; in ipf_tcp_age() local 3947 ostate = tqe->tqe_state[1 - dir]; in ipf_tcp_age() 3956 if (ostate <= IPF_TCPS_ESTABLISHED) { in ipf_tcp_age() 3989 switch (ostate) in ipf_tcp_age() 4095 switch (ostate) in ipf_tcp_age() 4121 if (ostate == IPF_TCPS_FIN_WAIT_1) { in ipf_tcp_age() 4130 if (ostate == IPF_TCPS_FIN_WAIT_1) { in ipf_tcp_age() 4140 } else if (ostate < IPF_TCPS_CLOSE_WAIT) { in ipf_tcp_age() 4171 ostate > IPF_TCPS_CLOSE_WAIT) { in ipf_tcp_age() 4221 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/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 | 1736 enum ieee80211_state ostate; in mtw_newstate() local 1743 ostate = vap->iv_state; in mtw_newstate() 1745 ieee80211_state_name[ostate], ieee80211_state_name[nstate]); in mtw_newstate() 1751 if (ostate == IEEE80211_S_RUN) { in mtw_newstate() 1758 if (ostate != IEEE80211_S_RUN) in mtw_newstate()
|
| /freebsd/sys/dev/ipw/ |
| H A D | if_ipw.c | 854 enum ieee80211_state ostate; in ipw_newstate() local 860 ostate = vap->iv_state; in ipw_newstate() 874 if (ostate == IEEE80211_S_SCAN) in ipw_newstate() 900 if (ostate != IEEE80211_S_AUTH) in ipw_newstate()
|
| /freebsd/sys/compat/linuxkpi/common/src/ |
| H A D | linux_80211.c | 3960 enum ieee80211_state ostate; member 4002 enum ieee80211_state ostate; in lkpi_iv_newstate() local 4007 ostate = vap->iv_state; in lkpi_iv_newstate() 4035 if (ostate == s->ostate && nstate == s->nstate) { in lkpi_iv_newstate() 4040 ostate, ieee80211_state_name[ostate], in lkpi_iv_newstate() 4053 ostate, ieee80211_state_name[ostate], in lkpi_iv_newstate() 4063 __func__, ostate, ieee80211_state_name[ostate], in lkpi_iv_newstate() 4072 ostate, ieee80211_state_name[ostate], in lkpi_iv_newstate()
|