Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/bpf/
Dlocal_storage.c526 storage->percpu_buf = bpf_map_alloc_percpu(map, size, 8, gfp); in bpf_cgroup_storage_alloc()
Dcpumap.c410 rcpu->bulkq = bpf_map_alloc_percpu(map, sizeof(*rcpu->bulkq), in __cpu_map_entry_alloc()
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()
Darraymap.c38 ptr = bpf_map_alloc_percpu(&array->map, array->elem_size, 8, in bpf_array_alloc_percpu()
Dsyscall.c458 void __percpu *bpf_map_alloc_percpu(const struct bpf_map *map, size_t size, in bpf_map_alloc_percpu() function
/linux-6.12.1/include/linux/
Dbpf.h2298 void __percpu *bpf_map_alloc_percpu(const struct bpf_map *map, size_t size,
2311 #define bpf_map_alloc_percpu(_map, _size, _align, _flags) \ macro
2321 map->elem_count = bpf_map_alloc_percpu(map, size, align, flags); in bpf_map_init_elem_count()