Home
last modified time | relevance | path

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

12

/dragonfly/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.c406 c->ostate = CHAN_OUTPUT_OPEN; in channel_new()
627 other->ostate = CHAN_OUTPUT_CLOSED; in channel_free()
879 c->ostate, sshbuf_len(c->output), in channel_format_status()
1121 if (c->ostate == CHAN_OUTPUT_OPEN || in channel_pre_open()
1122 c->ostate == CHAN_OUTPUT_WAIT_DRAIN) { in channel_pre_open()
1136 c->ostate == CHAN_OUTPUT_CLOSED)) { in channel_pre_open()
1238 c->self, c->istate, c->ostate); in channel_pre_x11_open()
1262 if (c->ostate == CHAN_OUTPUT_OPEN || in channel_pre_mux_client()
1263 c->ostate == CHAN_OUTPUT_WAIT_DRAIN) { in channel_pre_mux_client()
1266 else if (c->ostate == CHAN_OUTPUT_WAIT_DRAIN) in channel_pre_mux_client()
[all …]
H A Dchannels.h133 u_int ostate; /* output to channel (state of transmit half) */ member
/dragonfly/sys/netproto/802_11/wlan/
H A Dieee80211_monitor.c97 enum ieee80211_state ostate; in monitor_newstate() local
101 ostate = vap->iv_state; in monitor_newstate()
103 __func__, ieee80211_state_name[ostate], in monitor_newstate()
107 switch (ostate) { in monitor_newstate()
H A Dieee80211_adhoc.c137 enum ieee80211_state ostate; in adhoc_newstate() local
141 ostate = vap->iv_state; in adhoc_newstate()
143 __func__, ieee80211_state_name[ostate], in adhoc_newstate()
146 if (ostate != IEEE80211_S_SCAN) in adhoc_newstate()
151 switch (ostate) { in adhoc_newstate()
158 if (ostate != IEEE80211_S_INIT) { in adhoc_newstate()
164 switch (ostate) { in adhoc_newstate()
217 switch (ostate) { in adhoc_newstate()
249 ic->ic_newassoc(ni, ostate != IEEE80211_S_RUN); in adhoc_newstate()
258 ieee80211_state_name[ostate], ieee80211_state_name[nstate]); in adhoc_newstate()
H A Dieee80211_wds.c348 enum ieee80211_state ostate; in wds_newstate() local
353 ostate = vap->iv_state; in wds_newstate()
355 ieee80211_state_name[ostate], ieee80211_state_name[nstate]); in wds_newstate()
358 if (ostate != IEEE80211_S_SCAN) in wds_newstate()
364 switch (ostate) { in wds_newstate()
371 if (ostate != IEEE80211_S_INIT) { in wds_newstate()
377 switch (ostate) { in wds_newstate()
386 if (ostate == IEEE80211_S_INIT) { in wds_newstate()
H A Dieee80211_sta.c236 enum ieee80211_state ostate; in sta_newstate() local
240 ostate = vap->iv_state; in sta_newstate()
246 if (ostate != IEEE80211_S_SCAN) in sta_newstate()
253 switch (ostate) { in sta_newstate()
274 if (ostate != IEEE80211_S_INIT) { in sta_newstate()
282 switch (ostate) { in sta_newstate()
343 switch (ostate) { in sta_newstate()
385 switch (ostate) { in sta_newstate()
408 switch (ostate) { in sta_newstate()
440 if (ostate != IEEE80211_S_RUN) in sta_newstate()
[all …]
H A Dieee80211_proto.c1934 enum ieee80211_state nstate, ostate; in ieee80211_newstate_cb() local
1961 ostate = vap->iv_state; in ieee80211_newstate_cb()
1993 if (ostate == nstate) in ieee80211_newstate_cb()
2074 enum ieee80211_state ostate; in ieee80211_new_state_locked() local
2126 ostate = vap->iv_state; in ieee80211_new_state_locked()
2133 if (ostate == IEEE80211_S_INIT) { in ieee80211_new_state_locked()
2146 __func__, ieee80211_state_name[ostate], in ieee80211_new_state_locked()
2168 ieee80211_state_name[ostate], in ieee80211_new_state_locked()
2186 ieee80211_state_name[ostate], in ieee80211_new_state_locked()
2204 ieee80211_state_name[ostate], in ieee80211_new_state_locked()
[all …]
H A Dieee80211_tdma.c233 enum ieee80211_state ostate; in tdma_newstate() local
238 ostate = vap->iv_state; in tdma_newstate()
240 __func__, ieee80211_state_name[ostate], in tdma_newstate()
246 (ostate == IEEE80211_S_INIT || ostate == IEEE80211_S_RUN) && in tdma_newstate()
254 if (ostate == IEEE80211_S_RUN) { in tdma_newstate()
273 nstate == IEEE80211_S_RUN && ostate != IEEE80211_S_RUN && in tdma_newstate()
H A Dieee80211_hostap.c161 enum ieee80211_state ostate; in hostap_newstate() local
165 ostate = vap->iv_state; in hostap_newstate()
167 __func__, ieee80211_state_name[ostate], in hostap_newstate()
170 if (ostate != IEEE80211_S_SCAN) in hostap_newstate()
174 switch (ostate) { in hostap_newstate()
187 if (ostate != IEEE80211_S_INIT) { in hostap_newstate()
195 switch (ostate) { in hostap_newstate()
267 switch (ostate) { in hostap_newstate()
335 if (ostate == IEEE80211_S_RUN && isbandchange(ic)) { in hostap_newstate()
H A Dieee80211_mesh.c712 enum ieee80211_state ostate; in mesh_newstate() local
716 ostate = vap->iv_state; in mesh_newstate()
718 __func__, ieee80211_state_name[ostate], in mesh_newstate()
721 if (ostate != IEEE80211_S_SCAN) in mesh_newstate()
724 if (nstate != IEEE80211_S_RUN && ostate == IEEE80211_S_RUN) { in mesh_newstate()
730 switch (ostate) { in mesh_newstate()
744 if (ostate != IEEE80211_S_INIT) { in mesh_newstate()
751 switch (ostate) { in mesh_newstate()
793 switch (ostate) { in mesh_newstate()
858 ms->ms_ppath->mpp_newstate(vap, ostate, arg); in mesh_newstate()
H A Dieee80211_hwmp.c291 hwmp_newstate(struct ieee80211vap *vap, enum ieee80211_state ostate, int arg) in hwmp_newstate() argument
297 __func__, ieee80211_state_name[ostate], in hwmp_newstate()
300 if (nstate != IEEE80211_S_RUN && ostate == IEEE80211_S_RUN) in hwmp_newstate()
/dragonfly/sys/netinet/
H A Dtcp_timer.c273 int ostate; in tcp_timer_2msl_handler() local
277 ostate = tp->t_state; in tcp_timer_2msl_handler()
295 tcp_trace(TA_USER, ostate, tp, NULL, NULL, PRU_SLOWTIMO); in tcp_timer_2msl_handler()
322 int ostate = tp->t_state; in tcp_timer_keep_handler() local
366 tcp_trace(TA_USER, ostate, tp, NULL, NULL, PRU_SLOWTIMO); in tcp_timer_keep_handler()
376 tcp_trace(TA_USER, ostate, tp, NULL, NULL, PRU_SLOWTIMO); in tcp_timer_keep_handler()
402 int ostate; in tcp_timer_persist_handler() local
406 ostate = tp->t_state; in tcp_timer_persist_handler()
435 tcp_trace(TA_USER, ostate, tp, NULL, NULL, PRU_SLOWTIMO); in tcp_timer_persist_handler()
524 int ostate; in tcp_timer_rexmt_handler() local
[all …]
H A Dtcp_debug.c76 tcp_trace(short act, short ostate, struct tcpcb *tp, void *ipgen, in tcp_trace() argument
98 td->td_ostate = ostate; in tcp_trace()
150 kprintf("%p %s:", tp, tcpstates[ostate]); in tcp_trace()
H A Dtcp_input.c670 short ostate = 0; in tcp_input() local
939 ostate = tp->t_state; in tcp_input()
2541 tcp_trace(TA_INPUT, ostate, tp, tcp_saveipgen, &tcp_savetcp, 0); in tcp_input()
2587 tcp_trace(TA_DROP, ostate, tp, tcp_saveipgen, &tcp_savetcp, 0); in tcp_input()
2626 tcp_trace(TA_DROP, ostate, tp, tcp_saveipgen, &tcp_savetcp, 0); in tcp_input()
2649 tcp_trace(TA_DROP, ostate, tp, tcp_saveipgen, &tcp_savetcp, 0); in tcp_input()
H A Dtcp_usrreq.c152 #define TCPDEBUG0 int ostate = 0
153 #define TCPDEBUG1() ostate = tp ? tp->t_state : 0
155 tcp_trace(TA_USER, ostate, tp, 0, 0, req)
/dragonfly/sys/vfs/hammer2/
H A Dhammer2_ccms.c167 ccms_thread_lock_temp_restore(ccms_cst_t *cst, ccms_state_t ostate) in ccms_thread_lock_temp_restore() argument
169 ccms_thread_lock(cst, ostate); in ccms_thread_lock_temp_restore()
210 ccms_thread_lock_downgrade(ccms_cst_t *cst, ccms_state_t ostate) in ccms_thread_lock_downgrade() argument
212 if (ostate == CCMS_STATE_SHARED) { in ccms_thread_lock_downgrade()
285 ccms_thread_unlock_upgraded(ccms_cst_t *cst, ccms_state_t ostate) in ccms_thread_unlock_upgraded() argument
287 if (ostate == CCMS_STATE_SHARED) { in ccms_thread_unlock_upgraded()
H A Dhammer2_ccms.h184 void ccms_thread_lock_temp_restore(ccms_cst_t *cst, ccms_state_t ostate);
186 void ccms_thread_lock_downgrade(ccms_cst_t *cst, ccms_state_t ostate);
188 void ccms_thread_unlock_upgraded(ccms_cst_t *cst, ccms_state_t ostate);
H A Dhammer2_inode.c494 hammer2_inode_lock_temp_restore(hammer2_inode_t *ip, hammer2_mtx_state_t ostate) in hammer2_inode_lock_temp_restore() argument
496 hammer2_mtx_temp_restore(&ip->lock, ostate); in hammer2_inode_lock_temp_restore()
698 hammer2_mtx_state_t ostate; in hammer2_igetv() local
701 ostate = hammer2_inode_lock_temp_release(ip); in hammer2_igetv()
704 hammer2_inode_lock_temp_restore(ip, ostate); in hammer2_igetv()
707 hammer2_inode_lock_temp_restore(ip, ostate); in hammer2_igetv()
/dragonfly/lib/libc/stdlib/
H A Drandom.c357 char *ostate = (char *)(&state[-1]); in initstate() local
397 return(ostate); in initstate()
428 char *ostate = (char *)(&state[-1]); in setstate() local
454 return(ostate); in setstate()
/dragonfly/sys/dev/drm/include/linux/
H A Dsched.h214 long ostate; in wake_up_process() local
222 ostate = tsk->state; in wake_up_process()
/dragonfly/usr.sbin/makefs/hammer2/
H A Dhammer2_inode.c498 hammer2_inode_lock_temp_restore(hammer2_inode_t *ip, hammer2_mtx_state_t ostate) in hammer2_inode_lock_temp_restore() argument
500 hammer2_mtx_temp_restore(&ip->lock, ostate); in hammer2_inode_lock_temp_restore()
705 hammer2_mtx_state_t ostate; in hammer2_igetv() local
708 ostate = hammer2_inode_lock_temp_release(ip); in hammer2_igetv()
711 hammer2_inode_lock_temp_restore(ip, ostate); in hammer2_igetv()
714 hammer2_inode_lock_temp_restore(ip, ostate); in hammer2_igetv()
/dragonfly/usr.sbin/trpt/
H A Dtrpt.c299 tcp_trace(short act, short ostate, struct tcpcb *atp __unused, in tcp_trace() argument
329 printf("%03ld %s:%s ",(long)(ntime/10) % 1000, tcpstates[ostate], in tcp_trace()
/dragonfly/sys/bus/u4b/wlan/
H A Dif_rum.c922 enum ieee80211_state ostate; in rum_newstate() local
927 ostate = vap->iv_state; in rum_newstate()
929 ieee80211_state_name[ostate], in rum_newstate()
936 if (ostate == IEEE80211_S_SLEEP && vap->iv_opmode == IEEE80211_M_STA) { in rum_newstate()
949 if (ostate == IEEE80211_S_RUN) in rum_newstate()
955 if (ostate == IEEE80211_S_SLEEP) in rum_newstate()
/dragonfly/sys/dev/netif/ath/ath/
H A Dif_ath.c5618 enum ieee80211_state ostate = vap->iv_state; local
5632 ieee80211_state_name[ostate],
5673 if (ostate == IEEE80211_S_CSA && nstate == IEEE80211_S_RUN)
5811 if (ostate != IEEE80211_S_RUN &&
5812 ostate != IEEE80211_S_SLEEP) {

12