Lines Matching defs:table
51 find_unwind_entry_in_table(const struct unwind_table *table, unsigned long addr)
57 hi = table->length - 1;
61 e = &table->table[mid];
76 struct unwind_table *table;
86 list_for_each_entry(table, &unwind_tables, list) {
87 if (addr >= table->start &&
88 addr <= table->end)
89 e = find_unwind_entry_in_table(table, addr);
92 list_move(&table->list, &unwind_tables);
103 unwind_table_init(struct unwind_table *table, const char *name,
111 table->name = name;
112 table->base_addr = base_addr;
113 table->gp = gp;
114 table->start = base_addr + start->region_start;
115 table->end = base_addr + end->region_end;
116 table->table = (struct unwind_table_entry *)table_start;
117 table->length = end - start + 1;
118 INIT_LIST_HEAD(&table->list);
151 struct unwind_table *table;
158 table = kmalloc(sizeof(struct unwind_table), GFP_USER);
159 if (table == NULL)
161 unwind_table_init(table, name, base_addr, gp, start, end);
163 list_add_tail(&table->list, &unwind_tables);
166 return table;
169 void unwind_table_remove(struct unwind_table *table)
174 list_del(&table->list);
177 kfree(table);