Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/bpf/
Dbpf_local_storage.c24 static int mem_charge(struct bpf_local_storage_map *smap, void *owner, u32 size) in mem_charge() function
67 if (charge_mem && mem_charge(smap, owner, smap->elem_size)) in bpf_selem_alloc()
263 err = mem_charge(smap, owner, sizeof(*storage)); in bpf_local_storage_alloc()