• Home
  • Raw
  • Download

Lines Matching refs:addr

150 		snprintf(buf, sizeof(buf), "0x%p", tk->rp.kp.addr);  in trace_kprobe_match_command_head()
194 unsigned long addr; in trace_kprobe_address() local
197 addr = (unsigned long) in trace_kprobe_address()
199 if (addr) in trace_kprobe_address()
200 addr += tk->rp.kp.offset; in trace_kprobe_address()
202 addr = (unsigned long)tk->rp.kp.addr; in trace_kprobe_address()
204 return addr; in trace_kprobe_address()
223 return tk ? kprobe_on_func_entry(tk->rp.kp.addr, in trace_kprobe_on_func_entry()
224 tk->rp.kp.addr ? NULL : tk->rp.kp.symbol_name, in trace_kprobe_on_func_entry()
225 tk->rp.kp.addr ? 0 : tk->rp.kp.offset) : false; in trace_kprobe_on_func_entry()
258 void *addr, in alloc_trace_kprobe() argument
282 tk->rp.kp.addr = addr; in alloc_trace_kprobe()
438 static bool __within_notrace_func(unsigned long addr) in __within_notrace_func() argument
442 if (!addr || !kallsyms_lookup_size_offset(addr, &size, &offset)) in __within_notrace_func()
446 addr -= offset; in __within_notrace_func()
452 return !ftrace_location_range(addr, addr + size - 1); in __within_notrace_func()
457 unsigned long addr = addr = trace_kprobe_address(tk); in within_notrace_func() local
460 if (!__within_notrace_func(addr)) in within_notrace_func()
464 if (!lookup_symbol_name(addr, symname)) { in within_notrace_func()
469 addr = (unsigned long)kprobe_lookup_name(symname, 0); in within_notrace_func()
470 if (addr) in within_notrace_func()
471 return __within_notrace_func(addr); in within_notrace_func()
530 tk->rp.kp.addr = NULL; in __unregister_trace_kprobe()
743 void *addr = NULL; in trace_kprobe_create() local
797 if (kstrtoul(argv[1], 0, (unsigned long *)&addr)) { in trace_kprobe_create()
835 is_return ? 'r' : 'p', addr); in trace_kprobe_create()
841 tk = alloc_trace_kprobe(group, event, addr, symbol, offset, maxactive, in trace_kprobe_create()
925 seq_printf(m, " 0x%p", tk->rp.kp.addr); in trace_kprobe_show()
1037 fetch_store_strlen(unsigned long addr) in fetch_store_strlen() argument
1043 ret = probe_kernel_read(&c, (u8 *)addr + len, 1); in fetch_store_strlen()
1052 fetch_store_strlen_user(unsigned long addr) in fetch_store_strlen_user() argument
1054 const void __user *uaddr = (__force const void __user *)addr; in fetch_store_strlen_user()
1064 fetch_store_string(unsigned long addr, void *dest, void *base) in fetch_store_string() argument
1079 ret = strncpy_from_unsafe(__dest, (void *)addr, maxlen); in fetch_store_string()
1091 fetch_store_string_user(unsigned long addr, void *dest, void *base) in fetch_store_string_user() argument
1093 const void __user *uaddr = (__force const void __user *)addr; in fetch_store_string_user()
1202 entry->ip = (unsigned long)tk->rp.kp.addr; in NOKPROBE_SYMBOL()
1250 entry->func = (unsigned long)tk->rp.kp.addr; in __kretprobe_trace_func()
1410 entry->ip = (unsigned long)tk->rp.kp.addr; in kprobe_perf_func()
1446 entry->func = (unsigned long)tk->rp.kp.addr; in kretprobe_perf_func()
1478 *probe_addr = (unsigned long)tk->rp.kp.addr; in bpf_get_kprobe_info()
1589 create_local_trace_kprobe(char *func, void *addr, unsigned long offs, in create_local_trace_kprobe() argument
1603 tk = alloc_trace_kprobe(KPROBE_EVENT_SYSTEM, event, (void *)addr, func, in create_local_trace_kprobe()