Lines Matching refs:bpf_cand_cache

7670 struct bpf_cand_cache {  struct
7681 static void bpf_free_cands(struct bpf_cand_cache *cands) in bpf_free_cands() argument
7689 static void bpf_free_cands_from_cache(struct bpf_cand_cache *cands) in bpf_free_cands_from_cache()
7696 static struct bpf_cand_cache *vmlinux_cand_cache[VMLINUX_CAND_CACHE_SIZE];
7699 static struct bpf_cand_cache *module_cand_cache[MODULE_CAND_CACHE_SIZE];
7704 struct bpf_cand_cache **cache, in __print_cand_cache()
7707 struct bpf_cand_cache *cc; in __print_cand_cache()
7735 static u32 hash_cands(struct bpf_cand_cache *cands) in hash_cands()
7740 static struct bpf_cand_cache *check_cand_cache(struct bpf_cand_cache *cands, in check_cand_cache()
7741 struct bpf_cand_cache **cache, in check_cand_cache()
7744 struct bpf_cand_cache *cc = cache[hash_cands(cands) % cache_size]; in check_cand_cache()
7754 return offsetof(struct bpf_cand_cache, cands[cnt]); in sizeof_cands()
7757 static struct bpf_cand_cache *populate_cand_cache(struct bpf_cand_cache *cands, in populate_cand_cache()
7758 struct bpf_cand_cache **cache, in populate_cand_cache()
7761 struct bpf_cand_cache **cc = &cache[hash_cands(cands) % cache_size], *new_cands; in populate_cand_cache()
7786 static void __purge_cand_cache(struct btf *btf, struct bpf_cand_cache **cache, in __purge_cand_cache()
7789 struct bpf_cand_cache *cc; in __purge_cand_cache()
7826 static struct bpf_cand_cache *
7827 bpf_core_add_cands(struct bpf_cand_cache *cands, const struct btf *targ_btf, in bpf_core_add_cands()
7830 struct bpf_cand_cache *new_cands; in bpf_core_add_cands()
7875 static struct bpf_cand_cache *
7878 struct bpf_cand_cache *cands, *cc, local_cand = {}; in bpf_core_find_cands()
7982 struct bpf_cand_cache *cc; in bpf_core_apply()