Lines Matching refs:bpf_attr

56 	int (*map_alloc_check)(union bpf_attr *attr);
57 struct bpf_map *(*map_alloc)(union bpf_attr *attr);
63 int (*map_lookup_batch)(struct bpf_map *map, const union bpf_attr *attr,
64 union bpf_attr __user *uattr);
66 const union bpf_attr *attr,
67 union bpf_attr __user *uattr);
68 int (*map_update_batch)(struct bpf_map *map, const union bpf_attr *attr,
69 union bpf_attr __user *uattr);
70 int (*map_delete_batch)(struct bpf_map *map, const union bpf_attr *attr,
71 union bpf_attr __user *uattr);
433 int (*test_run)(struct bpf_prog *prog, const union bpf_attr *kattr,
434 union bpf_attr __user *uattr);
1227 void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr);
1229 const union bpf_attr *attr,
1230 union bpf_attr __user *uattr);
1232 const union bpf_attr *attr,
1233 union bpf_attr __user *uattr);
1235 const union bpf_attr *attr,
1236 union bpf_attr __user *uattr);
1325 int bpf_iter_link_attach(const union bpf_attr *attr, struct bpf_prog *prog);
1372 int bpf_check(struct bpf_prog **fp, union bpf_attr *attr,
1373 union bpf_attr __user *uattr);
1400 static inline int bpf_map_attr_numa_node(const union bpf_attr *attr) in bpf_map_attr_numa_node()
1407 int array_map_alloc_check(union bpf_attr *attr);
1409 int bpf_prog_test_run_xdp(struct bpf_prog *prog, const union bpf_attr *kattr,
1410 union bpf_attr __user *uattr);
1411 int bpf_prog_test_run_skb(struct bpf_prog *prog, const union bpf_attr *kattr,
1412 union bpf_attr __user *uattr);
1414 const union bpf_attr *kattr,
1415 union bpf_attr __user *uattr);
1417 const union bpf_attr *kattr,
1418 union bpf_attr __user *uattr);
1420 const union bpf_attr *kattr,
1421 union bpf_attr __user *uattr);
1603 const union bpf_attr *kattr, in bpf_prog_test_run_xdp()
1604 union bpf_attr __user *uattr) in bpf_prog_test_run_xdp()
1610 const union bpf_attr *kattr, in bpf_prog_test_run_skb()
1611 union bpf_attr __user *uattr) in bpf_prog_test_run_skb()
1617 const union bpf_attr *kattr, in bpf_prog_test_run_tracing()
1618 union bpf_attr __user *uattr) in bpf_prog_test_run_tracing()
1624 const union bpf_attr *kattr, in bpf_prog_test_run_flow_dissector()
1625 union bpf_attr __user *uattr) in bpf_prog_test_run_flow_dissector()
1681 int bpf_prog_offload_init(struct bpf_prog *prog, union bpf_attr *attr);
1693 struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr);
1697 union bpf_attr *attr) in bpf_prog_offload_init()
1712 static inline struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr) in bpf_map_offload_map_alloc()
1725 int sock_map_get_from_fd(const union bpf_attr *attr, struct bpf_prog *prog);
1726 int sock_map_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype);
1738 static inline int sock_map_get_from_fd(const union bpf_attr *attr, in sock_map_get_from_fd()
1744 static inline int sock_map_prog_detach(const union bpf_attr *attr, in sock_map_prog_detach()