Lines Matching refs:bpf_attr
31 int (*map_alloc_check)(union bpf_attr *attr);
32 struct bpf_map *(*map_alloc)(union bpf_attr *attr);
232 int (*test_run)(struct bpf_prog *prog, const union bpf_attr *kattr,
233 union bpf_attr __user *uattr);
341 int bpf_prog_test_run_xdp(struct bpf_prog *prog, const union bpf_attr *kattr,
342 union bpf_attr __user *uattr);
343 int bpf_prog_test_run_skb(struct bpf_prog *prog, const union bpf_attr *kattr,
344 union bpf_attr __user *uattr);
456 void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr);
503 int bpf_check(struct bpf_prog **fp, union bpf_attr *attr);
525 static inline int bpf_map_attr_numa_node(const union bpf_attr *attr) in bpf_map_attr_numa_node()
532 int array_map_alloc_check(union bpf_attr *attr);
680 int bpf_prog_offload_init(struct bpf_prog *prog, union bpf_attr *attr);
692 struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr);
696 union bpf_attr *attr) in bpf_prog_offload_init()
711 static inline struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr) in bpf_map_offload_map_alloc()
725 int sockmap_get_from_fd(const union bpf_attr *attr, int type,
746 static inline int sockmap_get_from_fd(const union bpf_attr *attr, int type, in sockmap_get_from_fd()