Home
last modified time | relevance | path

Searched defs:x (Results 1 – 25 of 89) sorted by relevance

1234

/net/xfrm/
Dxfrm_replay.c12 u32 xfrm_replay_seqhi(struct xfrm_state *x, __be32 net_seq) in xfrm_replay_seqhi()
38 static void xfrm_replay_notify(struct xfrm_state *x, int event) in xfrm_replay_notify()
84 static int xfrm_replay_overflow(struct xfrm_state *x, struct sk_buff *skb) in xfrm_replay_overflow()
106 static int xfrm_replay_check(struct xfrm_state *x, in xfrm_replay_check()
138 static void xfrm_replay_advance(struct xfrm_state *x, __be32 net_seq) in xfrm_replay_advance()
162 static int xfrm_replay_overflow_bmp(struct xfrm_state *x, struct sk_buff *skb) in xfrm_replay_overflow_bmp()
185 static int xfrm_replay_check_bmp(struct xfrm_state *x, in xfrm_replay_check_bmp()
229 static void xfrm_replay_advance_bmp(struct xfrm_state *x, __be32 net_seq) in xfrm_replay_advance_bmp()
277 static void xfrm_replay_notify_bmp(struct xfrm_state *x, int event) in xfrm_replay_notify_bmp()
328 static void xfrm_replay_notify_esn(struct xfrm_state *x, int event) in xfrm_replay_notify_esn()
[all …]
Dxfrm_output.c58 static int xfrm4_transport_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_transport_output()
79 static int xfrm6_transport_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_transport_output()
110 static int xfrm6_ro_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_ro_output()
142 static int xfrm4_beet_encap_add(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_beet_encap_add()
191 static int xfrm4_tunnel_encap_add(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_tunnel_encap_add()
236 static int xfrm6_tunnel_encap_add(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_tunnel_encap_add()
271 static int xfrm6_beet_encap_add(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_beet_encap_add()
322 static int xfrm4_prepare_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_prepare_output()
344 static int xfrm6_prepare_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_prepare_output()
370 static int xfrm_outer_mode_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm_outer_mode_output()
[all …]
Dxfrm_state.c53 static inline bool xfrm_state_hold_rcu(struct xfrm_state __rcu *x) in xfrm_state_hold_rcu()
89 struct xfrm_state *x; in xfrm_hash_transfer() local
474 void xfrm_state_free(struct xfrm_state *x) in xfrm_state_free()
480 static void ___xfrm_state_destroy(struct xfrm_state *x) in ___xfrm_state_destroy()
507 struct xfrm_state *x; in xfrm_state_gc_task() local
523 struct xfrm_state *x = container_of(me, struct xfrm_state, mtimer); in xfrm_timer_handler() local
613 struct xfrm_state *x; in xfrm_state_alloc() local
641 void __xfrm_state_destroy(struct xfrm_state *x, bool sync) in __xfrm_state_destroy()
657 int __xfrm_state_delete(struct xfrm_state *x) in __xfrm_state_delete()
687 int xfrm_state_delete(struct xfrm_state *x) in xfrm_state_delete()
[all …]
Dxfrm_input.c171 static int xfrm4_remove_beet_encap(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_remove_beet_encap()
225 static int xfrm4_remove_tunnel_encap(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_remove_tunnel_encap()
263 static int xfrm6_remove_tunnel_encap(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_remove_tunnel_encap()
292 static int xfrm6_remove_beet_encap(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_remove_beet_encap()
328 xfrm_inner_mode_encap_remove(struct xfrm_state *x, in xfrm_inner_mode_encap_remove()
351 static int xfrm_prepare_input(struct xfrm_state *x, struct sk_buff *skb) in xfrm_prepare_input()
395 static int xfrm4_transport_input(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_transport_input()
409 static int xfrm6_transport_input(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_transport_input()
429 static int xfrm_inner_mode_input(struct xfrm_state *x, in xfrm_inner_mode_input()
462 struct xfrm_state *x = NULL; in xfrm_input() local
Dxfrm_device.c22 static void __xfrm_transport_prep(struct xfrm_state *x, struct sk_buff *skb, in __xfrm_transport_prep()
34 static void __xfrm_mode_tunnel_prep(struct xfrm_state *x, struct sk_buff *skb, in __xfrm_mode_tunnel_prep()
48 static void xfrm_outer_mode_prep(struct xfrm_state *x, struct sk_buff *skb) in xfrm_outer_mode_prep()
78 struct xfrm_state *x; in validate_xmit_xfrm() local
192 int xfrm_dev_state_add(struct net *net, struct xfrm_state *x, in xfrm_dev_state_add()
267 bool xfrm_dev_offload_ok(struct sk_buff *skb, struct xfrm_state *x) in xfrm_dev_offload_ok()
Dxfrm_ipcomp.c38 static int ipcomp_decompress(struct xfrm_state *x, struct sk_buff *skb) in ipcomp_decompress()
106 int ipcomp_input(struct xfrm_state *x, struct sk_buff *skb) in ipcomp_input()
134 static int ipcomp_compress(struct xfrm_state *x, struct sk_buff *skb) in ipcomp_compress()
167 int ipcomp_output(struct xfrm_state *x, struct sk_buff *skb) in ipcomp_output()
325 void ipcomp_destroy(struct xfrm_state *x) in ipcomp_destroy()
338 int ipcomp_init_state(struct xfrm_state *x) in ipcomp_init_state()
Dxfrm_user.c315 static int attach_crypt(struct xfrm_state *x, struct nlattr *rta) in attach_crypt()
400 static int attach_aead(struct xfrm_state *x, struct nlattr *rta) in attach_aead()
494 static void copy_from_user_state(struct xfrm_state *x, struct xfrm_usersa_info *p) in copy_from_user_state()
516 static void xfrm_update_ae_params(struct xfrm_state *x, struct nlattr **attrs, in xfrm_update_ae_params()
575 struct xfrm_state *x = xfrm_state_alloc(net); in xfrm_state_construct() local
676 struct xfrm_state *x; in xfrm_add_sa() local
721 struct xfrm_state *x = NULL; in xfrm_user_state_lookup() local
754 struct xfrm_state *x; in xfrm_del_sa() local
787 static void copy_to_user_state(struct xfrm_state *x, struct xfrm_usersa_info *p) in copy_to_user_state()
882 static int copy_to_user_state_extra(struct xfrm_state *x, in copy_to_user_state_extra()
[all …]
/net/mac80211/
Dmesh_hwmp.c39 #define AE_F_SET(x) (*x & AE_F) argument
40 #define PREQ_IE_FLAGS(x) (*(x)) argument
41 #define PREQ_IE_HOPCOUNT(x) (*(x + 1)) argument
42 #define PREQ_IE_TTL(x) (*(x + 2)) argument
43 #define PREQ_IE_PREQ_ID(x) u32_field_get(x, 3, 0) argument
44 #define PREQ_IE_ORIG_ADDR(x) (x + 7) argument
45 #define PREQ_IE_ORIG_SN(x) u32_field_get(x, 13, 0) argument
46 #define PREQ_IE_LIFETIME(x) u32_field_get(x, 17, AE_F_SET(x)) argument
47 #define PREQ_IE_METRIC(x) u32_field_get(x, 21, AE_F_SET(x)) argument
48 #define PREQ_IE_TARGET_F(x) (*(AE_F_SET(x) ? x + 32 : x + 26)) argument
[all …]
/net/ipv4/
Desp4_offload.c33 struct xfrm_state *x; in esp4_gro_receive() local
92 static void esp4_gso_encap(struct xfrm_state *x, struct sk_buff *skb) in esp4_gso_encap()
109 static struct sk_buff *xfrm4_tunnel_gso_segment(struct xfrm_state *x, in xfrm4_tunnel_gso_segment()
117 static struct sk_buff *xfrm4_transport_gso_segment(struct xfrm_state *x, in xfrm4_transport_gso_segment()
133 static struct sk_buff *xfrm4_outer_mode_gso_segment(struct xfrm_state *x, in xfrm4_outer_mode_gso_segment()
150 struct xfrm_state *x; in esp4_gso_segment() local
192 static int esp_input_tail(struct xfrm_state *x, struct sk_buff *skb) in esp_input_tail()
206 static int esp_xmit(struct xfrm_state *x, struct sk_buff *skb, netdev_features_t features) in esp_xmit()
Desp4.c96 static void esp_ssg_unref(struct xfrm_state *x, void *tmp) in esp_ssg_unref()
125 struct xfrm_state *x; in esp_output_done() local
175 struct xfrm_state *x, in esp_output_set_extra()
228 static int esp_output_udp_encap(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp) in esp_output_udp_encap()
272 int esp_output_head(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp) in esp_output_head()
364 int esp_output_tail(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp) in esp_output_tail()
483 static int esp_output(struct xfrm_state *x, struct sk_buff *skb) in esp_output()
535 struct xfrm_state *x = xfrm_input_state(skb); in esp_remove_trailer() local
583 struct xfrm_state *x = xfrm_input_state(skb); in esp_input_done2() local
669 struct xfrm_state *x = xfrm_input_state(skb); in esp_input_set_header() local
[all …]
Dxfrm4_tunnel.c16 static int ipip_output(struct xfrm_state *x, struct sk_buff *skb) in ipip_output()
22 static int ipip_xfrm_rcv(struct xfrm_state *x, struct sk_buff *skb) in ipip_xfrm_rcv()
27 static int ipip_init_state(struct xfrm_state *x) in ipip_init_state()
40 static void ipip_destroy(struct xfrm_state *x) in ipip_destroy()
Dipcomp.c28 struct xfrm_state *x; in ipcomp4_err() local
56 static struct xfrm_state *ipcomp_tunnel_create(struct xfrm_state *x) in ipcomp_tunnel_create()
94 static int ipcomp_tunnel_attach(struct xfrm_state *x) in ipcomp_tunnel_attach()
118 static int ipcomp4_init_state(struct xfrm_state *x) in ipcomp4_init_state()
Dah4.c125 struct xfrm_state *x = skb_dst(skb)->xfrm; in ah_output_done() local
147 static int ah_output(struct xfrm_state *x, struct sk_buff *skb) in ah_output()
271 struct xfrm_state *x = xfrm_input_state(skb); in ah_input_done() local
303 static int ah_input(struct xfrm_state *x, struct sk_buff *skb) in ah_input()
447 struct xfrm_state *x; in ah4_err() local
473 static int ah_init_state(struct xfrm_state *x) in ah_init_state()
539 static void ah_destroy(struct xfrm_state *x) in ah_destroy()
/net/ipv6/
Dmip6.c119 static int mip6_destopt_input(struct xfrm_state *x, struct sk_buff *skb) in mip6_destopt_input()
138 static int mip6_destopt_output(struct xfrm_state *x, struct sk_buff *skb) in mip6_destopt_output()
196 static int mip6_destopt_reject(struct xfrm_state *x, struct sk_buff *skb, in mip6_destopt_reject()
250 static int mip6_destopt_offset(struct xfrm_state *x, struct sk_buff *skb, in mip6_destopt_offset()
298 static int mip6_destopt_init_state(struct xfrm_state *x) in mip6_destopt_init_state()
322 static void mip6_destopt_destroy(struct xfrm_state *x) in mip6_destopt_destroy()
339 static int mip6_rthdr_input(struct xfrm_state *x, struct sk_buff *skb) in mip6_rthdr_input()
357 static int mip6_rthdr_output(struct xfrm_state *x, struct sk_buff *skb) in mip6_rthdr_output()
386 static int mip6_rthdr_offset(struct xfrm_state *x, struct sk_buff *skb, in mip6_rthdr_offset()
433 static int mip6_rthdr_init_state(struct xfrm_state *x) in mip6_rthdr_init_state()
[all …]
Desp6_offload.c54 struct xfrm_state *x; in esp6_gro_receive() local
119 static void esp6_gso_encap(struct xfrm_state *x, struct sk_buff *skb) in esp6_gso_encap()
143 static struct sk_buff *xfrm6_tunnel_gso_segment(struct xfrm_state *x, in xfrm6_tunnel_gso_segment()
151 static struct sk_buff *xfrm6_transport_gso_segment(struct xfrm_state *x, in xfrm6_transport_gso_segment()
167 static struct sk_buff *xfrm6_outer_mode_gso_segment(struct xfrm_state *x, in xfrm6_outer_mode_gso_segment()
184 struct xfrm_state *x; in esp6_gso_segment() local
224 static int esp6_input_tail(struct xfrm_state *x, struct sk_buff *skb) in esp6_input_tail()
238 static int esp6_xmit(struct xfrm_state *x, struct sk_buff *skb, netdev_features_t features) in esp6_xmit()
Desp6.c105 static void esp_ssg_unref(struct xfrm_state *x, void *tmp) in esp_ssg_unref()
132 struct xfrm_state *x; in esp_output_done() local
178 struct xfrm_state *x, in esp_output_set_esn()
226 int esp6_output_head(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp) in esp6_output_head()
306 int esp6_output_tail(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp) in esp6_output_tail()
424 static int esp6_output(struct xfrm_state *x, struct sk_buff *skb) in esp6_output()
474 struct xfrm_state *x = xfrm_input_state(skb); in esp_remove_trailer() local
521 struct xfrm_state *x = xfrm_input_state(skb); in esp6_input_done2() local
569 struct xfrm_state *x = xfrm_input_state(skb); in esp_input_set_header() local
592 static int esp6_input(struct xfrm_state *x, struct sk_buff *skb) in esp6_input()
[all …]
Dxfrm6_output.c19 int xfrm6_find_1stfragopt(struct xfrm_state *x, struct sk_buff *skb, in xfrm6_find_1stfragopt()
97 int xfrm6_extract_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_extract_output()
119 static int __xfrm6_output_state_finish(struct xfrm_state *x, struct sock *sk, in __xfrm6_output_state_finish()
138 struct xfrm_state *x = skb_dst(skb)->xfrm; in __xfrm6_output_finish() local
159 struct xfrm_state *x = dst->xfrm; in __xfrm6_output() local
Dipcomp6.c52 struct xfrm_state *x; in ipcomp6_err() local
74 static struct xfrm_state *ipcomp6_tunnel_create(struct xfrm_state *x) in ipcomp6_tunnel_create()
110 static int ipcomp6_tunnel_attach(struct xfrm_state *x) in ipcomp6_tunnel_attach()
138 static int ipcomp6_init_state(struct xfrm_state *x) in ipcomp6_init_state()
Dah6.c293 struct xfrm_state *x = skb_dst(skb)->xfrm; in ah6_output_done() local
322 static int ah6_output(struct xfrm_state *x, struct sk_buff *skb) in ah6_output()
463 struct xfrm_state *x = xfrm_input_state(skb); in ah6_input_done() local
496 static int ah6_input(struct xfrm_state *x, struct sk_buff *skb) in ah6_input()
652 struct xfrm_state *x; in ah6_err() local
672 static int ah6_init_state(struct xfrm_state *x) in ah6_init_state()
741 static void ah6_destroy(struct xfrm_state *x) in ah6_destroy()
/net/bridge/netfilter/
Debt_limit.c26 #define _POW2_BELOW2(x) ((x)|((x)>>1)) argument
27 #define _POW2_BELOW4(x) (_POW2_BELOW2(x)|_POW2_BELOW2((x)>>2)) argument
28 #define _POW2_BELOW8(x) (_POW2_BELOW4(x)|_POW2_BELOW4((x)>>4)) argument
29 #define _POW2_BELOW16(x) (_POW2_BELOW8(x)|_POW2_BELOW8((x)>>8)) argument
30 #define _POW2_BELOW32(x) (_POW2_BELOW16(x)|_POW2_BELOW16((x)>>16)) argument
31 #define POW2_BELOW32(x) ((_POW2_BELOW32(x)>>1) + 1) argument
/net/ceph/crush/
Dmapper.c76 int x, int r) in bucket_perm_choose()
136 struct crush_work_bucket *work, int x, int r) in bucket_uniform_choose()
143 int x, int r) in bucket_list_choose()
179 static int left(int x) in left()
185 static int right(int x) in right()
191 static int terminal(int x) in terminal()
197 int x, int r) in bucket_tree_choose()
229 int x, int r) in bucket_straw_choose()
251 unsigned int x = xin; in crush_ln() local
327 int x, int r, in bucket_straw2_choose()
[all …]
Dhash.c31 __u32 x = 231232; in crush_hash32_rjenkins1() local
41 __u32 x = 231232; in crush_hash32_rjenkins1_2() local
52 __u32 x = 231232; in crush_hash32_rjenkins1_3() local
65 __u32 x = 231232; in crush_hash32_rjenkins1_4() local
80 __u32 x = 231232; in crush_hash32_rjenkins1_5() local
/net/netfilter/
Dxt_limit.c55 #define _POW2_BELOW2(x) ((x)|((x)>>1)) argument
56 #define _POW2_BELOW4(x) (_POW2_BELOW2(x)|_POW2_BELOW2((x)>>2)) argument
57 #define _POW2_BELOW8(x) (_POW2_BELOW4(x)|_POW2_BELOW4((x)>>4)) argument
58 #define _POW2_BELOW16(x) (_POW2_BELOW8(x)|_POW2_BELOW8((x)>>8)) argument
59 #define _POW2_BELOW32(x) (_POW2_BELOW16(x)|_POW2_BELOW16((x)>>16)) argument
60 #define POW2_BELOW32(x) ((_POW2_BELOW32(x)>>1) + 1) argument
Dxt_policy.c35 match_xfrm_state(const struct xfrm_state *x, const struct xt_policy_elem *e, in match_xfrm_state()
38 #define MATCH_ADDR(x,y,z) (!e->match.x || \ in match_xfrm_state() argument
41 #define MATCH(x,y) (!e->match.x || ((e->x == (y)) ^ e->invert.x)) in match_xfrm_state() argument
/net/netfilter/ipset/
Dip_set_bitmap_gen.h119 void *x = get_ext(set, map, e->id); in mtype_test() local
133 void *x = get_ext(set, map, e->id); in mtype_add() local
178 void *x = get_ext(set, map, e->id); in mtype_del() local
194 mtype_is_filled(const struct mtype_elem *x) in mtype_is_filled()
206 void *x; in mtype_list() local
267 void *x; in mtype_gc() local

1234