unw 136 arch/arc/kernel/module.c void *unw; unw 140 arch/arc/kernel/module.c unw = unwind_add_table(mod, (void *)sechdrs[unwsec].sh_addr, unw 142 arch/arc/kernel/module.c mod->arch.unw_info = unw; unw 147 arch/ia64/kernel/unwind.c } unw = { unw 148 arch/ia64/kernel/unwind.c .tables = &unw.kernel_table, unw 149 arch/ia64/kernel/unwind.c .lock = __SPIN_LOCK_UNLOCKED(unw.lock), unw 245 arch/ia64/kernel/unwind.c return (unsigned long) ((char *) addr - (char *) &unw.r0) < sizeof(unw.r0); unw 256 arch/ia64/kernel/unwind.c if (reg < ARRAY_SIZE(unw.pt_regs_offsets)) unw 257 arch/ia64/kernel/unwind.c off = unw.pt_regs_offsets[reg]; unw 756 arch/ia64/kernel/unwind.c for (i = 0; i < (int) ARRAY_SIZE(unw.save_order); ++i) { unw 757 arch/ia64/kernel/unwind.c reg = sr->curr.reg + unw.save_order[i]; unw 838 arch/ia64/kernel/unwind.c set_reg(sr->curr.reg + unw.save_order[i], UNW_WHERE_GR, unw 1227 arch/ia64/kernel/unwind.c struct unw_script *script = unw.cache + info->hint; unw 1234 arch/ia64/kernel/unwind.c STAT(++unw.stat.cache.lookups); unw 1240 arch/ia64/kernel/unwind.c STAT(++unw.stat.cache.hinted_hits); unw 1244 arch/ia64/kernel/unwind.c index = unw.hash[hash(ip)]; unw 1248 arch/ia64/kernel/unwind.c script = unw.cache + index; unw 1252 arch/ia64/kernel/unwind.c STAT(++unw.stat.cache.normal_hits); unw 1253 arch/ia64/kernel/unwind.c unw.cache[info->prev_script].hint = script - unw.cache; unw 1258 arch/ia64/kernel/unwind.c script = unw.cache + script->coll_chain; unw 1259 arch/ia64/kernel/unwind.c STAT(++unw.stat.cache.collision_chain_traversals); unw 1273 arch/ia64/kernel/unwind.c STAT(++unw.stat.script.news); unw 1279 arch/ia64/kernel/unwind.c head = unw.lru_head; unw 1280 arch/ia64/kernel/unwind.c script = unw.cache + head; unw 1281 arch/ia64/kernel/unwind.c unw.lru_head = script->lru_chain; unw 1293 arch/ia64/kernel/unwind.c unw.cache[unw.lru_tail].lru_chain = head; unw 1294 arch/ia64/kernel/unwind.c unw.lru_tail = head; unw 1299 arch/ia64/kernel/unwind.c tmp = unw.cache + unw.hash[index]; unw 1306 arch/ia64/kernel/unwind.c unw.hash[index] = tmp->coll_chain; unw 1313 arch/ia64/kernel/unwind.c tmp = unw.cache + tmp->coll_chain; unw 1319 arch/ia64/kernel/unwind.c script->coll_chain = unw.hash[index]; unw 1320 arch/ia64/kernel/unwind.c unw.hash[index] = script - unw.cache; unw 1324 arch/ia64/kernel/unwind.c STAT(if (script->coll_chain < UNW_CACHE_SIZE) ++unw.stat.script.collisions); unw 1396 arch/ia64/kernel/unwind.c insn.dst = unw.preg_index[i]; unw 1427 arch/ia64/kernel/unwind.c val = unw.preg_index[UNW_REG_R4 + (rval - 4)]; unw 1440 arch/ia64/kernel/unwind.c val = unw.preg_index[UNW_REG_F2 + (rval - 2)]; unw 1442 arch/ia64/kernel/unwind.c val = unw.preg_index[UNW_REG_F16 + (rval - 16)]; unw 1455 arch/ia64/kernel/unwind.c val = unw.preg_index[UNW_REG_B1 + (rval - 1)]; unw 1481 arch/ia64/kernel/unwind.c insn.dst = unw.preg_index[i]; unw 1495 arch/ia64/kernel/unwind.c insn.dst = insn.val = unw.preg_index[UNW_REG_PSP]; unw 1542 arch/ia64/kernel/unwind.c STAT(++unw.stat.script.builds; start = ia64_get_itc()); unw 1554 arch/ia64/kernel/unwind.c STAT(unw.stat.script.build_time += ia64_get_itc() - start); unw 1557 arch/ia64/kernel/unwind.c unw.cache[info->prev_script].hint = script - unw.cache; unw 1564 arch/ia64/kernel/unwind.c for (table = unw.tables; table; table = table->next) { unw 1573 arch/ia64/kernel/unwind.c if (prev && prev != unw.tables) { unw 1576 arch/ia64/kernel/unwind.c table->next = unw.tables->next; unw 1577 arch/ia64/kernel/unwind.c unw.tables->next = table; unw 1587 arch/ia64/kernel/unwind.c __func__, ip, unw.cache[info->prev_script].ip); unw 1593 arch/ia64/kernel/unwind.c STAT(unw.stat.script.parse_time += ia64_get_itc() - parse_start); unw 1594 arch/ia64/kernel/unwind.c STAT(unw.stat.script.build_time += ia64_get_itc() - start); unw 1645 arch/ia64/kernel/unwind.c UNW_DPRINT(1, " %s <- ", unw.preg_name[r - sr.curr.reg]); unw 1653 arch/ia64/kernel/unwind.c UNW_DPRINT(1, "%s+0x%lx", unw.preg_name[r - sr.curr.reg], r->val); unw 1665 arch/ia64/kernel/unwind.c STAT(unw.stat.script.parse_time += ia64_get_itc() - parse_start); unw 1707 arch/ia64/kernel/unwind.c STAT(unw.stat.script.parse_time += ia64_get_itc() - parse_start); unw 1710 arch/ia64/kernel/unwind.c STAT(unw.stat.script.build_time += ia64_get_itc() - start); unw 1727 arch/ia64/kernel/unwind.c STAT(++unw.stat.script.runs; start = ia64_get_itc()); unw 1770 arch/ia64/kernel/unwind.c s[dst] = (unsigned long) &unw.r0; unw 1817 arch/ia64/kernel/unwind.c STAT(unw.stat.script.run_time += ia64_get_itc() - start); unw 1821 arch/ia64/kernel/unwind.c off = unw.sw_off[val]; unw 1850 arch/ia64/kernel/unwind.c spin_lock_irqsave(&unw.lock, flags); unw 1853 arch/ia64/kernel/unwind.c spin_unlock_irqrestore(&unw.lock, flags); unw 1862 arch/ia64/kernel/unwind.c info->prev_script = scr - unw.cache; unw 1868 arch/ia64/kernel/unwind.c spin_unlock_irqrestore(&unw.lock, flags); unw 1890 arch/ia64/kernel/unwind.c STAT(local_irq_save(flags); ++unw.stat.api.unwinds; start = ia64_get_itc()); unw 1901 arch/ia64/kernel/unwind.c STAT(unw.stat.api.unwind_time += ia64_get_itc() - start; local_irq_restore(flags)); unw 1908 arch/ia64/kernel/unwind.c STAT(unw.stat.api.unwind_time += ia64_get_itc() - start; local_irq_restore(flags)); unw 1915 arch/ia64/kernel/unwind.c STAT(unw.stat.api.unwind_time += ia64_get_itc() - start; local_irq_restore(flags)); unw 1937 arch/ia64/kernel/unwind.c STAT(unw.stat.api.unwind_time += ia64_get_itc() - start; local_irq_restore(flags)); unw 1946 arch/ia64/kernel/unwind.c STAT(unw.stat.api.unwind_time += ia64_get_itc() - start; local_irq_restore(flags)); unw 1953 arch/ia64/kernel/unwind.c STAT(unw.stat.api.unwind_time += ia64_get_itc() - start; local_irq_restore(flags)); unw 1964 arch/ia64/kernel/unwind.c STAT(unw.stat.api.unwind_time += ia64_get_itc() - start; local_irq_restore(flags)); unw 2007 arch/ia64/kernel/unwind.c STAT(local_irq_save(flags); ++unw.stat.api.inits; start = ia64_get_itc()); unw 2048 arch/ia64/kernel/unwind.c STAT(unw.stat.api.init_time += ia64_get_itc() - start; local_irq_restore(flags)); unw 2116 arch/ia64/kernel/unwind.c spin_lock_irqsave(&unw.lock, flags); unw 2119 arch/ia64/kernel/unwind.c table->next = unw.tables->next; unw 2120 arch/ia64/kernel/unwind.c unw.tables->next = table; unw 2122 arch/ia64/kernel/unwind.c spin_unlock_irqrestore(&unw.lock, flags); unw 2142 arch/ia64/kernel/unwind.c if (table == &unw.kernel_table) { unw 2148 arch/ia64/kernel/unwind.c spin_lock_irqsave(&unw.lock, flags); unw 2152 arch/ia64/kernel/unwind.c for (prev = (struct unw_table *) &unw.tables; prev; prev = prev->next) unw 2158 arch/ia64/kernel/unwind.c spin_unlock_irqrestore(&unw.lock, flags); unw 2163 arch/ia64/kernel/unwind.c spin_unlock_irqrestore(&unw.lock, flags); unw 2168 arch/ia64/kernel/unwind.c tmp = unw.cache + unw.hash[index]; unw 2169 arch/ia64/kernel/unwind.c if (unw.hash[index] >= UNW_CACHE_SIZE unw 2176 arch/ia64/kernel/unwind.c unw.hash[index] = tmp->coll_chain; unw 2217 arch/ia64/kernel/unwind.c unw.gate_table = kmalloc(size, GFP_KERNEL); unw 2218 arch/ia64/kernel/unwind.c if (!unw.gate_table) { unw 2219 arch/ia64/kernel/unwind.c unw.gate_table_size = 0; unw 2223 arch/ia64/kernel/unwind.c unw.gate_table_size = size; unw 2225 arch/ia64/kernel/unwind.c lp = unw.gate_table; unw 2226 arch/ia64/kernel/unwind.c info = (char *) unw.gate_table + size; unw 2235 arch/ia64/kernel/unwind.c lp[2] = info - (char *) unw.gate_table; /* info */ unw 2253 arch/ia64/kernel/unwind.c unw.sw_off[unw.preg_index[UNW_REG_PRI_UNAT_GR]] = SW(CALLER_UNAT); unw 2254 arch/ia64/kernel/unwind.c unw.sw_off[unw.preg_index[UNW_REG_BSPSTORE]] = SW(AR_BSPSTORE); unw 2255 arch/ia64/kernel/unwind.c unw.sw_off[unw.preg_index[UNW_REG_PFS]] = SW(AR_PFS); unw 2256 arch/ia64/kernel/unwind.c unw.sw_off[unw.preg_index[UNW_REG_RP]] = SW(B0); unw 2257 arch/ia64/kernel/unwind.c unw.sw_off[unw.preg_index[UNW_REG_UNAT]] = SW(CALLER_UNAT); unw 2258 arch/ia64/kernel/unwind.c unw.sw_off[unw.preg_index[UNW_REG_PR]] = SW(PR); unw 2259 arch/ia64/kernel/unwind.c unw.sw_off[unw.preg_index[UNW_REG_LC]] = SW(AR_LC); unw 2260 arch/ia64/kernel/unwind.c unw.sw_off[unw.preg_index[UNW_REG_FPSR]] = SW(AR_FPSR); unw 2262 arch/ia64/kernel/unwind.c unw.sw_off[unw.preg_index[i]] = off; unw 2264 arch/ia64/kernel/unwind.c unw.sw_off[unw.preg_index[i]] = off; unw 2266 arch/ia64/kernel/unwind.c unw.sw_off[unw.preg_index[i]] = off; unw 2268 arch/ia64/kernel/unwind.c unw.sw_off[unw.preg_index[i]] = off; unw 2272 arch/ia64/kernel/unwind.c unw.cache[i].lru_chain = (i - 1); unw 2273 arch/ia64/kernel/unwind.c unw.cache[i].coll_chain = -1; unw 2274 arch/ia64/kernel/unwind.c rwlock_init(&unw.cache[i].lock); unw 2276 arch/ia64/kernel/unwind.c unw.lru_head = UNW_CACHE_SIZE - 1; unw 2277 arch/ia64/kernel/unwind.c unw.lru_tail = 0; unw 2279 arch/ia64/kernel/unwind.c init_unwind_table(&unw.kernel_table, "kernel", KERNEL_START, (unsigned long) __gp, unw 2316 arch/ia64/kernel/unwind.c if (buf && buf_size >= unw.gate_table_size) unw 2317 arch/ia64/kernel/unwind.c if (copy_to_user(buf, unw.gate_table, unw.gate_table_size) != 0) unw 2319 arch/ia64/kernel/unwind.c return unw.gate_table_size;