/kernel/bpf/ |
D | syscall.c | 112 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 …]
|
D | net_namespace.c | 246 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()
|
D | hashtab.c | 401 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 …]
|
D | queue_stack_maps.c | 47 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()
|
D | reuseport_array.c | 41 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()
|
D | cgroup.c | 1019 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()
|
D | arraymap.c | 52 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()
|
D | bpf_local_storage.c | 598 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()
|
D | bloom_filter.c | 91 static struct bpf_map *bloom_map_alloc(union bpf_attr *attr) in bloom_map_alloc()
|
D | bpf_struct_ops.c | 586 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()
|
D | bpf_inode_storage.c | 227 static struct bpf_map *inode_storage_map_alloc(union bpf_attr *attr) in inode_storage_map_alloc()
|
D | offload.c | 80 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()
|
D | bpf_task_storage.c | 289 static struct bpf_map *task_storage_map_alloc(union bpf_attr *attr) in task_storage_map_alloc()
|
D | devmap.c | 111 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()
|
D | local_storage.c | 285 static struct bpf_map *cgroup_storage_map_alloc(union bpf_attr *attr) in cgroup_storage_map_alloc()
|
D | lpm_trie.c | 546 static struct bpf_map *trie_alloc(union bpf_attr *attr) in trie_alloc()
|
D | ringbuf.c | 183 static struct bpf_map *ringbuf_map_alloc(union bpf_attr *attr) in ringbuf_map_alloc()
|
D | cpumap.c | 86 static struct bpf_map *cpu_map_alloc(union bpf_attr *attr) in cpu_map_alloc()
|
D | stackmap.c | 70 static struct bpf_map *stack_map_alloc(union bpf_attr *attr) in stack_map_alloc()
|
D | bpf_iter.c | 507 int bpf_iter_link_attach(const union bpf_attr *attr, bpfptr_t uattr, in bpf_iter_link_attach()
|
D | verifier.c | 11268 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()
|
D | btf.c | 6913 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/ |
D | bpf_trace.c | 1991 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()
|