Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dqueue_stack_maps.c77 ret = bpf_map_charge_init(&mem, cost); in queue_stack_map_alloc()
H A Dreuseport_array.c164 err = bpf_map_charge_init(&mem, array_size); in reuseport_array_alloc()
H A Dringbuf.c181 err = bpf_map_charge_init(&rb_map->map.memory, cost); in ringbuf_map_alloc()
H A Dbpf_local_storage.c560 ret = bpf_map_charge_init(&smap->map.memory, cost); in bpf_local_storage_map_alloc()
H A Dlpm_trie.c574 ret = bpf_map_charge_init(&trie->map.memory, cost); in trie_alloc()
H A Dlocal_storage.c312 ret = bpf_map_charge_init(&mem, sizeof(struct bpf_cgroup_storage_map)); in cgroup_storage_map_alloc()
H A Dbpf_struct_ops.c589 err = bpf_map_charge_init(&mem, map_total_size); in bpf_struct_ops_map_alloc()
H A Dcpumap.c116 ret = bpf_map_charge_init(&cmap->map.memory, cost); in cpu_map_alloc()
H A Ddevmap.c144 err = bpf_map_charge_init(&dtab->map.memory, cost); in dev_map_init_map()
H A Dstackmap.c124 err = bpf_map_charge_init(&mem, cost + attr->max_entries * in stack_map_alloc()
H A Darraymap.c134 ret = bpf_map_charge_init(&mem, cost); in array_map_alloc()
H A Dhashtab.c472 err = bpf_map_charge_init(&htab->map.memory, cost); in htab_map_alloc()
H A Dsyscall.c379 int bpf_map_charge_init(struct bpf_map_memory *mem, u64 size) in bpf_map_charge_init() function
/OK3568_Linux_fs/kernel/net/xdp/
H A Dxskmap.c92 err = bpf_map_charge_init(&mem, size); in xsk_map_alloc()
/OK3568_Linux_fs/kernel/net/core/
H A Dsock_map.c51 err = bpf_map_charge_init(&stab->map.memory, cost); in sock_map_alloc()
1149 err = bpf_map_charge_init(&htab->map.memory, cost); in sock_hash_alloc()
/OK3568_Linux_fs/kernel/include/linux/
H A Dbpf.h1264 int bpf_map_charge_init(struct bpf_map_memory *mem, u64 size);