Symbol: bpf_mem_cache
include/linux/bpf_mem_alloc.h
13
struct bpf_mem_cache __percpu *cache;
include/linux/bpf_mem_alloc.h
8
struct bpf_mem_cache;
kernel/bpf/memalloc.c
1016
struct bpf_mem_cache *c;
kernel/bpf/memalloc.c
104
struct bpf_mem_cache *tgt;
kernel/bpf/memalloc.c
125
struct bpf_mem_cache cache[NUM_CACHES];
kernel/bpf/memalloc.c
142
static void *__alloc(struct bpf_mem_cache *c, int node, gfp_t flags)
kernel/bpf/memalloc.c
160
static struct mem_cgroup *get_memcg(const struct bpf_mem_cache *c)
kernel/bpf/memalloc.c
171
static void inc_active(struct bpf_mem_cache *c, unsigned long *flags)
kernel/bpf/memalloc.c
189
static void dec_active(struct bpf_mem_cache *c, unsigned long *flags)
kernel/bpf/memalloc.c
196
static void add_obj_to_free_list(struct bpf_mem_cache *c, void *obj)
kernel/bpf/memalloc.c
207
static void alloc_bulk(struct bpf_mem_cache *c, int cnt, int node, bool atomic)
kernel/bpf/memalloc.c
265
static int free_all(struct bpf_mem_cache *c, struct llist_node *llnode, bool percpu)
kernel/bpf/memalloc.c
281
struct bpf_mem_cache *c = container_of(head, struct bpf_mem_cache, rcu_ttrace);
kernel/bpf/memalloc.c
287
static void enque_to_free(struct bpf_mem_cache *c, void *obj)
kernel/bpf/memalloc.c
297
static void do_call_rcu_ttrace(struct bpf_mem_cache *c)
kernel/bpf/memalloc.c
326
static void free_bulk(struct bpf_mem_cache *c)
kernel/bpf/memalloc.c
328
struct bpf_mem_cache *tgt = c->tgt;
kernel/bpf/memalloc.c
356
struct bpf_mem_cache *c = container_of(head, struct bpf_mem_cache, rcu);
kernel/bpf/memalloc.c
357
struct bpf_mem_cache *tgt = c->tgt;
kernel/bpf/memalloc.c
375
static void check_free_by_rcu(struct bpf_mem_cache *c)
kernel/bpf/memalloc.c
422
struct bpf_mem_cache *c = container_of(work, struct bpf_mem_cache, refill_work);
kernel/bpf/memalloc.c
438
static void notrace irq_work_raise(struct bpf_mem_cache *c)
kernel/bpf/memalloc.c
460
static void init_refill_work(struct bpf_mem_cache *c)
kernel/bpf/memalloc.c
481
static void prefill_mem_cache(struct bpf_mem_cache *c, int cpu)
kernel/bpf/memalloc.c
505
struct bpf_mem_cache *c; struct bpf_mem_cache __percpu *pc;
kernel/bpf/memalloc.c
589
struct bpf_mem_cache *c;
kernel/bpf/memalloc.c
620
static void drain_mem_cache(struct bpf_mem_cache *c)
kernel/bpf/memalloc.c
640
static void check_mem_cache(struct bpf_mem_cache *c)
kernel/bpf/memalloc.c
654
struct bpf_mem_cache *c;
kernel/bpf/memalloc.c
739
struct bpf_mem_cache *c;
kernel/bpf/memalloc.c
776
static void notrace *unit_alloc(struct bpf_mem_cache *c)
kernel/bpf/memalloc.c
797
*(struct bpf_mem_cache **)llnode = c;
kernel/bpf/memalloc.c
819
static void notrace unit_free(struct bpf_mem_cache *c, void *ptr)
kernel/bpf/memalloc.c
831
c->tgt = *(struct bpf_mem_cache **)llnode;
kernel/bpf/memalloc.c
859
static void notrace unit_free_rcu(struct bpf_mem_cache *c, void *ptr)
kernel/bpf/memalloc.c
864
c->tgt = *(struct bpf_mem_cache **)llnode;
kernel/bpf/memalloc.c
903
struct bpf_mem_cache *c;
kernel/bpf/memalloc.c
919
struct bpf_mem_cache *c;
kernel/bpf/memalloc.c
981
struct bpf_mem_cache *c;
kernel/bpf/memalloc.c
994
*(struct bpf_mem_cache **)ret = c;