Lines Matching refs:bpf_attr

64 	int (*map_alloc_check)(union bpf_attr *attr);
65 struct bpf_map *(*map_alloc)(union bpf_attr *attr);
71 int (*map_lookup_batch)(struct bpf_map *map, const union bpf_attr *attr,
72 union bpf_attr __user *uattr);
76 const union bpf_attr *attr,
77 union bpf_attr __user *uattr);
78 int (*map_update_batch)(struct bpf_map *map, const union bpf_attr *attr,
79 union bpf_attr __user *uattr);
80 int (*map_delete_batch)(struct bpf_map *map, const union bpf_attr *attr,
81 union bpf_attr __user *uattr);
485 int (*test_run)(struct bpf_prog *prog, const union bpf_attr *kattr,
486 union bpf_attr __user *uattr);
1390 void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr);
1392 const union bpf_attr *attr,
1393 union bpf_attr __user *uattr);
1395 const union bpf_attr *attr,
1396 union bpf_attr __user *uattr);
1398 const union bpf_attr *attr,
1399 union bpf_attr __user *uattr);
1532 int bpf_iter_link_attach(const union bpf_attr *attr, bpfptr_t uattr, struct bpf_prog *prog);
1583 int bpf_check(struct bpf_prog **fp, union bpf_attr *attr, bpfptr_t uattr);
1617 static inline int bpf_map_attr_numa_node(const union bpf_attr *attr) in bpf_map_attr_numa_node()
1624 int array_map_alloc_check(union bpf_attr *attr);
1626 int bpf_prog_test_run_xdp(struct bpf_prog *prog, const union bpf_attr *kattr,
1627 union bpf_attr __user *uattr);
1628 int bpf_prog_test_run_skb(struct bpf_prog *prog, const union bpf_attr *kattr,
1629 union bpf_attr __user *uattr);
1631 const union bpf_attr *kattr,
1632 union bpf_attr __user *uattr);
1634 const union bpf_attr *kattr,
1635 union bpf_attr __user *uattr);
1637 const union bpf_attr *kattr,
1638 union bpf_attr __user *uattr);
1640 const union bpf_attr *kattr,
1641 union bpf_attr __user *uattr);
1829 const union bpf_attr *kattr, in bpf_prog_test_run_xdp()
1830 union bpf_attr __user *uattr) in bpf_prog_test_run_xdp()
1836 const union bpf_attr *kattr, in bpf_prog_test_run_skb()
1837 union bpf_attr __user *uattr) in bpf_prog_test_run_skb()
1843 const union bpf_attr *kattr, in bpf_prog_test_run_tracing()
1844 union bpf_attr __user *uattr) in bpf_prog_test_run_tracing()
1850 const union bpf_attr *kattr, in bpf_prog_test_run_flow_dissector()
1851 union bpf_attr __user *uattr) in bpf_prog_test_run_flow_dissector()
1857 const union bpf_attr *kattr, in bpf_prog_test_run_sk_lookup()
1858 union bpf_attr __user *uattr) in bpf_prog_test_run_sk_lookup()
1941 int bpf_prog_offload_init(struct bpf_prog *prog, union bpf_attr *attr);
1953 struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr);
1956 const union bpf_attr *kattr,
1957 union bpf_attr __user *uattr);
1959 int sock_map_get_from_fd(const union bpf_attr *attr, struct bpf_prog *prog);
1960 int sock_map_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype);
1966 union bpf_attr *attr) in bpf_prog_offload_init()
1981 static inline struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr) in bpf_map_offload_map_alloc()
1991 const union bpf_attr *kattr, in bpf_prog_test_run_syscall()
1992 union bpf_attr __user *uattr) in bpf_prog_test_run_syscall()
1998 static inline int sock_map_get_from_fd(const union bpf_attr *attr, in sock_map_get_from_fd()
2004 static inline int sock_map_prog_detach(const union bpf_attr *attr, in sock_map_prog_detach()