/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() 133 result = nla_put_u8(report_skb, WIMAX_GNL_STCH_STATE_NEW, new_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 193 if (WARN_ON(((1 << new_state) & allowed_states_bm) == 0)) { in __check_new_state() 195 old_state, new_state); in __check_new_state() 204 void __wimax_state_change(struct wimax_dev *wimax_dev, enum wimax_st new_state) in __wimax_state_change() argument 212 wimax_dev, new_state, old_state); in __wimax_state_change() [all …]
|
D | op-rfkill.c | 418 enum wimax_rf_state new_state; in wimax_gnl_doit_rfkill() local 437 new_state = nla_get_u32(info->attrs[WIMAX_GNL_RFKILL_STATE]); in wimax_gnl_doit_rfkill() 440 result = wimax_rfkill(wimax_dev, new_state); in wimax_gnl_doit_rfkill()
|
/net/ipv4/ |
D | ip_tunnel_core.c | 238 struct lwtunnel_state *new_state; in ip_tun_build_state() local 246 new_state = lwtunnel_state_alloc(sizeof(*tun_info)); in ip_tun_build_state() 247 if (!new_state) in ip_tun_build_state() 250 new_state->type = LWTUNNEL_ENCAP_IP; in ip_tun_build_state() 252 tun_info = lwt_tun_info(new_state); in ip_tun_build_state() 275 *ts = new_state; in ip_tun_build_state() 333 struct lwtunnel_state *new_state; in ip6_tun_build_state() local 341 new_state = lwtunnel_state_alloc(sizeof(*tun_info)); in ip6_tun_build_state() 342 if (!new_state) in ip6_tun_build_state() 345 new_state->type = LWTUNNEL_ENCAP_IP6; in ip6_tun_build_state() [all …]
|
D | tcp_dctcp.c | 218 static void dctcp_state(struct sock *sk, u8 new_state) in dctcp_state() argument 220 if (new_state == TCP_CA_Recovery && in dctcp_state() 221 new_state != inet_csk(sk)->icsk_ca_state) in dctcp_state()
|
D | tcp_bic.c | 191 static void bictcp_state(struct sock *sk, u8 new_state) in bictcp_state() argument 193 if (new_state == TCP_CA_Loss) in bictcp_state()
|
D | tcp_illinois.c | 242 static void tcp_illinois_state(struct sock *sk, u8 new_state) in tcp_illinois_state() argument 246 if (new_state == TCP_CA_Loss) { in tcp_illinois_state()
|
D | tcp_htcp.c | 268 static void htcp_state(struct sock *sk, u8 new_state) in htcp_state() argument 270 switch (new_state) { in htcp_state()
|
D | tcp_cubic.c | 379 static void bictcp_state(struct sock *sk, u8 new_state) in bictcp_state() argument 381 if (new_state == TCP_CA_Loss) { in bictcp_state()
|
D | tcp.c | 1961 static const unsigned char new_state[16] = { variable 1980 int next = (int)new_state[sk->sk_state]; in tcp_close_state()
|
/net/netfilter/ |
D | nf_conntrack_proto_sctp.c | 331 enum sctp_conntrack new_state, old_state; in sctp_packet() local 360 old_state = new_state = SCTP_CONNTRACK_NONE; in sctp_packet() 396 new_state = sctp_new_state(dir, old_state, sch->type); in sctp_packet() 399 if (new_state == SCTP_CONNTRACK_MAX) { in sctp_packet() 420 ct->proto.sctp.state = new_state; in sctp_packet() 421 if (old_state != new_state) in sctp_packet() 426 nf_ct_refresh_acct(ct, ctinfo, skb, timeouts[new_state]); in sctp_packet() 430 new_state == SCTP_CONNTRACK_ESTABLISHED) { in sctp_packet() 448 enum sctp_conntrack new_state; in sctp_new() local 470 new_state = SCTP_CONNTRACK_MAX; in sctp_new() [all …]
|
D | nf_conntrack_proto_tcp.c | 827 enum tcp_conntrack new_state, old_state; in tcp_packet() local 841 new_state = tcp_conntracks[dir][index][old_state]; in tcp_packet() 844 switch (new_state) { in tcp_packet() 903 new_state = TCP_CONNTRACK_SYN_RECV; in tcp_packet() 1055 old_state, new_state); in tcp_packet() 1057 ct->proto.tcp.state = new_state; in tcp_packet() 1058 if (old_state != new_state in tcp_packet() 1059 && new_state == TCP_CONNTRACK_FIN_WAIT) in tcp_packet() 1063 timeouts[new_state] > timeouts[TCP_CONNTRACK_RETRANS]) in tcp_packet() 1067 timeouts[new_state] > timeouts[TCP_CONNTRACK_UNACK]) in tcp_packet() [all …]
|
D | nf_conntrack_proto_dccp.c | 486 u_int8_t type, old_state, new_state; in dccp_packet() local 504 new_state = dccp_state_table[role][type][old_state]; in dccp_packet() 506 switch (new_state) { in dccp_packet() 538 new_state = CT_DCCP_RESPOND; in dccp_packet() 559 ct->proto.dccp.state = new_state; in dccp_packet() 562 if (new_state != old_state) in dccp_packet() 565 nf_ct_refresh_acct(ct, ctinfo, skb, timeouts[new_state]); in dccp_packet()
|
/net/mac80211/ |
D | driver-ops.c | 114 enum ieee80211_sta_state new_state) in drv_sta_state() argument 124 trace_drv_sta_state(local, sdata, &sta->sta, old_state, new_state); in drv_sta_state() 127 old_state, new_state); in drv_sta_state() 129 new_state == IEEE80211_STA_ASSOC) { in drv_sta_state() 137 new_state == IEEE80211_STA_AUTH) { in drv_sta_state()
|
D | sta_info.h | 582 enum ieee80211_sta_state new_state); 585 enum ieee80211_sta_state new_state) in sta_info_pre_move_state() argument 591 ret = sta_info_move_state(sta, new_state); in sta_info_pre_move_state()
|
D | sta_info.c | 1734 enum ieee80211_sta_state new_state) in sta_info_move_state() argument 1738 if (sta->sta_state == new_state) in sta_info_move_state() 1743 switch (new_state) { in sta_info_move_state() 1763 WARN(1, "invalid state %d", new_state); in sta_info_move_state() 1768 sta->sta.addr, new_state); in sta_info_move_state() 1776 sta->sta_state, new_state); in sta_info_move_state() 1783 switch (new_state) { in sta_info_move_state() 1824 sta->sta_state = new_state; in sta_info_move_state()
|
D | trace.h | 794 enum ieee80211_sta_state new_state), 796 TP_ARGS(local, sdata, sta, old_state, new_state), 803 __field(u32, new_state) 811 __entry->new_state = new_state; 817 __entry->old_state, __entry->new_state
|
D | driver-ops.h | 525 enum ieee80211_sta_state new_state);
|
/net/netfilter/ipvs/ |
D | ip_vs_proto_tcp.c | 498 int new_state = IP_VS_TCP_S_CLOSE; in set_tcp_state() local 517 new_state = in set_tcp_state() 521 if (new_state != cp->state) { in set_tcp_state() 538 tcp_state_name(new_state), in set_tcp_state() 543 (new_state != IP_VS_TCP_S_ESTABLISHED)) { in set_tcp_state() 548 (new_state == IP_VS_TCP_S_ESTABLISHED)) { in set_tcp_state() 557 cp->timeout = pd->timeout_table[cp->state = new_state]; in set_tcp_state() 559 cp->timeout = tcp_timeouts[cp->state = new_state]; in set_tcp_state()
|
/net/ceph/ |
D | osdmap.c | 1207 void *new_state; in decode_new_up_state_weight() local 1217 new_state = *p; in decode_new_up_state_weight() 1251 *p = new_state; in decode_new_up_state_weight()
|