Home
last modified time | relevance | path

Searched refs:cache (Results 1 – 13 of 13) sorted by relevance

/scripts/gendwarfksyms/
A Dcache.c14 void cache_set(struct cache *cache, unsigned long key, int value) in cache_set() argument
21 hash_add(cache->cache, &ci->hash, hash_32(key)); in cache_set()
24 int cache_get(struct cache *cache, unsigned long key) in cache_get() argument
28 hash_for_each_possible(cache->cache, ci, hash, hash_32(key)) { in cache_get()
36 void cache_init(struct cache *cache) in cache_init() argument
38 hash_init(cache->cache); in cache_init()
41 void cache_free(struct cache *cache) in cache_free() argument
46 hash_for_each_safe(cache->cache, ci, tmp, hash) { in cache_free()
50 hash_init(cache->cache); in cache_free()
A Ddwarf.c176 if (cache) in process()
193 process(cache, buf); in process_fmt()
201 if (!cache->fqn) { in update_fqn()
206 cache->fqn = ""; in update_fqn()
213 if (*cache->fqn) in process_fqn()
215 process(cache, cache->fqn); in process_fqn()
868 struct die *cache; in process_type() local
948 cache->tag = tag; in process_type()
961 struct die *cache; in get_symbol_cache() local
969 return cache; in get_symbol_cache()
[all …]
A Dgendwarfksyms.h210 struct cache { struct
211 HASHTABLE_DECLARE(cache, 1 << CACHE_HASH_BITS);
214 void cache_set(struct cache *cache, unsigned long key, int value);
215 int cache_get(struct cache *cache, unsigned long key);
216 void cache_init(struct cache *cache);
217 void cache_free(struct cache *cache);
219 static inline void cache_mark_expanded(struct cache *cache, void *addr) in cache_mark_expanded() argument
221 cache_set(cache, (unsigned long)addr, 1); in cache_mark_expanded()
224 static inline bool cache_was_expanded(struct cache *cache, void *addr) in cache_was_expanded() argument
226 return cache_get(cache, (unsigned long)addr) == 1; in cache_was_expanded()
[all …]
A Dtypes.c15 static struct cache expansion_cache;
303 if (cache->state == DIE_SYMBOL || cache->state == DIE_FQN) in get_type_name()
305 if (!cache->fqn || !*cache->fqn) in get_type_name()
412 __type_expand(cache, type); in type_expand()
488 if (cache->mapped) in expand_type()
491 cache->mapped = true; in expand_type()
498 !__die_map_get(cache->addr, DIE_COMPLETE, &cache)) { in expand_type()
499 if (cache->mapped) in expand_type()
502 cache->mapped = true; in expand_type()
505 name = get_type_name(cache); in expand_type()
[all …]
A DMakefile5 gendwarfksyms-objs += cache.o
/scripts/gdb/linux/
A Dslab.py52 p = p + int(cache['size'])
54 def get_info_end(cache): argument
55 if (cache['offset'] >= cache['inuse']):
58 return cache['inuse']
60 def get_orig_size(cache, obj): argument
61 if cache['flags'] & SLAB_STORE_USER and cache['flags'] & SLAB_KMALLOC:
63 p += get_info_end(cache)
68 return cache['object_size']
105 def get_freepointer(cache, obj): argument
107 ptr_addr = obj + cache['offset']
[all …]
/scripts/lib/kdoc/
A Dkdoc_re.py35 if self.cache:
38 def __init__(self, string, cache=True, flags=0): argument
43 self.cache = cache
59 return KernRe(str(self) + str(other), cache=self.cache or other.cache,
A Dkdoc_output.py29 type_constant = KernRe(r"\b``([^\`]+)``\b", cache=False)
30 type_constant2 = KernRe(r"\%([-_*\w]+)", cache=False)
31 type_func = KernRe(r"(\w+)\(\)", cache=False)
35 type_fp_param = KernRe(r"\@(\w+)\(\)", cache=False)
38 type_fp_param2 = KernRe(r"\@(\w+->\S+)\(\)", cache=False)
40 type_env = KernRe(r"(\$\w+)", cache=False)
41 type_enum = KernRe(r"\&(enum\s*([_\w]+))", cache=False)
42 type_struct = KernRe(r"\&(struct\s*([_\w]+))", cache=False)
44 type_union = KernRe(r"\&(union\s*([_\w]+))", cache=False)
46 type_fallback = KernRe(r"\&([_\w]+)", cache=False)
[all …]
A Dkdoc_parser.py32 doc_start = KernRe(r'^/\*\*\s*$', cache=False)
34 doc_end = KernRe(r'\*/', cache=False)
35 doc_com = KernRe(r'\s*\*\s*', cache=False)
36 doc_com_body = KernRe(r'\s*\* ?', cache=False)
37 doc_decl = doc_com + KernRe(r'(\w+)', cache=False)
50 flags=re.I, cache=False)
52 doc_content = doc_com_body + KernRe(r'(.*)', cache=False)
53 doc_inline_start = KernRe(r'^\s*/\*\*\s*$', cache=False)
55 doc_inline_end = KernRe(r'^\s*\*/\s*$', cache=False)
58 flags=re.I | re.S, cache=False)
[all …]
/scripts/
A Ddecode_stacktrace.sh78 declare -A cache 2>/dev/null
165 local base_addr=${cache[$module,$name]}
173 cache[$module,$name]="$base_addr"
191 local code=${cache[$module,$address]}
195 cache[$module,$address]=$code
A Dleaking_addresses.pl700 my ($cache, $key, $value) = @_;
702 if (!$cache->{$key}) {
703 $cache->{$key} = ();
705 push @{$cache->{$key}}, $value;
A Dspelling.txt312 chache||cache
/scripts/kconfig/
A DMakefile124 -o cache_dir=$(abspath $(obj)/tests/.cache) \
126 clean-files += tests/.cache

Completed in 22 milliseconds