Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dbpf_mem_alloc.h46 void bpf_mem_cache_free(struct bpf_mem_alloc *ma, void *ptr);
/linux/kernel/bpf/
H A Dbpf_local_storage.c90 * only does bpf_mem_cache_free when there is in bpf_selem_alloc()
176 bpf_mem_cache_free(&smap->storage_ma, local_storage); in bpf_local_storage_free()
254 * bpf_mem_cache_free will be able to reuse selem in bpf_selem_free()
257 bpf_mem_cache_free(&smap->selem_ma, selem); in bpf_selem_free()
H A Dlpm_trie.c450 bpf_mem_cache_free(&trie->ma, new_node); in trie_update_elem()
H A Dhashtab.c881 bpf_mem_cache_free(&htab->pcpu_ma, l->ptr_to_pptr); in htab_elem_free()
882 bpf_mem_cache_free(&htab->ma, l); in htab_elem_free()
1037 bpf_mem_cache_free(&htab->ma, l_new); in alloc_htab_elem()
1478 * therefore, it is OK to invoke bpf_mem_cache_free() directly. in delete_all_elements()
H A Dmemalloc.c632 * bpf_mem_cache_free() for all remaining elements and they can be in in drain_mem_cache()
947 void notrace bpf_mem_cache_free(struct bpf_mem_alloc *ma, void *ptr) in bpf_mem_cache_free() function