Home
last modified time | relevance | path

Searched refs:bpf_map_alloc_percpu (Results 1 – 6 of 6) sorted by relevance

/linux/kernel/bpf/
H A Dlocal_storage.c526 storage->percpu_buf = bpf_map_alloc_percpu(map, size, 8, gfp); in bpf_cgroup_storage_alloc()
H A Dcpumap.c410 rcpu->bulkq = bpf_map_alloc_percpu(map, sizeof(*rcpu->bulkq), in __cpu_map_entry_alloc()
H A Dhashtab.c341 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 Darraymap.c38 ptr = bpf_map_alloc_percpu(&array->map, array->elem_size, 8, in bpf_array_alloc_percpu()
H A Dsyscall.c547 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 Dbpf.h2342 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()