| /scripts/gendwarfksyms/ |
| A D | cache.c | 14 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 D | dwarf.c | 176 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 D | gendwarfksyms.h | 210 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 D | types.c | 15 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 D | Makefile | 5 gendwarfksyms-objs += cache.o
|
| /scripts/gdb/linux/ |
| A D | slab.py | 52 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 D | kdoc_re.py | 35 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 D | kdoc_output.py | 29 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 D | kdoc_parser.py | 32 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 D | decode_stacktrace.sh | 78 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 D | leaking_addresses.pl | 700 my ($cache, $key, $value) = @_; 702 if (!$cache->{$key}) { 703 $cache->{$key} = (); 705 push @{$cache->{$key}}, $value;
|
| A D | spelling.txt | 312 chache||cache
|
| /scripts/kconfig/ |
| A D | Makefile | 124 -o cache_dir=$(abspath $(obj)/tests/.cache) \ 126 clean-files += tests/.cache
|