Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/bpf/
Dqueue_stack_maps.c77 ret = bpf_map_charge_init(&mem, cost); in queue_stack_map_alloc()
Dreuseport_array.c164 err = bpf_map_charge_init(&mem, array_size); in reuseport_array_alloc()
Dringbuf.c179 err = bpf_map_charge_init(&rb_map->map.memory, cost); in ringbuf_map_alloc()
Dbpf_local_storage.c560 ret = bpf_map_charge_init(&smap->map.memory, cost); in bpf_local_storage_map_alloc()
Dbpf_struct_ops.c581 err = bpf_map_charge_init(&mem, map_total_size); in bpf_struct_ops_map_alloc()
Dlocal_storage.c311 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()
Dcpumap.c116 ret = bpf_map_charge_init(&cmap->map.memory, cost); in cpu_map_alloc()
Ddevmap.c144 err = bpf_map_charge_init(&dtab->map.memory, cost); in dev_map_init_map()
Dstackmap.c122 err = bpf_map_charge_init(&mem, cost); in stack_map_alloc()
Darraymap.c134 ret = bpf_map_charge_init(&mem, cost); in array_map_alloc()
Dhashtab.c472 err = bpf_map_charge_init(&htab->map.memory, cost); in htab_map_alloc()
Dsyscall.c361 int bpf_map_charge_init(struct bpf_map_memory *mem, u64 size) in bpf_map_charge_init() function
/Linux-v5.10/net/xdp/
Dxskmap.c92 err = bpf_map_charge_init(&mem, size); in xsk_map_alloc()
/Linux-v5.10/net/core/
Dsock_map.c51 err = bpf_map_charge_init(&stab->map.memory, cost); in sock_map_alloc()
1140 err = bpf_map_charge_init(&htab->map.memory, cost); in sock_hash_alloc()
/Linux-v5.10/include/linux/
Dbpf.h1220 int bpf_map_charge_init(struct bpf_map_memory *mem, u64 size);