Home
last modified time | relevance | path

Searched refs:old_state (Results 1 – 15 of 15) sorted by relevance

/net/wimax/
Dstack.c103 enum wimax_st new_state, enum wimax_st old_state, in wimax_gnl_re_state_change_alloc() argument
112 wimax_dev, new_state, old_state); in wimax_gnl_re_state_change_alloc()
128 result = nla_put_u8(report_skb, WIMAX_GNL_STCH_STATE_OLD, old_state); in wimax_gnl_re_state_change_alloc()
145 wimax_dev, new_state, old_state, report_skb); in wimax_gnl_re_state_change_alloc()
152 wimax_dev, new_state, old_state, result); in wimax_gnl_re_state_change_alloc()
190 void __check_new_state(enum wimax_st old_state, enum wimax_st new_state, in __check_new_state() argument
195 old_state, new_state); in __check_new_state()
207 enum wimax_st old_state = wimax_dev->state; in __wimax_state_change() local
212 wimax_dev, new_state, old_state); in __wimax_state_change()
219 if (old_state == new_state) in __wimax_state_change()
[all …]
/net/ceph/
Dmessenger.c328 int old_state; in con_sock_state_init() local
330 old_state = atomic_xchg(&con->sock_state, CON_SOCK_STATE_CLOSED); in con_sock_state_init()
331 if (WARN_ON(old_state != CON_SOCK_STATE_NEW)) in con_sock_state_init()
332 printk("%s: unexpected old state %d\n", __func__, old_state); in con_sock_state_init()
333 dout("%s con %p sock %d -> %d\n", __func__, con, old_state, in con_sock_state_init()
339 int old_state; in con_sock_state_connecting() local
341 old_state = atomic_xchg(&con->sock_state, CON_SOCK_STATE_CONNECTING); in con_sock_state_connecting()
342 if (WARN_ON(old_state != CON_SOCK_STATE_CLOSED)) in con_sock_state_connecting()
343 printk("%s: unexpected old state %d\n", __func__, old_state); in con_sock_state_connecting()
344 dout("%s con %p sock %d -> %d\n", __func__, con, old_state, in con_sock_state_connecting()
[all …]
/net/dccp/
Dproto.c263 const int old_state = sk->sk_state; in dccp_disconnect() local
265 if (old_state != DCCP_CLOSED) in dccp_disconnect()
272 if (old_state == DCCP_LISTEN) { in dccp_disconnect()
274 } else if (dccp_need_reset(old_state)) { in dccp_disconnect()
277 } else if (old_state == DCCP_REQUESTING) in dccp_disconnect()
928 unsigned char old_state; in inet_dccp_listen() local
937 old_state = sk->sk_state; in inet_dccp_listen()
938 if (!((1 << old_state) & (DCCPF_CLOSED | DCCPF_LISTEN))) in inet_dccp_listen()
944 if (old_state != DCCP_LISTEN) { in inet_dccp_listen()
Dinput.c579 const int old_state = sk->sk_state; in dccp_rcv_state_process() local
691 switch (old_state) { in dccp_rcv_state_process()
/net/netfilter/
Dnf_conntrack_proto_tcp.c823 enum tcp_conntrack new_state, old_state; in tcp_packet() local
834 old_state = ct->proto.tcp.state; in tcp_packet()
837 new_state = tcp_conntracks[dir][index][old_state]; in tcp_packet()
842 if (old_state < TCP_CONNTRACK_TIME_WAIT) in tcp_packet()
898 old_state = TCP_CONNTRACK_SYN_SENT; in tcp_packet()
947 "state %s ", tcp_conntrack_names[old_state]); in tcp_packet()
956 if (nfct_synproxy(ct) && old_state == TCP_CONNTRACK_SYN_SENT && in tcp_packet()
967 dir, get_conntrack_index(th), old_state); in tcp_packet()
1022 old_state, new_state); in tcp_packet()
1025 if (old_state != new_state in tcp_packet()
[all …]
Dnf_conntrack_proto_dccp.c486 u_int8_t type, old_state, new_state; in dccp_packet() local
503 old_state = ct->proto.dccp.state; in dccp_packet()
504 new_state = dccp_state_table[role][type][old_state]; in dccp_packet()
508 if (old_state == CT_DCCP_TIMEWAIT && in dccp_packet()
517 if (old_state == CT_DCCP_REQUEST) in dccp_packet()
521 if (old_state == CT_DCCP_RESPOND && in dccp_packet()
562 if (new_state != old_state) in dccp_packet()
Dnf_conntrack_proto_sctp.c310 enum sctp_conntrack new_state, old_state; in sctp_packet() local
337 old_state = new_state = SCTP_CONNTRACK_NONE; in sctp_packet()
362 old_state = ct->proto.sctp.state; in sctp_packet()
363 new_state = sctp_new_state(dir, old_state, sch->type); in sctp_packet()
369 dir, sch->type, old_state); in sctp_packet()
388 if (old_state != new_state) in sctp_packet()
395 if (old_state == SCTP_CONNTRACK_COOKIE_ECHOED && in sctp_packet()
/net/irda/ircomm/
Dircomm_tty_ioctl.c302 struct ircomm_tty_cb old_state, *state; in ircomm_tty_set_serial_info()
311 old_state = *self; in ircomm_tty_set_serial_info()
348 if (((old_state.flags & ASYNC_SPD_MASK) != in ircomm_tty_set_serial_info()
/net/mac80211/
Ddriver-ops.h575 enum ieee80211_sta_state old_state, in drv_sta_state() argument
586 trace_drv_sta_state(local, sdata, &sta->sta, old_state, new_state); in drv_sta_state()
589 old_state, new_state); in drv_sta_state()
590 } else if (old_state == IEEE80211_STA_AUTH && in drv_sta_state()
595 } else if (old_state == IEEE80211_STA_ASSOC && in drv_sta_state()
Dtrace.h727 enum ieee80211_sta_state old_state,
730 TP_ARGS(local, sdata, sta, old_state, new_state),
736 __field(u32, old_state)
744 __entry->old_state = old_state;
751 __entry->old_state, __entry->new_state
/net/ipv4/
Daf_inet.c209 unsigned char old_state; in inet_listen() local
218 old_state = sk->sk_state; in inet_listen()
219 if (!((1 << old_state) & (TCPF_CLOSE | TCPF_LISTEN))) in inet_listen()
225 if (old_state != TCP_LISTEN) { in inet_listen()
Dtcp.c2239 int old_state = sk->sk_state; in tcp_disconnect() local
2241 if (old_state != TCP_CLOSE) in tcp_disconnect()
2245 if (old_state == TCP_LISTEN) { in tcp_disconnect()
2249 } else if (tcp_need_reset(old_state) || in tcp_disconnect()
2251 (1 << old_state) & (TCPF_CLOSING | TCPF_LAST_ACK))) { in tcp_disconnect()
2257 } else if (old_state == TCP_SYN_SENT) in tcp_disconnect()
/net/netfilter/ipvs/
Dip_vs_sync.c470 force = cp->state != cp->old_state; in ip_vs_sync_conn_needed()
481 force = cp->state != cp->old_state; in ip_vs_sync_conn_needed()
518 cp->old_state = cp->state; in ip_vs_sync_conn_needed()
906 cp->old_state = cp->state; in ip_vs_proc_conn()
Dip_vs_conn.c944 cp->old_state = 0; in ip_vs_conn_new()
/net/bluetooth/
Dhci_core.c2020 int old_state = hdev->discovery.state; in hci_discovery_set_state() local
2024 if (old_state == state) in hci_discovery_set_state()
2033 if (old_state != DISCOVERY_STARTING) in hci_discovery_set_state()