Home
last modified time | relevance | path

Searched refs:bpf_map_charge_init (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.4/kernel/bpf/
Dqueue_stack_maps.c77 ret = bpf_map_charge_init(&mem, cost); in queue_stack_map_alloc()
Dreuseport_array.c163 err = bpf_map_charge_init(&mem, array_size); in reuseport_array_alloc()
Dxskmap.c106 err = bpf_map_charge_init(&m->map.memory, cost); in xsk_map_alloc()
Dcpumap.c112 ret = bpf_map_charge_init(&cmap->map.memory, cost); in cpu_map_alloc()
Dlocal_storage.c295 ret = bpf_map_charge_init(&mem, sizeof(struct bpf_cgroup_storage_map)); in cgroup_storage_map_alloc()
Dlpm_trie.c574 ret = bpf_map_charge_init(&trie->map.memory, cost); in trie_alloc()
Dstackmap.c118 err = bpf_map_charge_init(&mem, cost); in stack_map_alloc()
Ddevmap.c135 err = bpf_map_charge_init(&dtab->map.memory, cost); in dev_map_init_map()
Darraymap.c115 ret = bpf_map_charge_init(&mem, cost); in array_map_alloc()
Dhashtab.c356 err = bpf_map_charge_init(&htab->map.memory, cost); in htab_map_alloc()
Dsyscall.c203 int bpf_map_charge_init(struct bpf_map_memory *mem, u64 size) in bpf_map_charge_init() function
/Linux-v5.4/net/core/
Dbpf_sk_storage.c651 ret = bpf_map_charge_init(&smap->map.memory, cost); in bpf_sk_storage_map_alloc()
Dsock_map.c47 err = bpf_map_charge_init(&stab->map.memory, cost); in sock_map_alloc()
/Linux-v5.4/include/linux/
Dbpf.h659 int bpf_map_charge_init(struct bpf_map_memory *mem, u64 size);