Lines Matching refs:bpf_cand_cache
7565 struct bpf_cand_cache { struct
7578 static struct bpf_cand_cache * argument
7584 struct bpf_cand_cache *cc; in btf_get_ptr_to_btf_id()
8940 static void bpf_free_cands(struct bpf_cand_cache *cands) in bpf_free_cands()
8948 static void bpf_free_cands_from_cache(struct bpf_cand_cache *cands) in bpf_free_cands_from_cache()
8955 static struct bpf_cand_cache *vmlinux_cand_cache[VMLINUX_CAND_CACHE_SIZE];
8958 static struct bpf_cand_cache *module_cand_cache[MODULE_CAND_CACHE_SIZE];
8961 struct bpf_cand_cache **cache, in __print_cand_cache()
8964 struct bpf_cand_cache *cc; in __print_cand_cache()
8992 static u32 hash_cands(struct bpf_cand_cache *cands) in hash_cands()
8997 static struct bpf_cand_cache *check_cand_cache(struct bpf_cand_cache *cands, in check_cand_cache()
8998 struct bpf_cand_cache **cache, in check_cand_cache()
9001 struct bpf_cand_cache *cc = cache[hash_cands(cands) % cache_size]; in check_cand_cache()
9011 return offsetof(struct bpf_cand_cache, cands[cnt]); in sizeof_cands()
9014 static struct bpf_cand_cache *populate_cand_cache(struct bpf_cand_cache *cands, in populate_cand_cache()
9015 struct bpf_cand_cache **cache, in populate_cand_cache()
9018 struct bpf_cand_cache **cc = &cache[hash_cands(cands) % cache_size], *new_cands; in populate_cand_cache()
9043 static void __purge_cand_cache(struct btf *btf, struct bpf_cand_cache **cache, in __purge_cand_cache()
9046 struct bpf_cand_cache *cc; in __purge_cand_cache()
9083 static struct bpf_cand_cache *
9084 bpf_core_add_cands(struct bpf_cand_cache *cands, const struct btf *targ_btf, in bpf_core_add_cands()
9087 struct bpf_cand_cache *new_cands; in bpf_core_add_cands()
9132 static struct bpf_cand_cache *
9135 struct bpf_cand_cache *cands, *cc, local_cand = {}; in bpf_core_find_cands()
9246 struct bpf_cand_cache *cc; in bpf_core_apply()