Home
last modified time | relevance | path

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

/include/linux/
Dbpf_mem_alloc.h11 struct bpf_mem_alloc { struct
29 int bpf_mem_alloc_init(struct bpf_mem_alloc *ma, int size, bool percpu);
31 int bpf_mem_alloc_percpu_init(struct bpf_mem_alloc *ma, struct obj_cgroup *objcg);
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);
[all …]
Dbpf_local_storage.h59 struct bpf_mem_alloc selem_ma;
60 struct bpf_mem_alloc storage_ma;
Dbpf.h65 extern struct bpf_mem_alloc bpf_global_ma, bpf_global_percpu_ma;