Lines Matching refs:bpf_attr
84 int (*map_alloc_check)(union bpf_attr *attr);
85 struct bpf_map *(*map_alloc)(union bpf_attr *attr);
91 int (*map_lookup_batch)(struct bpf_map *map, const union bpf_attr *attr,
92 union bpf_attr __user *uattr);
96 const union bpf_attr *attr,
97 union bpf_attr __user *uattr);
99 const union bpf_attr *attr,
100 union bpf_attr __user *uattr);
101 int (*map_delete_batch)(struct bpf_map *map, const union bpf_attr *attr,
102 union bpf_attr __user *uattr);
1020 int (*test_run)(struct bpf_prog *prog, const union bpf_attr *kattr,
1021 union bpf_attr __user *uattr);
1922 int bpf_struct_ops_link_create(union bpf_attr *attr);
1937 int bpf_struct_ops_test_run(struct bpf_prog *prog, const union bpf_attr *kattr,
1938 union bpf_attr __user *uattr);
1965 static inline int bpf_struct_ops_link_create(union bpf_attr *attr) in bpf_struct_ops_link_create()
2375 void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr);
2377 const union bpf_attr *attr,
2378 union bpf_attr __user *uattr);
2380 const union bpf_attr *attr,
2381 union bpf_attr __user *uattr);
2383 const union bpf_attr *attr,
2384 union bpf_attr __user *uattr);
2486 int bpf_token_create(union bpf_attr *attr);
2589 int bpf_iter_link_attach(const union bpf_attr *attr, bpfptr_t uattr, struct bpf_prog *prog);
2624 int bpf_check(struct bpf_prog **fp, union bpf_attr *attr, bpfptr_t uattr, u32 uattr_size);
2658 static inline int bpf_map_attr_numa_node(const union bpf_attr *attr) in bpf_map_attr_numa_node()
2665 int array_map_alloc_check(union bpf_attr *attr);
2667 int bpf_prog_test_run_xdp(struct bpf_prog *prog, const union bpf_attr *kattr,
2668 union bpf_attr __user *uattr);
2669 int bpf_prog_test_run_skb(struct bpf_prog *prog, const union bpf_attr *kattr,
2670 union bpf_attr __user *uattr);
2672 const union bpf_attr *kattr,
2673 union bpf_attr __user *uattr);
2675 const union bpf_attr *kattr,
2676 union bpf_attr __user *uattr);
2678 const union bpf_attr *kattr,
2679 union bpf_attr __user *uattr);
2681 const union bpf_attr *kattr,
2682 union bpf_attr __user *uattr);
2684 const union bpf_attr *kattr,
2685 union bpf_attr __user *uattr);
2956 const union bpf_attr *kattr, in bpf_prog_test_run_xdp()
2957 union bpf_attr __user *uattr) in bpf_prog_test_run_xdp()
2963 const union bpf_attr *kattr, in bpf_prog_test_run_skb()
2964 union bpf_attr __user *uattr) in bpf_prog_test_run_skb()
2970 const union bpf_attr *kattr, in bpf_prog_test_run_tracing()
2971 union bpf_attr __user *uattr) in bpf_prog_test_run_tracing()
2977 const union bpf_attr *kattr, in bpf_prog_test_run_flow_dissector()
2978 union bpf_attr __user *uattr) in bpf_prog_test_run_flow_dissector()
2984 const union bpf_attr *kattr, in bpf_prog_test_run_sk_lookup()
2985 union bpf_attr __user *uattr) in bpf_prog_test_run_sk_lookup()
3126 int bpf_prog_dev_bound_init(struct bpf_prog *prog, union bpf_attr *attr);
3147 struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr);
3151 const union bpf_attr *kattr,
3152 union bpf_attr __user *uattr);
3154 int sock_map_get_from_fd(const union bpf_attr *attr, struct bpf_prog *prog);
3155 int sock_map_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype);
3157 int sock_map_bpf_prog_query(const union bpf_attr *attr,
3158 union bpf_attr __user *uattr);
3159 int sock_map_link_create(const union bpf_attr *attr, struct bpf_prog *prog);
3178 union bpf_attr *attr) in bpf_prog_dev_bound_init()
3213 static inline struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr) in bpf_map_offload_map_alloc()
3228 const union bpf_attr *kattr, in bpf_prog_test_run_syscall()
3229 union bpf_attr __user *uattr) in bpf_prog_test_run_syscall()
3235 static inline int sock_map_get_from_fd(const union bpf_attr *attr, in sock_map_get_from_fd()
3241 static inline int sock_map_prog_detach(const union bpf_attr *attr, in sock_map_prog_detach()
3253 static inline int sock_map_bpf_prog_query(const union bpf_attr *attr, in sock_map_bpf_prog_query()
3254 union bpf_attr __user *uattr) in sock_map_bpf_prog_query()
3259 static inline int sock_map_link_create(const union bpf_attr *attr, struct bpf_prog *prog) in sock_map_link_create()