/net/wimax/ |
D | stack.c | 103 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() 127 result = nla_put_u8(report_skb, WIMAX_GNL_STCH_STATE_OLD, old_state); in wimax_gnl_re_state_change_alloc() 144 wimax_dev, new_state, old_state, report_skb); in wimax_gnl_re_state_change_alloc() 151 wimax_dev, new_state, old_state, result); in wimax_gnl_re_state_change_alloc() 189 void __check_new_state(enum wimax_st old_state, enum wimax_st new_state, in __check_new_state() argument 194 old_state, new_state); in __check_new_state() 206 enum wimax_st old_state = wimax_dev->state; in __wimax_state_change() local 211 wimax_dev, new_state, old_state); in __wimax_state_change() 218 if (old_state == new_state) in __wimax_state_change() [all …]
|
/net/ceph/ |
D | messenger.c | 322 int old_state; in con_sock_state_init() local 324 old_state = atomic_xchg(&con->sock_state, CON_SOCK_STATE_CLOSED); in con_sock_state_init() 325 if (WARN_ON(old_state != CON_SOCK_STATE_NEW)) in con_sock_state_init() 326 printk("%s: unexpected old state %d\n", __func__, old_state); in con_sock_state_init() 327 dout("%s con %p sock %d -> %d\n", __func__, con, old_state, in con_sock_state_init() 333 int old_state; in con_sock_state_connecting() local 335 old_state = atomic_xchg(&con->sock_state, CON_SOCK_STATE_CONNECTING); in con_sock_state_connecting() 336 if (WARN_ON(old_state != CON_SOCK_STATE_CLOSED)) in con_sock_state_connecting() 337 printk("%s: unexpected old state %d\n", __func__, old_state); in con_sock_state_connecting() 338 dout("%s con %p sock %d -> %d\n", __func__, con, old_state, in con_sock_state_connecting() [all …]
|
/net/dccp/ |
D | proto.c | 256 const int old_state = sk->sk_state; in dccp_disconnect() local 258 if (old_state != DCCP_CLOSED) in dccp_disconnect() 265 if (old_state == DCCP_LISTEN) { in dccp_disconnect() 267 } else if (dccp_need_reset(old_state)) { in dccp_disconnect() 270 } else if (old_state == DCCP_REQUESTING) in dccp_disconnect() 921 unsigned char old_state; in inet_dccp_listen() local 930 old_state = sk->sk_state; in inet_dccp_listen() 931 if (!((1 << old_state) & (DCCPF_CLOSED | DCCPF_LISTEN))) in inet_dccp_listen() 937 if (old_state != DCCP_LISTEN) { in inet_dccp_listen()
|
D | input.c | 579 const int old_state = sk->sk_state; in dccp_rcv_state_process() local 691 switch (old_state) { in dccp_rcv_state_process()
|
/net/netfilter/ |
D | nf_conntrack_proto_dccp.c | 486 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()
|
D | nf_conntrack_proto_tcp.c | 832 enum tcp_conntrack new_state, old_state; in tcp_packet() local 843 old_state = ct->proto.tcp.state; in tcp_packet() 846 new_state = tcp_conntracks[dir][index][old_state]; in tcp_packet() 851 if (old_state < TCP_CONNTRACK_TIME_WAIT) in tcp_packet() 907 old_state = TCP_CONNTRACK_SYN_SENT; in tcp_packet() 956 "state %s ", tcp_conntrack_names[old_state]); in tcp_packet() 961 dir, get_conntrack_index(th), old_state); in tcp_packet() 1016 old_state, new_state); in tcp_packet() 1019 if (old_state != new_state in tcp_packet() 1034 if (new_state != old_state) in tcp_packet() [all …]
|
D | nf_conntrack_proto_sctp.c | 310 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/ |
D | ircomm_tty_ioctl.c | 304 struct ircomm_tty_cb old_state, *state; in ircomm_tty_set_serial_info() 313 old_state = *self; in ircomm_tty_set_serial_info() 350 if (((old_state.flags & ASYNC_SPD_MASK) != in ircomm_tty_set_serial_info()
|
/net/mac80211/ |
D | driver-ops.h | 556 enum ieee80211_sta_state old_state, in drv_sta_state() argument 566 trace_drv_sta_state(local, sdata, &sta->sta, old_state, new_state); in drv_sta_state() 569 old_state, new_state); in drv_sta_state() 570 } else if (old_state == IEEE80211_STA_AUTH && in drv_sta_state() 575 } else if (old_state == IEEE80211_STA_ASSOC && in drv_sta_state()
|
D | trace.h | 720 enum ieee80211_sta_state old_state, 723 TP_ARGS(local, sdata, sta, old_state, new_state), 729 __field(u32, old_state) 737 __entry->old_state = old_state; 744 __entry->old_state, __entry->new_state
|
/net/ipv4/ |
D | af_inet.c | 212 unsigned char old_state; in inet_listen() local 221 old_state = sk->sk_state; in inet_listen() 222 if (!((1 << old_state) & (TCPF_CLOSE | TCPF_LISTEN))) in inet_listen() 228 if (old_state != TCP_LISTEN) { in inet_listen()
|
D | tcp.c | 2258 int old_state = sk->sk_state; in tcp_disconnect() local 2260 if (old_state != TCP_CLOSE) in tcp_disconnect() 2264 if (old_state == TCP_LISTEN) { in tcp_disconnect() 2268 } else if (tcp_need_reset(old_state) || in tcp_disconnect() 2270 (1 << old_state) & (TCPF_CLOSING | TCPF_LAST_ACK))) { in tcp_disconnect() 2276 } else if (old_state == TCP_SYN_SENT) in tcp_disconnect()
|
/net/netfilter/ipvs/ |
D | ip_vs_sync.c | 458 force = cp->state != cp->old_state; in ip_vs_sync_conn_needed() 468 force = cp->state != cp->old_state; in ip_vs_sync_conn_needed() 505 cp->old_state = cp->state; in ip_vs_sync_conn_needed() 887 cp->old_state = cp->state; in ip_vs_proc_conn()
|
D | ip_vs_conn.c | 922 cp->old_state = 0; in ip_vs_conn_new()
|