Searched refs:bpf_map_alloc_percpu (Results 1 – 6 of 6) sorted by relevance
/linux/kernel/bpf/ |
H A D | local_storage.c | 526 storage->percpu_buf = bpf_map_alloc_percpu(map, size, 8, gfp); in bpf_cgroup_storage_alloc()
|
H A D | cpumap.c | 410 rcpu->bulkq = bpf_map_alloc_percpu(map, sizeof(*rcpu->bulkq), in __cpu_map_entry_alloc()
|
H A D | hashtab.c | 341 pptr = bpf_map_alloc_percpu(&htab->map, size, 8, in prealloc_init() 396 pptr = bpf_map_alloc_percpu(&htab->map, sizeof(struct htab_elem *), 8, in alloc_extra_elems() 540 htab->map_locked[i] = bpf_map_alloc_percpu(&htab->map, in htab_map_alloc()
|
H A D | arraymap.c | 38 ptr = bpf_map_alloc_percpu(&array->map, array->elem_size, 8, in bpf_array_alloc_percpu()
|
H A D | syscall.c | 547 void __percpu *bpf_map_alloc_percpu(const struct bpf_map *map, size_t size, in bpf_map_alloc_percpu() function
|
/linux/include/linux/ |
H A D | bpf.h | 2342 void __percpu *bpf_map_alloc_percpu(const struct bpf_map *map, size_t size, 2355 #define bpf_map_alloc_percpu(_map, _size, _align, _flags) \ macro 2365 map->elem_count = bpf_map_alloc_percpu(map, size, align, flags); in bpf_map_init_elem_count()
|