Lines Matching refs:bpf_cand_cache

8123 struct bpf_cand_cache {  struct
8134 static void bpf_free_cands(struct bpf_cand_cache *cands) in bpf_free_cands() argument
8142 static void bpf_free_cands_from_cache(struct bpf_cand_cache *cands) in bpf_free_cands_from_cache()
8149 static struct bpf_cand_cache *vmlinux_cand_cache[VMLINUX_CAND_CACHE_SIZE];
8152 static struct bpf_cand_cache *module_cand_cache[MODULE_CAND_CACHE_SIZE];
8157 struct bpf_cand_cache **cache, in __print_cand_cache()
8160 struct bpf_cand_cache *cc; in __print_cand_cache()
8188 static u32 hash_cands(struct bpf_cand_cache *cands) in hash_cands()
8193 static struct bpf_cand_cache *check_cand_cache(struct bpf_cand_cache *cands, in check_cand_cache()
8194 struct bpf_cand_cache **cache, in check_cand_cache()
8197 struct bpf_cand_cache *cc = cache[hash_cands(cands) % cache_size]; in check_cand_cache()
8207 return offsetof(struct bpf_cand_cache, cands[cnt]); in sizeof_cands()
8210 static struct bpf_cand_cache *populate_cand_cache(struct bpf_cand_cache *cands, in populate_cand_cache()
8211 struct bpf_cand_cache **cache, in populate_cand_cache()
8214 struct bpf_cand_cache **cc = &cache[hash_cands(cands) % cache_size], *new_cands; in populate_cand_cache()
8239 static void __purge_cand_cache(struct btf *btf, struct bpf_cand_cache **cache, in __purge_cand_cache()
8242 struct bpf_cand_cache *cc; in __purge_cand_cache()
8279 static struct bpf_cand_cache *
8280 bpf_core_add_cands(struct bpf_cand_cache *cands, const struct btf *targ_btf, in bpf_core_add_cands()
8283 struct bpf_cand_cache *new_cands; in bpf_core_add_cands()
8328 static struct bpf_cand_cache *
8331 struct bpf_cand_cache *cands, *cc, local_cand = {}; in bpf_core_find_cands()
8433 struct bpf_cand_cache *cc; in bpf_core_apply()