Lines Matching defs:table
47 find_unwind_entry_in_table(const struct unwind_table *table, unsigned long addr)
53 hi = table->length - 1;
57 e = &table->table[mid];
72 struct unwind_table *table;
79 list_for_each_entry(table, &unwind_tables, list) {
80 if (addr >= table->start &&
81 addr <= table->end)
82 e = find_unwind_entry_in_table(table, addr);
85 list_move(&table->list, &unwind_tables);
94 unwind_table_init(struct unwind_table *table, const char *name,
102 table->name = name;
103 table->base_addr = base_addr;
104 table->gp = gp;
105 table->start = base_addr + start->region_start;
106 table->end = base_addr + end->region_end;
107 table->table = (struct unwind_table_entry *)table_start;
108 table->length = end - start + 1;
109 INIT_LIST_HEAD(&table->list);
141 struct unwind_table *table;
148 table = kmalloc(sizeof(struct unwind_table), GFP_USER);
149 if (table == NULL)
151 unwind_table_init(table, name, base_addr, gp, start, end);
153 list_add_tail(&table->list, &unwind_tables);
156 return table;
159 void unwind_table_remove(struct unwind_table *table)
164 list_del(&table->list);
167 kfree(table);