Home
last modified time | relevance | path

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

/linux/include/linux/
A Dbpf_mem_alloc.h11 struct bpf_mem_alloc { struct
29 int bpf_mem_alloc_init(struct bpf_mem_alloc *ma, int size, bool percpu);
33 int bpf_mem_alloc_percpu_unit_init(struct bpf_mem_alloc *ma, int size);
34 void bpf_mem_alloc_destroy(struct bpf_mem_alloc *ma);
40 void *bpf_mem_alloc(struct bpf_mem_alloc *ma, size_t size);
41 void bpf_mem_free(struct bpf_mem_alloc *ma, void *ptr);
42 void bpf_mem_free_rcu(struct bpf_mem_alloc *ma, void *ptr);
45 void *bpf_mem_cache_alloc(struct bpf_mem_alloc *ma);
46 void bpf_mem_cache_free(struct bpf_mem_alloc *ma, void *ptr);
47 void bpf_mem_cache_free_rcu(struct bpf_mem_alloc *ma, void *ptr);
[all …]
A Dbpf_local_storage.h59 struct bpf_mem_alloc selem_ma;
60 struct bpf_mem_alloc storage_ma;
A Dbpf.h64 extern struct bpf_mem_alloc bpf_global_ma, bpf_global_percpu_ma;
/linux/kernel/bpf/
A Dmemalloc.c661 static void check_leaked_objs(struct bpf_mem_alloc *ma) in check_leaked_objs()
684 static void free_mem_alloc_no_barrier(struct bpf_mem_alloc *ma) in free_mem_alloc_no_barrier()
693 static void free_mem_alloc(struct bpf_mem_alloc *ma) in free_mem_alloc()
714 struct bpf_mem_alloc *ma = container_of(work, struct bpf_mem_alloc, work); in free_mem_alloc_deferred()
722 struct bpf_mem_alloc *copy; in destroy_mem_alloc()
745 void bpf_mem_alloc_destroy(struct bpf_mem_alloc *ma) in bpf_mem_alloc_destroy()
892 void notrace *bpf_mem_alloc(struct bpf_mem_alloc *ma, size_t size) in bpf_mem_alloc() function
910 void notrace bpf_mem_free(struct bpf_mem_alloc *ma, void *ptr) in bpf_mem_free()
926 void notrace bpf_mem_free_rcu(struct bpf_mem_alloc *ma, void *ptr) in bpf_mem_free_rcu()
942 void notrace *bpf_mem_cache_alloc(struct bpf_mem_alloc *ma) in bpf_mem_cache_alloc()
[all …]
A Dcpumask.c30 static struct bpf_mem_alloc bpf_cpumask_ma;
A Dtask_iter.c836 kit->data = bpf_mem_alloc(&bpf_global_ma, sizeof(struct bpf_iter_task_vma_kern_data)); in bpf_iter_task_vma_new()
918 kit->css_it = bpf_mem_alloc(&bpf_global_ma, sizeof(struct css_task_iter)); in bpf_iter_css_task_new()
A Dhelpers.c2122 p = bpf_mem_alloc(&bpf_global_ma, size); in bpf_obj_new_impl()
2135 return bpf_mem_alloc(&bpf_global_percpu_ma, size); in bpf_percpu_obj_new_impl()
2141 struct bpf_mem_alloc *ma; in __bpf_obj_drop_impl()
2940 kit->bits = bpf_mem_alloc(&bpf_global_ma, nr_bytes); in bpf_iter_bits_new()
A Dhashtab.c89 struct bpf_mem_alloc ma;
90 struct bpf_mem_alloc pcpu_ma;
A Dcore.c68 struct bpf_mem_alloc bpf_global_ma;
A Dverifier.c47 struct bpf_mem_alloc bpf_global_percpu_ma;

Completed in 80 milliseconds