Home
last modified time | relevance | path

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

12

/netbsd/crypto/external/bsd/openssh/dist/
H A Dnchan.c110 c->ostate = next; in chan_set_ostate()
160 switch (c->ostate) { in chan_obuf_empty()
167 c->self, c->ostate); in chan_obuf_empty()
213 if (c->ostate != CHAN_OUTPUT_CLOSED || in chan_send_close2()
216 c->self, c->istate, c->ostate); in chan_send_close2()
236 if (c->ostate == CHAN_OUTPUT_CLOSED) { in chan_send_eow2()
260 if (c->ostate == CHAN_OUTPUT_OPEN) in chan_rcvd_ieof()
262 if (c->ostate == CHAN_OUTPUT_WAIT_DRAIN && in chan_rcvd_ieof()
284 switch (c->ostate) { in chan_rcvd_oclose()
312 switch (c->ostate) { in chan_write_failed()
[all …]
H A Dchannels.c486 c->ostate = CHAN_OUTPUT_OPEN; in channel_new()
717 other->ostate = CHAN_OUTPUT_CLOSED; in channel_free()
971 c->ostate, sshbuf_len(c->output), in channel_format_status()
1235 if (c->ostate == CHAN_OUTPUT_OPEN || in channel_pre_open()
1236 c->ostate == CHAN_OUTPUT_WAIT_DRAIN) { in channel_pre_open()
1250 c->ostate == CHAN_OUTPUT_CLOSED)) { in channel_pre_open()
1349 if (c->ostate == CHAN_OUTPUT_OPEN || in channel_force_close()
1350 c->ostate == CHAN_OUTPUT_WAIT_DRAIN) { in channel_force_close()
1380 c->self, c->istate, c->ostate); in channel_pre_x11_open()
1399 if (c->ostate == CHAN_OUTPUT_OPEN || in channel_pre_mux_client()
[all …]
H A Dchannels.h135 u_int ostate; /* output to channel (state of transmit half) */ member
/netbsd/sys/netinet/
H A Dtcp_timer.c307 short ostate; in tcp_timer_rexmt() local
348 ostate = tp->t_state; in tcp_timer_rexmt()
440 tcp_trace(TA_USER, ostate, tp, NULL, in tcp_timer_rexmt()
454 short ostate; in tcp_timer_persist() local
470 ostate = tp->t_state; in tcp_timer_persist()
504 tcp_trace(TA_USER, ostate, tp, NULL, in tcp_timer_persist()
517 short ostate; in tcp_timer_keep() local
533 ostate = tp->t_state; in tcp_timer_keep()
576 tcp_trace(TA_USER, ostate, tp, NULL, in tcp_timer_keep()
596 short ostate; in tcp_timer_2msl() local
[all …]
H A Dtcp_usrreq.c523 int ostate = 0; in tcp_accept() local
564 int ostate = 0; in tcp_bind() local
606 int ostate = 0; in tcp_listen() local
648 int ostate = 0; in tcp_connect() local
731 int ostate = 0; in tcp_connect2() local
753 int ostate = 0; in tcp_disconnect() local
788 int ostate = 0; in tcp_shutdown() local
817 int ostate = 0; in tcp_abort() local
867 int ostate = 0; in tcp_peeraddr() local
897 int ostate = 0; in tcp_sockaddr() local
[all …]
H A Dtcp_debug.c111 tcp_trace(short act, short ostate, struct tcpcb *tp, struct mbuf *m, int req) in tcp_trace() argument
122 td->td_ostate = ostate; in tcp_trace()
161 printf("%p %s:", tp, tcpstates[ostate]); in tcp_trace()
H A Dtcp_input.c1192 short ostate = 0; in tcp_input() local
1495 ostate = tp->t_state; in tcp_input()
2842 tcp_trace(TA_INPUT, ostate, tp, tcp_saveti, 0); in tcp_input()
2944 tcp_trace(TA_DROP, ostate, tp, tcp_saveti, 0); in tcp_input()
/netbsd/sys/arch/i386/pci/
H A Dpiixpcib.c398 int ostate, nstate, error; in speedstep_sysctl_helper() local
405 ostate = 1; in speedstep_sysctl_helper()
407 ostate = 0; in speedstep_sysctl_helper()
408 nstate = ostate; in speedstep_sysctl_helper()
425 ostate = 1; in speedstep_sysctl_helper()
427 ostate = 0; in speedstep_sysctl_helper()
429 if (ostate != nstate) in speedstep_sysctl_helper()
/netbsd/sys/external/bsd/common/linux/
H A Dlinux_tasklet.c282 unsigned ostate, nstate; in tasklet_queue_schedule() local
286 ostate = atomic_load_relaxed(&tasklet->tl_state); in tasklet_queue_schedule()
287 if (ostate & TASKLET_SCHEDULED) in tasklet_queue_schedule()
289 nstate = ostate | TASKLET_SCHEDULED; in tasklet_queue_schedule()
290 } while (atomic_cas_uint(&tasklet->tl_state, ostate, nstate) in tasklet_queue_schedule()
291 != ostate); in tasklet_queue_schedule()
/netbsd/external/gpl3/binutils/dist/libiberty/
H A Drandom.c258 void *ostate = (void *) &state[-1]; in initstate() local
309 return ostate; in initstate()
327 void *ostate = (void *) &state[-1]; in setstate() local
360 return ostate; in setstate()
/netbsd/external/gpl3/gdb/dist/libiberty/
H A Drandom.c260 PTR ostate = (PTR) &state[-1]; in initstate() local
311 return ostate; in initstate()
329 PTR ostate = (PTR) &state[-1]; in setstate() local
362 return ostate; in setstate()
/netbsd/external/gpl3/gcc/dist/libiberty/
H A Drandom.c260 PTR ostate = (PTR) &state[-1]; in initstate() local
311 return ostate; in initstate()
329 PTR ostate = (PTR) &state[-1]; in setstate() local
362 return ostate; in setstate()
/netbsd/external/gpl3/binutils.old/dist/libiberty/
H A Drandom.c260 PTR ostate = (PTR) &state[-1]; in initstate() local
311 return ostate; in initstate()
329 PTR ostate = (PTR) &state[-1]; in setstate() local
362 return ostate; in setstate()
/netbsd/external/gpl3/gdb.old/dist/libiberty/
H A Drandom.c260 PTR ostate = (PTR) &state[-1]; in initstate() local
311 return ostate; in initstate()
329 PTR ostate = (PTR) &state[-1]; in setstate() local
362 return ostate; in setstate()
/netbsd/external/gpl3/gcc.old/dist/libiberty/
H A Drandom.c260 PTR ostate = (PTR) &state[-1]; in initstate() local
311 return ostate; in initstate()
329 PTR ostate = (PTR) &state[-1]; in setstate() local
362 return ostate; in setstate()
/netbsd/external/bsd/ntp/dist/libntp/
H A Dntp_random.c356 register char *ostate = (char *)(&state[-1]); in ntp_initstate() local
396 return(ostate); in ntp_initstate()
426 char *ostate = (char *)(&state[-1]); in ntp_setstate() local
452 return(ostate); in ntp_setstate()
/netbsd/common/lib/libc/stdlib/
H A Drandom.c342 void *ostate = (void *)(&state[-1]); in initstate() local
386 return((char *)ostate); in initstate()
414 void *ostate = (void *)(&state[-1]); in setstate() local
448 return((char *)ostate); in setstate()
/netbsd/sys/net80211/
H A Dieee80211_proto.c920 enum ieee80211_state ostate; in ieee80211_newstate() local
924 ostate = ic->ic_state; in ieee80211_newstate()
926 ieee80211_state_name[ostate], ieee80211_state_name[nstate]); in ieee80211_newstate()
931 switch (ostate) { in ieee80211_newstate()
983 switch (ostate) { in ieee80211_newstate()
1029 switch (ostate) { in ieee80211_newstate()
1053 ic->ic_state = ostate; /* stay RUN */ in ieee80211_newstate()
1068 switch (ostate) { in ieee80211_newstate()
1092 switch (ostate) { in ieee80211_newstate()
1108 ostate, nstate)); in ieee80211_newstate()
/netbsd/sys/arch/x86/pci/
H A Dichlpcib.c752 int ostate, nstate, s, error = 0; in speedstep_sysctl_helper() local
762 ostate = 1; in speedstep_sysctl_helper()
764 ostate = 0; in speedstep_sysctl_helper()
765 nstate = ostate; in speedstep_sysctl_helper()
783 ostate = 1; in speedstep_sysctl_helper()
785 ostate = 0; in speedstep_sysctl_helper()
787 if (ostate != nstate) { in speedstep_sysctl_helper()
/netbsd/usr.sbin/trpt/
H A Dtrpt.c382 tcp_trace(short act, short ostate, struct tcpcb *atp, struct tcpcb *tp, in tcp_trace() argument
416 printf("%03d %s:%s ", (ntime/10) % 1000, tcpstates[ostate], in tcp_trace()
/netbsd/sys/external/bsd/ipf/netinet/
H A Dip_state.c3963 int dlen, ostate, nstate, rval, dir; in ipf_tcp_age() local
3973 ostate = tqe->tqe_state[1 - dir]; in ipf_tcp_age()
3982 if (ostate <= IPF_TCPS_ESTABLISHED) { in ipf_tcp_age()
4015 switch (ostate) in ipf_tcp_age()
4121 switch (ostate) in ipf_tcp_age()
4147 if (ostate == IPF_TCPS_FIN_WAIT_1) { in ipf_tcp_age()
4156 if (ostate == IPF_TCPS_FIN_WAIT_1) { in ipf_tcp_age()
4166 } else if (ostate < IPF_TCPS_CLOSE_WAIT) { in ipf_tcp_age()
4197 ostate > IPF_TCPS_CLOSE_WAIT) { in ipf_tcp_age()
4247 if (ostate == IPF_TCPS_LAST_ACK) { in ipf_tcp_age()
/netbsd/sys/dev/ic/
H A Dawi.c1744 enum ieee80211_state ostate; in awi_newstate() local
1753 ostate = ic->ic_state; in awi_newstate()
1754 DPRINTF(("awi_newstate: %s (%s/%s) -> %s\n", stname[ostate], in awi_newstate()
1800 switch (ostate) { in awi_newstate()
1875 if (ostate == IEEE80211_S_SCAN) { in awi_newstate()
H A Drtw.c2974 int ostate, s; in rtw_led_fastblink() local
2979 ostate = ls->ls_state; in rtw_led_fastblink()
2990 if (ostate != ls->ls_state) in rtw_led_fastblink()
3657 enum ieee80211_state ostate; in rtw_newstate() local
3660 ostate = ic->ic_state; in rtw_newstate()
3672 if (ostate == IEEE80211_S_INIT && nstate != IEEE80211_S_INIT) in rtw_newstate()
3683 if (ostate != IEEE80211_S_SCAN) { in rtw_newstate()
/netbsd/sys/net/
H A Dif_l2tp.c1354 int ostate; in l2tp_set_state() local
1362 ostate = nvar->lv_state; in l2tp_set_state()
1367 if (ostate != state) { in l2tp_set_state()
/netbsd/sys/dev/usb/
H A Dif_athn_usb.c1433 enum ieee80211_state ostate, nstate; in athn_usb_newstate_cb() local
1443 ostate = ic->ic_state; in athn_usb_newstate_cb()
1446 ieee80211_state_name[ostate], ostate, in athn_usb_newstate_cb()
1449 if (ostate == IEEE80211_S_RUN) { in athn_usb_newstate_cb()

12