Lines Matching refs:bpf_attr
77 int (*map_alloc_check)(union bpf_attr *attr);
78 struct bpf_map *(*map_alloc)(union bpf_attr *attr);
84 int (*map_lookup_batch)(struct bpf_map *map, const union bpf_attr *attr,
85 union bpf_attr __user *uattr);
89 const union bpf_attr *attr,
90 union bpf_attr __user *uattr);
92 const union bpf_attr *attr,
93 union bpf_attr __user *uattr);
94 int (*map_delete_batch)(struct bpf_map *map, const union bpf_attr *attr,
95 union bpf_attr __user *uattr);
913 int (*test_run)(struct bpf_prog *prog, const union bpf_attr *kattr,
914 union bpf_attr __user *uattr);
1648 int bpf_struct_ops_link_create(union bpf_attr *attr);
1663 int bpf_struct_ops_test_run(struct bpf_prog *prog, const union bpf_attr *kattr,
1664 union bpf_attr __user *uattr);
1689 static inline int bpf_struct_ops_link_create(union bpf_attr *attr) in bpf_struct_ops_link_create()
2060 void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr);
2062 const union bpf_attr *attr,
2063 union bpf_attr __user *uattr);
2065 const union bpf_attr *attr,
2066 union bpf_attr __user *uattr);
2068 const union bpf_attr *attr,
2069 union bpf_attr __user *uattr);
2266 int bpf_iter_link_attach(const union bpf_attr *attr, bpfptr_t uattr, struct bpf_prog *prog);
2301 int bpf_check(struct bpf_prog **fp, union bpf_attr *attr, bpfptr_t uattr, u32 uattr_size);
2335 static inline int bpf_map_attr_numa_node(const union bpf_attr *attr) in bpf_map_attr_numa_node()
2342 int array_map_alloc_check(union bpf_attr *attr);
2344 int bpf_prog_test_run_xdp(struct bpf_prog *prog, const union bpf_attr *kattr,
2345 union bpf_attr __user *uattr);
2346 int bpf_prog_test_run_skb(struct bpf_prog *prog, const union bpf_attr *kattr,
2347 union bpf_attr __user *uattr);
2349 const union bpf_attr *kattr,
2350 union bpf_attr __user *uattr);
2352 const union bpf_attr *kattr,
2353 union bpf_attr __user *uattr);
2355 const union bpf_attr *kattr,
2356 union bpf_attr __user *uattr);
2358 const union bpf_attr *kattr,
2359 union bpf_attr __user *uattr);
2361 const union bpf_attr *kattr,
2362 union bpf_attr __user *uattr);
2603 const union bpf_attr *kattr, in bpf_prog_test_run_xdp()
2604 union bpf_attr __user *uattr) in bpf_prog_test_run_xdp()
2610 const union bpf_attr *kattr, in bpf_prog_test_run_skb()
2611 union bpf_attr __user *uattr) in bpf_prog_test_run_skb()
2617 const union bpf_attr *kattr, in bpf_prog_test_run_tracing()
2618 union bpf_attr __user *uattr) in bpf_prog_test_run_tracing()
2624 const union bpf_attr *kattr, in bpf_prog_test_run_flow_dissector()
2625 union bpf_attr __user *uattr) in bpf_prog_test_run_flow_dissector()
2631 const union bpf_attr *kattr, in bpf_prog_test_run_sk_lookup()
2632 union bpf_attr __user *uattr) in bpf_prog_test_run_sk_lookup()
2774 int bpf_prog_dev_bound_init(struct bpf_prog *prog, union bpf_attr *attr);
2795 struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr);
2799 const union bpf_attr *kattr,
2800 union bpf_attr __user *uattr);
2802 int sock_map_get_from_fd(const union bpf_attr *attr, struct bpf_prog *prog);
2803 int sock_map_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype);
2805 int sock_map_bpf_prog_query(const union bpf_attr *attr,
2806 union bpf_attr __user *uattr);
2825 union bpf_attr *attr) in bpf_prog_dev_bound_init()
2860 static inline struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr) in bpf_map_offload_map_alloc()
2875 const union bpf_attr *kattr, in bpf_prog_test_run_syscall()
2876 union bpf_attr __user *uattr) in bpf_prog_test_run_syscall()
2882 static inline int sock_map_get_from_fd(const union bpf_attr *attr, in sock_map_get_from_fd()
2888 static inline int sock_map_prog_detach(const union bpf_attr *attr, in sock_map_prog_detach()
2900 static inline int sock_map_bpf_prog_query(const union bpf_attr *attr, in sock_map_bpf_prog_query()
2901 union bpf_attr __user *uattr) in sock_map_bpf_prog_query()