Searched refs:bpf_mem_alloc (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | bpf_mem_alloc.h | 11 struct bpf_mem_alloc { struct 25 int bpf_mem_alloc_init(struct bpf_mem_alloc *ma, int size, bool percpu); 26 void bpf_mem_alloc_destroy(struct bpf_mem_alloc *ma); 29 void *bpf_mem_alloc(struct bpf_mem_alloc *ma, size_t size); 30 void bpf_mem_free(struct bpf_mem_alloc *ma, void *ptr); 31 void bpf_mem_free_rcu(struct bpf_mem_alloc *ma, void *ptr); 34 void *bpf_mem_cache_alloc(struct bpf_mem_alloc *ma); 35 void bpf_mem_cache_free(struct bpf_mem_alloc *ma, void *ptr); 36 void bpf_mem_cache_free_rcu(struct bpf_mem_alloc *ma, void *ptr); 38 void *bpf_mem_cache_alloc_flags(struct bpf_mem_alloc *ma, gfp_t flags);
|
H A D | bpf_local_storage.h | 59 struct bpf_mem_alloc selem_ma; 60 struct bpf_mem_alloc storage_ma;
|
H A D | bpf.h | 58 extern struct bpf_mem_alloc bpf_global_ma;
|
/openbmc/linux/kernel/bpf/ |
H A D | memalloc.c | 593 static void check_leaked_objs(struct bpf_mem_alloc *ma) in check_leaked_objs() 616 static void free_mem_alloc_no_barrier(struct bpf_mem_alloc *ma) in free_mem_alloc_no_barrier() 625 static void free_mem_alloc(struct bpf_mem_alloc *ma) in free_mem_alloc() 646 struct bpf_mem_alloc *ma = container_of(work, struct bpf_mem_alloc, work); in free_mem_alloc_deferred() 654 struct bpf_mem_alloc *copy; in destroy_mem_alloc() 677 void bpf_mem_alloc_destroy(struct bpf_mem_alloc *ma) in bpf_mem_alloc_destroy() 817 void notrace *bpf_mem_alloc(struct bpf_mem_alloc *ma, size_t size) in bpf_mem_alloc() function 833 void notrace bpf_mem_free(struct bpf_mem_alloc *ma, void *ptr) in bpf_mem_free() 849 void notrace bpf_mem_free_rcu(struct bpf_mem_alloc *ma, void *ptr) in bpf_mem_free_rcu() 865 void notrace *bpf_mem_cache_alloc(struct bpf_mem_alloc *ma) in bpf_mem_cache_alloc() [all …]
|
H A D | cpumask.c | 30 static struct bpf_mem_alloc bpf_cpumask_ma;
|
H A D | hashtab.c | 88 struct bpf_mem_alloc ma; 89 struct bpf_mem_alloc pcpu_ma;
|
H A D | helpers.c | 1986 p = bpf_mem_alloc(&bpf_global_ma, size); in bpf_obj_new_impl()
|
H A D | core.c | 67 struct bpf_mem_alloc bpf_global_ma;
|