Home
last modified time | relevance | path

Searched refs:new_state (Results 1 – 19 of 19) 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()
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 …]
Dop-rfkill.c418 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/
Dip_tunnel_core.c238 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 …]
Dtcp_dctcp.c218 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()
Dtcp_bic.c191 static void bictcp_state(struct sock *sk, u8 new_state) in bictcp_state() argument
193 if (new_state == TCP_CA_Loss) in bictcp_state()
Dtcp_illinois.c242 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()
Dtcp_htcp.c268 static void htcp_state(struct sock *sk, u8 new_state) in htcp_state() argument
270 switch (new_state) { in htcp_state()
Dtcp_cubic.c379 static void bictcp_state(struct sock *sk, u8 new_state) in bictcp_state() argument
381 if (new_state == TCP_CA_Loss) { in bictcp_state()
Dtcp.c1961 static const unsigned char new_state[16] = { variable
1980 int next = (int)new_state[sk->sk_state]; in tcp_close_state()
/net/netfilter/
Dnf_conntrack_proto_sctp.c331 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 …]
Dnf_conntrack_proto_tcp.c827 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 …]
Dnf_conntrack_proto_dccp.c486 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/
Ddriver-ops.c114 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()
Dsta_info.h582 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()
Dsta_info.c1734 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()
Dtrace.h794 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
Ddriver-ops.h525 enum ieee80211_sta_state new_state);
/net/netfilter/ipvs/
Dip_vs_proto_tcp.c498 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/
Dosdmap.c1207 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()