Home
last modified time | relevance | path

Searched refs:bpf_attr (Results 1 – 23 of 23) sorted by relevance

/kernel/bpf/
Dsyscall.c112 static struct bpf_map *find_and_alloc_map(union bpf_attr *attr) in find_and_alloc_map()
366 void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr) in bpf_map_init_from_attr()
876 offsetof(union bpf_attr, CMD##_LAST_FIELD) - \
1075 static int map_create(union bpf_attr *attr) in map_create()
1310 static int map_lookup_elem(union bpf_attr *attr) in map_lookup_elem()
1385 static int map_update_elem(union bpf_attr *attr, bpfptr_t uattr) in map_update_elem()
1441 static int map_delete_elem(union bpf_attr *attr, bpfptr_t uattr) in map_delete_elem()
1496 static int map_get_next_key(union bpf_attr *attr) in map_get_next_key()
1561 const union bpf_attr *attr, in generic_map_delete_batch()
1562 union bpf_attr __user *uattr) in generic_map_delete_batch()
[all …]
Dnet_namespace.c246 static int __netns_bpf_prog_query(const union bpf_attr *attr, in __netns_bpf_prog_query()
247 union bpf_attr __user *uattr, in __netns_bpf_prog_query()
271 int netns_bpf_prog_query(const union bpf_attr *attr, in netns_bpf_prog_query()
272 union bpf_attr __user *uattr) in netns_bpf_prog_query()
297 int netns_bpf_prog_attach(const union bpf_attr *attr, struct bpf_prog *prog) in netns_bpf_prog_attach()
383 int netns_bpf_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype) in netns_bpf_prog_detach()
477 int netns_bpf_link_create(const union bpf_attr *attr, struct bpf_prog *prog) in netns_bpf_link_create()
Dhashtab.c401 static int htab_map_alloc_check(union bpf_attr *attr) in htab_map_alloc_check()
462 static struct bpf_map *htab_map_alloc(union bpf_attr *attr) in htab_map_alloc()
1658 const union bpf_attr *attr, in __htab_map_lookup_and_delete_batch()
1659 union bpf_attr __user *uattr, in __htab_map_lookup_and_delete_batch()
1885 htab_percpu_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, in htab_percpu_map_lookup_batch()
1886 union bpf_attr __user *uattr) in htab_percpu_map_lookup_batch()
1894 const union bpf_attr *attr, in htab_percpu_map_lookup_and_delete_batch()
1895 union bpf_attr __user *uattr) in htab_percpu_map_lookup_and_delete_batch()
1902 htab_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, in htab_map_lookup_batch()
1903 union bpf_attr __user *uattr) in htab_map_lookup_batch()
[all …]
Dqueue_stack_maps.c47 static int queue_stack_map_alloc_check(union bpf_attr *attr) in queue_stack_map_alloc_check()
68 static struct bpf_map *queue_stack_map_alloc(union bpf_attr *attr) in queue_stack_map_alloc()
Dreuseport_array.c41 static int reuseport_array_alloc_check(union bpf_attr *attr) in reuseport_array_alloc_check()
149 static struct bpf_map *reuseport_array_alloc(union bpf_attr *attr) in reuseport_array_alloc()
Dcgroup.c1019 static int __cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr, in __cgroup_bpf_query()
1020 union bpf_attr __user *uattr) in __cgroup_bpf_query()
1118 static int cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr, in cgroup_bpf_query()
1119 union bpf_attr __user *uattr) in cgroup_bpf_query()
1129 int cgroup_bpf_prog_attach(const union bpf_attr *attr, in cgroup_bpf_prog_attach()
1158 int cgroup_bpf_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype) in cgroup_bpf_prog_detach()
1273 int cgroup_bpf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in cgroup_bpf_link_attach()
1317 int cgroup_bpf_prog_query(const union bpf_attr *attr, in cgroup_bpf_prog_query()
1318 union bpf_attr __user *uattr) in cgroup_bpf_prog_query()
Darraymap.c52 int array_map_alloc_check(union bpf_attr *attr) in array_map_alloc_check()
80 static struct bpf_map *array_map_alloc(union bpf_attr *attr) in array_map_alloc()
778 static int fd_array_map_alloc_check(union bpf_attr *attr) in fd_array_map_alloc_check()
1071 static struct bpf_map *prog_array_map_alloc(union bpf_attr *attr) in prog_array_map_alloc()
1269 static struct bpf_map *array_of_map_alloc(union bpf_attr *attr) in array_of_map_alloc()
Dbpf_local_storage.c598 int bpf_local_storage_map_alloc_check(union bpf_attr *attr) in bpf_local_storage_map_alloc_check()
617 struct bpf_local_storage_map *bpf_local_storage_map_alloc(union bpf_attr *attr) in bpf_local_storage_map_alloc()
Dbloom_filter.c91 static struct bpf_map *bloom_map_alloc(union bpf_attr *attr) in bloom_map_alloc()
Dbpf_struct_ops.c586 static int bpf_struct_ops_map_alloc_check(union bpf_attr *attr) in bpf_struct_ops_map_alloc_check()
594 static struct bpf_map *bpf_struct_ops_map_alloc(union bpf_attr *attr) in bpf_struct_ops_map_alloc()
Dbpf_inode_storage.c227 static struct bpf_map *inode_storage_map_alloc(union bpf_attr *attr) in inode_storage_map_alloc()
Doffload.c80 int bpf_prog_offload_init(struct bpf_prog *prog, union bpf_attr *attr) in bpf_prog_offload_init()
359 struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr) in bpf_map_offload_map_alloc()
Dbpf_task_storage.c289 static struct bpf_map *task_storage_map_alloc(union bpf_attr *attr) in task_storage_map_alloc()
Ddevmap.c111 static int dev_map_init_map(struct bpf_dtab *dtab, union bpf_attr *attr) in dev_map_init_map()
158 static struct bpf_map *dev_map_alloc(union bpf_attr *attr) in dev_map_alloc()
Dlocal_storage.c285 static struct bpf_map *cgroup_storage_map_alloc(union bpf_attr *attr) in cgroup_storage_map_alloc()
Dlpm_trie.c546 static struct bpf_map *trie_alloc(union bpf_attr *attr) in trie_alloc()
Dringbuf.c183 static struct bpf_map *ringbuf_map_alloc(union bpf_attr *attr) in ringbuf_map_alloc()
Dcpumap.c86 static struct bpf_map *cpu_map_alloc(union bpf_attr *attr) in cpu_map_alloc()
Dstackmap.c70 static struct bpf_map *stack_map_alloc(union bpf_attr *attr) in stack_map_alloc()
Dbpf_iter.c507 int bpf_iter_link_attach(const union bpf_attr *attr, bpfptr_t uattr, in bpf_iter_link_attach()
Dverifier.c11268 const union bpf_attr *attr, in check_btf_func()
11325 offsetof(union bpf_attr, func_info_rec_size), in check_btf_func()
11414 const union bpf_attr *attr, in check_btf_line()
11459 offsetof(union bpf_attr, line_info_rec_size), in check_btf_line()
11542 const union bpf_attr *attr, in check_core_relo()
11582 offsetof(union bpf_attr, core_relo_rec_size), in check_core_relo()
11611 const union bpf_attr *attr, in check_btf_info()
13616 const union bpf_attr *attr) in opt_subreg_zext_lo32_rnd_hi32()
15486 int bpf_check(struct bpf_prog **prog, union bpf_attr *attr, bpfptr_t uattr) in bpf_check()
Dbtf.c6913 int btf_new_fd(const union bpf_attr *attr, bpfptr_t uattr) in btf_new_fd()
6967 const union bpf_attr *attr, in btf_get_info_by_fd()
6968 union bpf_attr __user *uattr) in btf_get_info_by_fd()
/kernel/trace/
Dbpf_trace.c1991 const union bpf_attr *kattr, in bpf_prog_test_run_tracing()
1992 union bpf_attr __user *uattr) in bpf_prog_test_run_tracing()
2696 int bpf_kprobe_multi_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in bpf_kprobe_multi_link_attach()
2828 int bpf_kprobe_multi_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in bpf_kprobe_multi_link_attach()