Lines Matching refs:bpf_cand_cache
7694 struct bpf_cand_cache { struct
7707 static struct bpf_cand_cache * argument
7713 struct bpf_cand_cache *cc; in btf_get_ptr_to_btf_id()
9149 static void bpf_free_cands(struct bpf_cand_cache *cands) in bpf_free_cands()
9157 static void bpf_free_cands_from_cache(struct bpf_cand_cache *cands) in bpf_free_cands_from_cache()
9164 static struct bpf_cand_cache *vmlinux_cand_cache[VMLINUX_CAND_CACHE_SIZE];
9167 static struct bpf_cand_cache *module_cand_cache[MODULE_CAND_CACHE_SIZE];
9170 struct bpf_cand_cache **cache, in __print_cand_cache()
9173 struct bpf_cand_cache *cc; in __print_cand_cache()
9201 static u32 hash_cands(struct bpf_cand_cache *cands) in hash_cands()
9206 static struct bpf_cand_cache *check_cand_cache(struct bpf_cand_cache *cands, in check_cand_cache()
9207 struct bpf_cand_cache **cache, in check_cand_cache()
9210 struct bpf_cand_cache *cc = cache[hash_cands(cands) % cache_size]; in check_cand_cache()
9220 return offsetof(struct bpf_cand_cache, cands[cnt]); in sizeof_cands()
9223 static struct bpf_cand_cache *populate_cand_cache(struct bpf_cand_cache *cands, in populate_cand_cache()
9224 struct bpf_cand_cache **cache, in populate_cand_cache()
9227 struct bpf_cand_cache **cc = &cache[hash_cands(cands) % cache_size], *new_cands; in populate_cand_cache()
9252 static void __purge_cand_cache(struct btf *btf, struct bpf_cand_cache **cache, in __purge_cand_cache()
9255 struct bpf_cand_cache *cc; in __purge_cand_cache()
9292 static struct bpf_cand_cache *
9293 bpf_core_add_cands(struct bpf_cand_cache *cands, const struct btf *targ_btf, in bpf_core_add_cands()
9296 struct bpf_cand_cache *new_cands; in bpf_core_add_cands()
9341 static struct bpf_cand_cache *
9344 struct bpf_cand_cache *cands, *cc, local_cand = {}; in bpf_core_find_cands()
9455 struct bpf_cand_cache *cc; in bpf_core_apply()