Lines Matching refs:ip

1205 hash (unsigned long ip)  in hash()  argument
1210 return (ip >> 4) * hashmagic >> (64 - UNW_LOG_HASH_SIZE); in hash()
1214 cache_match (struct unw_script *script, unsigned long ip, unsigned long pr) in cache_match() argument
1217 if (ip == script->ip && ((pr ^ script->pr_val) & script->pr_mask) == 0) in cache_match()
1229 unsigned long ip, pr; in script_lookup() local
1236 ip = info->ip; in script_lookup()
1239 if (cache_match(script, ip, pr)) { in script_lookup()
1244 index = unw.hash[hash(ip)]; in script_lookup()
1250 if (cache_match(script, ip, pr)) { in script_lookup()
1267 script_new (unsigned long ip) in script_new() argument
1297 if (script->ip) { in script_new()
1298 index = hash(script->ip); in script_new()
1318 index = hash(ip); in script_new()
1322 script->ip = ip; /* set new IP while we're holding the locks */ in script_new()
1532 unsigned long ip = info->ip; in build_script() local
1550 UNW_DPRINT(3, "unwind.%s: ip 0x%lx\n", __func__, ip); in build_script()
1551 script = script_new(ip); in build_script()
1565 if (ip >= table->start && ip < table->end) { in build_script()
1579 e = lookup(table, ip - table->segment_base); in build_script()
1587 __func__, ip, unw.cache[info->prev_script].ip); in build_script()
1598 sr.when_target = (3*((ip & ~0xfUL) - (table->segment_base + e->start_offset))/16 in build_script()
1599 + (ip & 0xfUL)); in build_script()
1636 __func__, ip, sr.curr.reg[UNW_REG_RP].where, in build_script()
1722 struct unw_insn *ip, *limit, next_insn; in run_script() local
1729 ip = script->insn; in run_script()
1731 next_insn = *ip; in run_script()
1733 while (ip++ < limit) { in run_script()
1737 next_insn = *ip; in run_script()
1840 if ((info->ip & (local_cpu_data->unimpl_va_mask | 0xf)) || info->ip < TASK_SIZE) { in find_save_locs()
1843 UNW_DPRINT(1, "unwind.%s: rejecting bad ip=0x%lx\n", __func__, info->ip); in find_save_locs()
1856 __func__, info->ip); in find_save_locs()
1886 unsigned long ip, pr, num_regs; in unw_unwind() local
1892 prev_ip = info->ip; in unw_unwind()
1900 __func__, info->ip); in unw_unwind()
1905 ip = info->ip = *info->rp_loc; in unw_unwind()
1906 if (ip < GATE_ADDR) { in unw_unwind()
1907 UNW_DPRINT(2, "unwind.%s: reached user-space (ip=0x%lx)\n", __func__, ip); in unw_unwind()
1950 if (info->ip == prev_ip && info->sp == prev_sp && info->bsp == prev_bsp) { in unw_unwind()
1952 __func__, ip); in unw_unwind()
1972 unsigned long ip, sp, pr = info->pr; in unw_unwind_to_user() local
1986 unw_get_rp(info, &ip); in unw_unwind_to_user()
1989 __func__, ip); in unw_unwind_to_user()
1993 unw_get_ip(info, &ip); in unw_unwind_to_user()
1995 __func__, ip); in unw_unwind_to_user()
2060 info->ip = sw->b0; in unw_init_frame_info()
2065 __func__, info->bsp, sol, info->ip); in unw_init_frame_info()
2170 || tmp->ip < table->start || tmp->ip >= table->end) in unw_remove_unwind_table()
2175 if (tmp->ip >= table->start && tmp->ip < table->end) { in unw_remove_unwind_table()
2177 tmp->ip = 0; in unw_remove_unwind_table()