Home
last modified time | relevance | path

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

/Linux-v6.6/kernel/bpf/
Dmemalloc.c66 static int bpf_mem_cache_idx(size_t size) in bpf_mem_cache_idx() function
583 if (i != bpf_mem_cache_idx(c->unit_size)) in bpf_mem_alloc_init()
865 idx = bpf_mem_cache_idx(size + LLIST_NODE_SZ); in bpf_mem_alloc()
880 idx = bpf_mem_cache_idx(ksize(ptr - LLIST_NODE_SZ)); in bpf_mem_free()
894 idx = bpf_mem_cache_idx(ksize(ptr - LLIST_NODE_SZ)); in bpf_mem_free_rcu()