Lines Matching refs:bpf_attr
83 int (*map_alloc_check)(union bpf_attr *attr);
84 struct bpf_map *(*map_alloc)(union bpf_attr *attr);
90 int (*map_lookup_batch)(struct bpf_map *map, const union bpf_attr *attr,
91 union bpf_attr __user *uattr);
95 const union bpf_attr *attr,
96 union bpf_attr __user *uattr);
98 const union bpf_attr *attr,
99 union bpf_attr __user *uattr);
100 int (*map_delete_batch)(struct bpf_map *map, const union bpf_attr *attr,
101 union bpf_attr __user *uattr);
969 int (*test_run)(struct bpf_prog *prog, const union bpf_attr *kattr,
970 union bpf_attr __user *uattr);
1844 int bpf_struct_ops_link_create(union bpf_attr *attr);
1859 int bpf_struct_ops_test_run(struct bpf_prog *prog, const union bpf_attr *kattr,
1860 union bpf_attr __user *uattr);
1887 static inline int bpf_struct_ops_link_create(union bpf_attr *attr) in bpf_struct_ops_link_create()
2277 void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr);
2279 const union bpf_attr *attr,
2280 union bpf_attr __user *uattr);
2282 const union bpf_attr *attr,
2283 union bpf_attr __user *uattr);
2285 const union bpf_attr *attr,
2286 union bpf_attr __user *uattr);
2385 int bpf_token_create(union bpf_attr *attr);
2488 int bpf_iter_link_attach(const union bpf_attr *attr, bpfptr_t uattr, struct bpf_prog *prog);
2523 int bpf_check(struct bpf_prog **fp, union bpf_attr *attr, bpfptr_t uattr, u32 uattr_size);
2557 static inline int bpf_map_attr_numa_node(const union bpf_attr *attr) in bpf_map_attr_numa_node()
2564 int array_map_alloc_check(union bpf_attr *attr);
2566 int bpf_prog_test_run_xdp(struct bpf_prog *prog, const union bpf_attr *kattr,
2567 union bpf_attr __user *uattr);
2568 int bpf_prog_test_run_skb(struct bpf_prog *prog, const union bpf_attr *kattr,
2569 union bpf_attr __user *uattr);
2571 const union bpf_attr *kattr,
2572 union bpf_attr __user *uattr);
2574 const union bpf_attr *kattr,
2575 union bpf_attr __user *uattr);
2577 const union bpf_attr *kattr,
2578 union bpf_attr __user *uattr);
2580 const union bpf_attr *kattr,
2581 union bpf_attr __user *uattr);
2583 const union bpf_attr *kattr,
2584 union bpf_attr __user *uattr);
2849 const union bpf_attr *kattr, in bpf_prog_test_run_xdp()
2850 union bpf_attr __user *uattr) in bpf_prog_test_run_xdp()
2856 const union bpf_attr *kattr, in bpf_prog_test_run_skb()
2857 union bpf_attr __user *uattr) in bpf_prog_test_run_skb()
2863 const union bpf_attr *kattr, in bpf_prog_test_run_tracing()
2864 union bpf_attr __user *uattr) in bpf_prog_test_run_tracing()
2870 const union bpf_attr *kattr, in bpf_prog_test_run_flow_dissector()
2871 union bpf_attr __user *uattr) in bpf_prog_test_run_flow_dissector()
2877 const union bpf_attr *kattr, in bpf_prog_test_run_sk_lookup()
2878 union bpf_attr __user *uattr) in bpf_prog_test_run_sk_lookup()
3019 int bpf_prog_dev_bound_init(struct bpf_prog *prog, union bpf_attr *attr);
3040 struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr);
3044 const union bpf_attr *kattr,
3045 union bpf_attr __user *uattr);
3047 int sock_map_get_from_fd(const union bpf_attr *attr, struct bpf_prog *prog);
3048 int sock_map_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype);
3050 int sock_map_bpf_prog_query(const union bpf_attr *attr,
3051 union bpf_attr __user *uattr);
3052 int sock_map_link_create(const union bpf_attr *attr, struct bpf_prog *prog);
3071 union bpf_attr *attr) in bpf_prog_dev_bound_init()
3106 static inline struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr) in bpf_map_offload_map_alloc()
3121 const union bpf_attr *kattr, in bpf_prog_test_run_syscall()
3122 union bpf_attr __user *uattr) in bpf_prog_test_run_syscall()
3128 static inline int sock_map_get_from_fd(const union bpf_attr *attr, in sock_map_get_from_fd()
3134 static inline int sock_map_prog_detach(const union bpf_attr *attr, in sock_map_prog_detach()
3146 static inline int sock_map_bpf_prog_query(const union bpf_attr *attr, in sock_map_bpf_prog_query()
3147 union bpf_attr __user *uattr) in sock_map_bpf_prog_query()
3152 static inline int sock_map_link_create(const union bpf_attr *attr, struct bpf_prog *prog) in sock_map_link_create()