kernel/bpf/btf.c
7782
static struct bpf_cand_cache *
kernel/bpf/btf.c
7788
struct bpf_cand_cache *cc;
kernel/bpf/btf.c
9401
static void bpf_free_cands(struct bpf_cand_cache *cands)
kernel/bpf/btf.c
9409
static void bpf_free_cands_from_cache(struct bpf_cand_cache *cands)
kernel/bpf/btf.c
9416
static struct bpf_cand_cache *vmlinux_cand_cache[VMLINUX_CAND_CACHE_SIZE];
kernel/bpf/btf.c
9419
static struct bpf_cand_cache *module_cand_cache[MODULE_CAND_CACHE_SIZE];
kernel/bpf/btf.c
9422
struct bpf_cand_cache **cache,
kernel/bpf/btf.c
9425
struct bpf_cand_cache *cc;
kernel/bpf/btf.c
9453
static u32 hash_cands(struct bpf_cand_cache *cands)
kernel/bpf/btf.c
9458
static struct bpf_cand_cache *check_cand_cache(struct bpf_cand_cache *cands,
kernel/bpf/btf.c
9459
struct bpf_cand_cache **cache,
kernel/bpf/btf.c
9462
struct bpf_cand_cache *cc = cache[hash_cands(cands) % cache_size];
kernel/bpf/btf.c
9472
return offsetof(struct bpf_cand_cache, cands[cnt]);
kernel/bpf/btf.c
9475
static struct bpf_cand_cache *populate_cand_cache(struct bpf_cand_cache *cands,
kernel/bpf/btf.c
9476
struct bpf_cand_cache **cache,
kernel/bpf/btf.c
9479
struct bpf_cand_cache **cc = &cache[hash_cands(cands) % cache_size], *new_cands;
kernel/bpf/btf.c
9504
static void __purge_cand_cache(struct btf *btf, struct bpf_cand_cache **cache,
kernel/bpf/btf.c
9507
struct bpf_cand_cache *cc;
kernel/bpf/btf.c
9544
static struct bpf_cand_cache *
kernel/bpf/btf.c
9545
bpf_core_add_cands(struct bpf_cand_cache *cands, const struct btf *targ_btf,
kernel/bpf/btf.c
9548
struct bpf_cand_cache *new_cands;
kernel/bpf/btf.c
9593
static struct bpf_cand_cache *
kernel/bpf/btf.c
9596
struct bpf_cand_cache *cands, *cc, local_cand = {};
kernel/bpf/btf.c
9707
struct bpf_cand_cache *cc;