Home
last modified time | relevance | path

Searched refs:table (Results 1 – 5 of 5) sorted by relevance

/scripts/include/
Dhashtable.h16 #define hash_head(table, key) (&(table)[(key) % HASH_SIZE(table)]) argument
33 #define hash_init(table) __hash_init(table, HASH_SIZE(table)) argument
41 #define hash_add(table, node, key) \ argument
42 hlist_add_head(node, hash_head(table, key))
59 #define hash_for_each(table, obj, member) \ argument
60 for (int _bkt = 0; _bkt < HASH_SIZE(table); _bkt++) \
61 hlist_for_each_entry(obj, &table[_bkt], member)
71 #define hash_for_each_safe(table, obj, tmp, member) \ argument
72 for (int _bkt = 0; _bkt < HASH_SIZE(table); _bkt++) \
73 hlist_for_each_entry_safe(obj, tmp, &table[_bkt], member)
[all …]
/scripts/mod/
Dsymsearch.c27 struct syminfo table[]; member
69 struct syminfo *table, in symsearch_populate() argument
78 table->symbol_index = sym - elf->symtab_start; in symsearch_populate()
79 table->section_index = get_secindex(elf, sym); in symsearch_populate()
80 table->addr = sym->st_value; in symsearch_populate()
88 table->addr &= ~1; in symsearch_populate()
90 table++; in symsearch_populate()
113 static void symsearch_fixup(struct syminfo *table, unsigned int table_size) in symsearch_fixup() argument
117 if (table[i].addr == table[i - 1].addr && in symsearch_fixup()
118 table[i].section_index == table[i - 1].section_index) { in symsearch_fixup()
[all …]
/scripts/
Dkallsyms.c62 static struct sym_entry **table; variable
245 if (symbol_valid(table[i])) { in shrink_table()
247 table[pos] = table[i]; in shrink_table()
250 free(table[i]); in shrink_table()
278 table = xrealloc(table, sizeof(*table) * table_size); in read_map()
281 table[table_cnt++] = sym; in read_map()
349 qsort(table, table_cnt, sizeof(table[0]), compare_names); in sort_symbols_by_name()
384 table[i]->seq = i; in write_src()
387 if (table[i]->len == 0) { in write_src()
394 if (table[i]->len > 0x3FFF) { in write_src()
[all …]
Dcheck-sysctl-docs16 if (!table) {
115 if (debug) print "Adding entry " curentry " to table " curtable
123 if (tables[2] == table) {
140 if (debug) print "Registering variable table " tables[2] " at " tables[1]
Dget_feat.pl203 $data{$name}->{table} = \%arch_table;
250 my %arch_table = %{$data{$name}->{table}};
282 my %arch_table = %{$data{$name}->{table}};
335 my %arch_table = %{$data{$feat}->{table}};
429 my %arch_table = %{$data{$name}->{table}};