• Home
  • Raw
  • Download

Lines Matching refs:bpf_attr

58 	int (*map_alloc_check)(union bpf_attr *attr);
59 struct bpf_map *(*map_alloc)(union bpf_attr *attr);
65 int (*map_lookup_batch)(struct bpf_map *map, const union bpf_attr *attr,
66 union bpf_attr __user *uattr);
68 const union bpf_attr *attr,
69 union bpf_attr __user *uattr);
70 int (*map_update_batch)(struct bpf_map *map, const union bpf_attr *attr,
71 union bpf_attr __user *uattr);
72 int (*map_delete_batch)(struct bpf_map *map, const union bpf_attr *attr,
73 union bpf_attr __user *uattr);
447 int (*test_run)(struct bpf_prog *prog, const union bpf_attr *kattr,
448 union bpf_attr __user *uattr);
1272 void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr);
1274 const union bpf_attr *attr,
1275 union bpf_attr __user *uattr);
1277 const union bpf_attr *attr,
1278 union bpf_attr __user *uattr);
1280 const union bpf_attr *attr,
1281 union bpf_attr __user *uattr);
1375 int bpf_iter_link_attach(const union bpf_attr *attr, struct bpf_prog *prog);
1422 int bpf_check(struct bpf_prog **fp, union bpf_attr *attr,
1423 union bpf_attr __user *uattr);
1453 static inline int bpf_map_attr_numa_node(const union bpf_attr *attr) in bpf_map_attr_numa_node()
1460 int array_map_alloc_check(union bpf_attr *attr);
1462 int bpf_prog_test_run_xdp(struct bpf_prog *prog, const union bpf_attr *kattr,
1463 union bpf_attr __user *uattr);
1464 int bpf_prog_test_run_skb(struct bpf_prog *prog, const union bpf_attr *kattr,
1465 union bpf_attr __user *uattr);
1467 const union bpf_attr *kattr,
1468 union bpf_attr __user *uattr);
1470 const union bpf_attr *kattr,
1471 union bpf_attr __user *uattr);
1473 const union bpf_attr *kattr,
1474 union bpf_attr __user *uattr);
1476 const union bpf_attr *kattr,
1477 union bpf_attr __user *uattr);
1665 const union bpf_attr *kattr, in bpf_prog_test_run_xdp()
1666 union bpf_attr __user *uattr) in bpf_prog_test_run_xdp()
1672 const union bpf_attr *kattr, in bpf_prog_test_run_skb()
1673 union bpf_attr __user *uattr) in bpf_prog_test_run_skb()
1679 const union bpf_attr *kattr, in bpf_prog_test_run_tracing()
1680 union bpf_attr __user *uattr) in bpf_prog_test_run_tracing()
1686 const union bpf_attr *kattr, in bpf_prog_test_run_flow_dissector()
1687 union bpf_attr __user *uattr) in bpf_prog_test_run_flow_dissector()
1693 const union bpf_attr *kattr, in bpf_prog_test_run_sk_lookup()
1694 union bpf_attr __user *uattr) in bpf_prog_test_run_sk_lookup()
1761 int bpf_prog_offload_init(struct bpf_prog *prog, union bpf_attr *attr);
1773 struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr);
1777 union bpf_attr *attr) in bpf_prog_offload_init()
1792 static inline struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr) in bpf_map_offload_map_alloc()
1805 int sock_map_get_from_fd(const union bpf_attr *attr, struct bpf_prog *prog);
1806 int sock_map_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype);
1818 static inline int sock_map_get_from_fd(const union bpf_attr *attr, in sock_map_get_from_fd()
1824 static inline int sock_map_prog_detach(const union bpf_attr *attr, in sock_map_prog_detach()