ref_cache 186 refs.c struct ref_cache; ref_cache 226 refs.c struct ref_cache *ref_cache; ref_cache 421 refs.c static struct ref_entry *create_dir_entry(struct ref_cache *ref_cache, ref_cache 429 refs.c direntry->u.subdir.ref_cache = ref_cache; ref_cache 505 refs.c entry = create_dir_entry(dir->ref_cache, subdirname, len, 0); ref_cache 1064 refs.c struct ref_cache *next; ref_cache 1073 refs.c } ref_cache, *submodule_ref_caches; ref_cache 1102 refs.c static void clear_packed_ref_cache(struct ref_cache *refs) ref_cache 1114 refs.c static void clear_loose_ref_cache(struct ref_cache *refs) ref_cache 1122 refs.c static struct ref_cache *create_ref_cache(const char *submodule) ref_cache 1125 refs.c struct ref_cache *refs; ref_cache 1129 refs.c refs = xcalloc(1, sizeof(struct ref_cache) + len); ref_cache 1140 refs.c static struct ref_cache *get_ref_cache(const char *submodule) ref_cache 1142 refs.c struct ref_cache *refs; ref_cache 1145 refs.c return &ref_cache; ref_cache 1289 refs.c static struct packed_ref_cache *get_packed_ref_cache(struct ref_cache *refs) ref_cache 1324 refs.c static struct ref_dir *get_packed_refs(struct ref_cache *refs) ref_cache 1338 refs.c get_packed_ref_cache(&ref_cache); ref_cache 1353 refs.c struct ref_cache *refs = dir->ref_cache; ref_cache 1441 refs.c static struct ref_dir *get_loose_refs(struct ref_cache *refs) ref_cache 1468 refs.c static int resolve_gitlink_packed_ref(struct ref_cache *refs, ref_cache 1482 refs.c static int resolve_gitlink_ref_recursive(struct ref_cache *refs, ref_cache 1526 refs.c struct ref_cache *refs; ref_cache 1546 refs.c return find_ref(get_packed_refs(&ref_cache), refname); ref_cache 1992 refs.c static int do_for_each_entry(struct ref_cache *refs, const char *base, ref_cache 2050 refs.c static int do_for_each_ref(struct ref_cache *refs, const char *base, ref_cache 2098 refs.c return do_for_each_ref(&ref_cache, "", fn, 0, 0, cb_data); ref_cache 2108 refs.c return do_for_each_ref(&ref_cache, prefix, fn, strlen(prefix), 0, cb_data); ref_cache 2149 refs.c return do_for_each_ref(&ref_cache, git_replace_ref_base, fn, ref_cache 2173 refs.c ret = do_for_each_ref(&ref_cache, buf.buf, fn, 0, 0, cb_data); ref_cache 2215 refs.c return do_for_each_ref(&ref_cache, "", fn, 0, ref_cache 2435 refs.c get_loose_refs(&ref_cache), err)) ref_cache 2449 refs.c get_loose_refs(&ref_cache), err)) ref_cache 2463 refs.c get_packed_refs(&ref_cache), err)) { ref_cache 2580 refs.c packed_ref_cache = get_packed_ref_cache(&ref_cache); ref_cache 2596 refs.c get_packed_ref_cache(&ref_cache); ref_cache 2630 refs.c get_packed_ref_cache(&ref_cache); ref_cache 2637 refs.c clear_packed_ref_cache(&ref_cache); ref_cache 2773 refs.c cbdata.packed_refs = get_packed_refs(&ref_cache); ref_cache 2775 refs.c do_for_each_entry_in_dir(get_loose_refs(&ref_cache), 0, ref_cache 2816 refs.c packed = get_packed_refs(&ref_cache); ref_cache 3090 refs.c get_packed_refs(&ref_cache), &err) ref_cache 3092 refs.c get_loose_refs(&ref_cache), &err); ref_cache 3442 refs.c clear_loose_ref_cache(&ref_cache); ref_cache 4272 refs.c clear_loose_ref_cache(&ref_cache); ref_cache 4296 refs.c struct ref_dir *loose_refs = get_loose_refs(&ref_cache); ref_cache 4297 refs.c struct ref_dir *packed_refs = get_packed_refs(&ref_cache);