Home
last modified time | relevance | path

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

12

/openbsd/src/usr.bin/ssh/
Dnchan.c103 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 …]
Dchannels.c514 c->ostate = CHAN_OUTPUT_OPEN; in channel_new()
743 other->ostate = CHAN_OUTPUT_CLOSED; in channel_free()
1015 c->ostate, sshbuf_len(c->output), in channel_format_status()
1259 if (c->ostate == CHAN_OUTPUT_OPEN || in channel_pre_open()
1260 c->ostate == CHAN_OUTPUT_WAIT_DRAIN) { in channel_pre_open()
1263 } else if (c->ostate == CHAN_OUTPUT_WAIT_DRAIN) { in channel_pre_open()
1274 c->ostate == CHAN_OUTPUT_CLOSED)) { in channel_pre_open()
1373 if (c->ostate == CHAN_OUTPUT_OPEN || in channel_force_close()
1374 c->ostate == CHAN_OUTPUT_WAIT_DRAIN) { in channel_force_close()
1404 c->self, c->istate, c->ostate); in channel_pre_x11_open()
[all …]
Dchannels.h132 u_int ostate; /* output to channel (state of transmit half) */ member
/openbsd/src/sys/netinet/
Dtcp_timer.c126 short ostate; in tcp_timer_delack() local
138 ostate = tp->t_state; in tcp_timer_delack()
143 tcp_trace(TA_TIMER, ostate, tp, otp, NULL, TCPT_DELACK, 0); in tcp_timer_delack()
206 short ostate; in tcp_timer_rexmt() local
252 ostate = tp->t_state; in tcp_timer_rexmt()
390 tcp_trace(TA_TIMER, ostate, tp, otp, NULL, TCPT_REXMT, 0); in tcp_timer_rexmt()
401 short ostate; in tcp_timer_persist() local
413 ostate = tp->t_state; in tcp_timer_persist()
439 tcp_trace(TA_TIMER, ostate, tp, otp, NULL, TCPT_PERSIST, 0); in tcp_timer_persist()
450 short ostate; in tcp_timer_keep() local
[all …]
Dtcp_usrreq.c530 short ostate; in tcp_detach() local
539 ostate = tp->t_state; in tcp_detach()
552 tcp_trace(TA_USER, ostate, tp, otp, NULL, PRU_DETACH, 0); in tcp_detach()
565 short ostate; in tcp_bind() local
573 ostate = tp->t_state; in tcp_bind()
578 tcp_trace(TA_USER, ostate, tp, tp, NULL, PRU_BIND, 0); in tcp_bind()
591 short ostate; in tcp_listen() local
600 ostate = tp->t_state; in tcp_listen()
615 tcp_trace(TA_USER, ostate, tp, otp, NULL, PRU_LISTEN, 0); in tcp_listen()
632 short ostate; in tcp_connect() local
[all …]
Dtcp_debug.c124 tcp_trace(short act, short ostate, struct tcpcb *tp, struct tcpcb *otp, in tcp_trace() argument
147 td->td_ostate = ostate; in tcp_trace()
199 printf("%p %s:", otp, tcpstates[ostate]); in tcp_trace()
Dtcp_var.h798 tcp_trace(short act, short ostate, struct tcpcb *tp, struct tcpcb *otp, in tcp_trace() argument
/openbsd/src/gnu/lib/libiberty/src/
Drandom.c259 PTR ostate = (PTR) &state[-1]; in initstate() local
310 return ostate; in initstate()
328 PTR ostate = (PTR) &state[-1]; in setstate() local
361 return ostate; in setstate()
/openbsd/src/lib/libc/stdlib/
Drandom.c270 char *ostate = (char *)(&state[-1]); in initstate() local
311 return(ostate); in initstate()
335 char *ostate = (char *)(&state[-1]); in setstate() local
364 return(ostate); in setstate()
/openbsd/src/sys/net80211/
Dieee80211_proto.c1055 enum ieee80211_state ostate; in ieee80211_newstate() local
1061 ostate = ic->ic_state; in ieee80211_newstate()
1064 ieee80211_state_name[ostate], ieee80211_state_name[nstate]); in ieee80211_newstate()
1075 switch (ostate) { in ieee80211_newstate()
1163 switch (ostate) { in ieee80211_newstate()
1208 if (ostate == IEEE80211_S_RUN) in ieee80211_newstate()
1213 switch (ostate) { in ieee80211_newstate()
1217 ifp->if_xname, ieee80211_state_name[ostate], in ieee80211_newstate()
1248 ic->ic_state = ostate; /* stay RUN */ in ieee80211_newstate()
1260 switch (ostate) { in ieee80211_newstate()
[all …]
/openbsd/src/sys/arch/i386/pci/
Dichpcib.c246 u_int8_t state, ostate, cntl; in ichss_setperf() local
258 ostate = state; in ichss_setperf()
272 if (state != ostate) { in ichss_setperf()
/openbsd/src/sys/dev/usb/
Duthum.c536 int done, state, ostate, curval; in uthum_ntc_tuning() local
573 ostate = state; in uthum_ntc_tuning()
594 if (state != ostate) { in uthum_ntc_tuning()
599 ostate = state; in uthum_ntc_tuning()
Dif_ral.c524 enum ieee80211_state ostate; in ural_task() local
530 ostate = ic->ic_state; in ural_task()
534 if (ostate == IEEE80211_S_RUN) { in ural_task()
Dif_uath.c765 enum ieee80211_state ostate; in uath_task() local
767 ostate = ic->ic_state; in uath_task()
771 if (ostate == IEEE80211_S_RUN) { in uath_task()
Dif_rum.c618 enum ieee80211_state ostate; in rum_task() local
625 ostate = ic->ic_state; in rum_task()
629 if (ostate == IEEE80211_S_RUN) { in rum_task()
/openbsd/src/sbin/iked/
Dpolicy.c389 int ostate = sa->sa_state; in sa_state() local
391 a = print_map(ostate, ikev2_state_map); in sa_state()
395 if (ostate != IKEV2_STATE_INIT && in sa_state()
399 sa->sa_state = ostate; in sa_state()
400 } else if (ostate != sa->sa_state) { in sa_state()
418 if (ostate != sa->sa_state) { in sa_state()
426 switch (ostate) { in sa_state()
/openbsd/src/usr.sbin/trpt/
Dtrpt.c306 tcp_trace(short act, short ostate, struct tcpcb *tp, in tcp_trace() argument
319 printf("%03d %s:%s ", (ntime/10) % 1000, tcpstates[ostate], in tcp_trace()
/openbsd/src/sys/dev/pci/
Dpci.c756 int offset, ostate = state; in pci_set_powerstate() local
794 ostate = reg & PCI_PMCSR_STATE_MASK; in pci_set_powerstate()
799 ostate == PCI_PMCSR_STATE_D3) in pci_set_powerstate()
810 return (ostate); in pci_set_powerstate()
Dif_mwx.c890 enum ieee80211_state ostate; in mwx_newstate() local
893 ostate = ic->ic_state; in mwx_newstate()
896 switch (ostate) { in mwx_newstate()
898 if (nstate != ostate) in mwx_newstate()
902 if (nstate == ostate) { in mwx_newstate()
911 printf("%s: %s %d -> %d\n", DEVNAME(sc), __func__, ostate, nstate); in mwx_newstate()
/openbsd/src/sys/dev/ic/
Dan.c1582 enum ieee80211_state ostate; in an_newstate() local
1585 ostate = ic->ic_state; in an_newstate()
1586 DPRINTF(("an_newstate: %s -> %s\n", ieee80211_state_name[ostate], in an_newstate()
Drtwn.c1063 enum ieee80211_state ostate; in rtwn_newstate() local
1068 ostate = ic->ic_state; in rtwn_newstate()
1070 if (nstate != ostate) in rtwn_newstate()
1072 ieee80211_state_name[ostate], in rtwn_newstate()
1075 if (ostate == IEEE80211_S_RUN) { in rtwn_newstate()
1111 if (ostate != IEEE80211_S_SCAN) { in rtwn_newstate()
Drtw.c2560 int ostate, s; in rtw_led_fastblink() local
2565 ostate = ls->ls_state; in rtw_led_fastblink()
2576 if (ostate != ls->ls_state) in rtw_led_fastblink()
3407 enum ieee80211_state ostate; in rtw_newstate() local
3410 ostate = ic->ic_state; in rtw_newstate()
3420 if (ostate == IEEE80211_S_INIT && nstate != IEEE80211_S_INIT) in rtw_newstate()
3431 if (ostate != IEEE80211_S_SCAN) { in rtw_newstate()
Dmalo.c1083 enum ieee80211_state ostate; in malo_newstate() local
1089 ostate = ic->ic_state; in malo_newstate()
1096 if (ostate == IEEE80211_S_INIT) { in malo_newstate()
/openbsd/src/sys/dev/pcmcia/
Dif_malo.c755 enum ieee80211_state ostate; in cmalo_newstate() local
757 ostate = ic->ic_state; in cmalo_newstate()
759 if (ostate == nstate) in cmalo_newstate()
/openbsd/src/sys/dev/pv/
Dxbf.c323 int ostate = sc->sc_state; in xbf_detach() local
330 if (ostate == XBF_CONNECTED) { in xbf_detach()

12