Lines Matching defs: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, union bpf_attr __user *uattr);
66 int (*map_lookup_and_delete_batch)(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr);
67 int (*map_update_batch)(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr);
68 int (*map_delete_batch)(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr);
1253 void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr);
1254 int generic_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr);
1255 int generic_map_update_batch(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr);
1256 int generic_map_delete_batch(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr);
1350 int bpf_iter_link_attach(const union bpf_attr *attr, struct bpf_prog *prog);
1391 int bpf_check(struct bpf_prog **fp, union bpf_attr *attr, union bpf_attr __user *uattr);
1417 static inline int bpf_map_attr_numa_node(const union bpf_attr *attr)
1419 return (attr->map_flags & BPF_F_NUMA_NODE) ? attr->numa_node : NUMA_NO_NODE;
1423 int array_map_alloc_check(union bpf_attr *attr);
1667 int bpf_prog_offload_init(struct bpf_prog *prog, union bpf_attr *attr);
1679 struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr);
1682 static inline int bpf_prog_offload_init(struct bpf_prog *prog, union bpf_attr *attr)
1697 static inline struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr)
1709 int sock_map_get_from_fd(const union bpf_attr *attr, struct bpf_prog *prog);
1710 int sock_map_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype);
1720 static inline int sock_map_get_from_fd(const union bpf_attr *attr, struct bpf_prog *prog)
1725 static inline int sock_map_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype)