/net/xfrm/ |
D | xfrm_replay.c | 12 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() 107 static int xfrm_replay_check(struct xfrm_state *x, in xfrm_replay_check() 139 static void xfrm_replay_advance(struct xfrm_state *x, __be32 net_seq) in xfrm_replay_advance() 163 static int xfrm_replay_overflow_bmp(struct xfrm_state *x, struct sk_buff *skb) in xfrm_replay_overflow_bmp() 187 static int xfrm_replay_check_bmp(struct xfrm_state *x, in xfrm_replay_check_bmp() 231 static void xfrm_replay_advance_bmp(struct xfrm_state *x, __be32 net_seq) in xfrm_replay_advance_bmp() 279 static void xfrm_replay_notify_bmp(struct xfrm_state *x, int event) in xfrm_replay_notify_bmp() 330 static void xfrm_replay_notify_esn(struct xfrm_state *x, int event) in xfrm_replay_notify_esn() [all …]
|
D | xfrm_output.c | 64 static int xfrm4_transport_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_transport_output() 85 static int xfrm6_transport_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_transport_output() 116 static int xfrm6_ro_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_ro_output() 148 static int xfrm4_beet_encap_add(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_beet_encap_add() 197 static int xfrm4_tunnel_encap_add(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_tunnel_encap_add() 242 static int xfrm6_tunnel_encap_add(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_tunnel_encap_add() 277 static int xfrm6_beet_encap_add(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_beet_encap_add() 328 static int xfrm4_prepare_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_prepare_output() 350 static int xfrm6_prepare_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_prepare_output() 376 static int xfrm_outer_mode_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm_outer_mode_output() [all …]
|
D | xfrm_state.c | 52 static inline bool xfrm_state_hold_rcu(struct xfrm_state __rcu *x) in xfrm_state_hold_rcu() 88 struct xfrm_state *x; in xfrm_hash_transfer() local 473 void xfrm_state_free(struct xfrm_state *x) in xfrm_state_free() 479 static void ___xfrm_state_destroy(struct xfrm_state *x) in ___xfrm_state_destroy() 506 struct xfrm_state *x; in xfrm_state_gc_task() local 522 struct xfrm_state *x = container_of(me, struct xfrm_state, mtimer); in xfrm_timer_handler() local 612 struct xfrm_state *x; in xfrm_state_alloc() local 640 void __xfrm_state_destroy(struct xfrm_state *x, bool sync) in __xfrm_state_destroy() 656 int __xfrm_state_delete(struct xfrm_state *x) in __xfrm_state_delete() 689 int xfrm_state_delete(struct xfrm_state *x) in xfrm_state_delete() [all …]
|
D | xfrm_device.c | 22 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() 47 static void __xfrm_mode_beet_prep(struct xfrm_state *x, struct sk_buff *skb, in __xfrm_mode_beet_prep() 67 static void xfrm_outer_mode_prep(struct xfrm_state *x, struct sk_buff *skb) in xfrm_outer_mode_prep() 116 struct xfrm_state *x; in validate_xmit_xfrm() local 222 int xfrm_dev_state_add(struct net *net, struct xfrm_state *x, in xfrm_dev_state_add() 299 bool xfrm_dev_offload_ok(struct sk_buff *skb, struct xfrm_state *x) in xfrm_dev_offload_ok()
|
D | xfrm_input.c | 175 static int xfrm4_remove_beet_encap(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_remove_beet_encap() 229 static int xfrm4_remove_tunnel_encap(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_remove_tunnel_encap() 267 static int xfrm6_remove_tunnel_encap(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_remove_tunnel_encap() 296 static int xfrm6_remove_beet_encap(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_remove_beet_encap() 332 xfrm_inner_mode_encap_remove(struct xfrm_state *x, in xfrm_inner_mode_encap_remove() 355 static int xfrm_prepare_input(struct xfrm_state *x, struct sk_buff *skb) in xfrm_prepare_input() 400 static int xfrm4_transport_input(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_transport_input() 414 static int xfrm6_transport_input(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_transport_input() 434 static int xfrm_inner_mode_input(struct xfrm_state *x, in xfrm_inner_mode_input() 467 struct xfrm_state *x = NULL; in xfrm_input() local
|
D | xfrm_ipcomp.c | 38 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()
|
D | xfrm_user.c | 315 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/ |
D | mesh_hwmp.c | 39 #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/ |
D | esp4_offload.c | 33 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_beet_gso_segment(struct xfrm_state *x, in xfrm4_beet_gso_segment() 174 static struct sk_buff *xfrm4_outer_mode_gso_segment(struct xfrm_state *x, in xfrm4_outer_mode_gso_segment() 193 struct xfrm_state *x; in esp4_gso_segment() local 235 static int esp_input_tail(struct xfrm_state *x, struct sk_buff *skb) in esp_input_tail() 249 static int esp_xmit(struct xfrm_state *x, struct sk_buff *skb, netdev_features_t features) in esp_xmit()
|
D | esp4.c | 98 static void esp_ssg_unref(struct xfrm_state *x, void *tmp) in esp_ssg_unref() 136 static struct sock *esp_find_tcp_sk(struct xfrm_state *x) in esp_find_tcp_sk() 192 static int esp_output_tcp_finish(struct xfrm_state *x, struct sk_buff *skb) in esp_output_tcp_finish() 220 struct xfrm_state *x = dst->xfrm; in esp_output_tcp_encap_cb() local 225 static int esp_output_tail_tcp(struct xfrm_state *x, struct sk_buff *skb) in esp_output_tail_tcp() 240 static int esp_output_tail_tcp(struct xfrm_state *x, struct sk_buff *skb) in esp_output_tail_tcp() 253 struct xfrm_state *x; in esp_output_done() local 307 struct xfrm_state *x, in esp_output_set_extra() 376 static struct ip_esp_hdr *esp_output_tcp_encap(struct xfrm_state *x, in esp_output_tcp_encap() 402 static struct ip_esp_hdr *esp_output_tcp_encap(struct xfrm_state *x, in esp_output_tcp_encap() [all …]
|
D | xfrm4_tunnel.c | 16 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()
|
D | ipcomp.c | 28 struct xfrm_state *x; in ipcomp4_err() local 56 static struct xfrm_state *ipcomp_tunnel_create(struct xfrm_state *x) in ipcomp_tunnel_create() 95 static int ipcomp_tunnel_attach(struct xfrm_state *x) in ipcomp_tunnel_attach() 119 static int ipcomp4_init_state(struct xfrm_state *x) in ipcomp4_init_state()
|
D | ah4.c | 125 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/ |
D | mip6.c | 119 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 …]
|
D | esp6_offload.c | 54 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_beet_gso_segment(struct xfrm_state *x, in xfrm6_beet_gso_segment() 212 static struct sk_buff *xfrm6_outer_mode_gso_segment(struct xfrm_state *x, in xfrm6_outer_mode_gso_segment() 231 struct xfrm_state *x; in esp6_gso_segment() local 271 static int esp6_input_tail(struct xfrm_state *x, struct sk_buff *skb) in esp6_input_tail() 285 static int esp6_xmit(struct xfrm_state *x, struct sk_buff *skb, netdev_features_t features) in esp6_xmit()
|
D | esp6.c | 115 static void esp_ssg_unref(struct xfrm_state *x, void *tmp) in esp_ssg_unref() 152 static struct sock *esp6_find_tcp_sk(struct xfrm_state *x) in esp6_find_tcp_sk() 208 static int esp_output_tcp_finish(struct xfrm_state *x, struct sk_buff *skb) in esp_output_tcp_finish() 236 struct xfrm_state *x = dst->xfrm; in esp_output_tcp_encap_cb() local 241 static int esp_output_tail_tcp(struct xfrm_state *x, struct sk_buff *skb) in esp_output_tail_tcp() 256 static int esp_output_tail_tcp(struct xfrm_state *x, struct sk_buff *skb) in esp_output_tail_tcp() 286 struct xfrm_state *x; in esp_output_done() local 342 struct xfrm_state *x, in esp_output_set_esn() 411 static struct ip_esp_hdr *esp6_output_tcp_encap(struct xfrm_state *x, in esp6_output_tcp_encap() 437 static struct ip_esp_hdr *esp6_output_tcp_encap(struct xfrm_state *x, in esp6_output_tcp_encap() [all …]
|
D | ipcomp6.c | 52 struct xfrm_state *x; in ipcomp6_err() local 74 static struct xfrm_state *ipcomp6_tunnel_create(struct xfrm_state *x) in ipcomp6_tunnel_create() 111 static int ipcomp6_tunnel_attach(struct xfrm_state *x) in ipcomp6_tunnel_attach() 139 static int ipcomp6_init_state(struct xfrm_state *x) in ipcomp6_init_state()
|
D | ah6.c | 293 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/ |
D | ebt_limit.c | 26 #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/ |
D | mapper.c | 76 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 …]
|
D | hash.c | 31 __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/ |
D | xt_limit.c | 55 #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
|
D | xt_policy.c | 35 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/ |
D | ip_set_bitmap_gen.h | 119 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
|
/net/dsa/ |
D | tag_8021q.c | 54 #define DSA_8021Q_DIR(x) (((x) << DSA_8021Q_DIR_SHIFT) & \ argument 61 #define DSA_8021Q_SWITCH_ID(x) (((x) << DSA_8021Q_SWITCH_ID_SHIFT) & \ argument 68 #define DSA_8021Q_SUBVLAN_HI(x) (((x) & GENMASK(2, 2)) >> 2) argument 69 #define DSA_8021Q_SUBVLAN_LO(x) ((x) & GENMASK(1, 0)) argument 70 #define DSA_8021Q_SUBVLAN(x) \ argument 78 #define DSA_8021Q_PORT(x) (((x) << DSA_8021Q_PORT_SHIFT) & \ argument
|