Home
last modified time | relevance | path

Searched refs:ri (Results 1 – 3 of 3) sorted by relevance

/kernel/events/
Duprobes.c1704 static struct return_instance *free_ret_instance(struct return_instance *ri) in free_ret_instance() argument
1706 struct return_instance *next = ri->next; in free_ret_instance()
1707 put_uprobe(ri->uprobe); in free_ret_instance()
1708 kfree(ri); in free_ret_instance()
1719 struct return_instance *ri; in uprobe_free_utask() local
1727 ri = utask->return_instances; in uprobe_free_utask()
1728 while (ri) in uprobe_free_utask()
1729 ri = free_ret_instance(ri); in uprobe_free_utask()
1850 struct return_instance *ri = utask->return_instances; in cleanup_return_instances() local
1853 while (ri && !arch_uretprobe_is_alive(ri, ctx, regs)) { in cleanup_return_instances()
[all …]
/kernel/
Dkprobes.c1894 struct kretprobe_instance *ri = container_of(head, struct kretprobe_instance, rcu); in free_rp_inst_rcu() local
1896 if (refcount_dec_and_test(&ri->rph->ref)) in free_rp_inst_rcu()
1897 kfree(ri->rph); in free_rp_inst_rcu()
1898 kfree(ri); in free_rp_inst_rcu()
1902 static void recycle_rp_inst(struct kretprobe_instance *ri) in recycle_rp_inst() argument
1904 struct kretprobe *rp = get_kretprobe(ri); in recycle_rp_inst()
1907 freelist_add(&ri->freelist, &rp->freelist); in recycle_rp_inst()
1909 call_rcu(&ri->rcu, free_rp_inst_rcu); in recycle_rp_inst()
1921 struct kretprobe_instance *ri; in kprobe_flush_task() local
1932 ri = container_of(node, struct kretprobe_instance, llist); in kprobe_flush_task()
[all …]
/kernel/trace/
Dtrace_kprobe.c240 static int kretprobe_dispatcher(struct kretprobe_instance *ri,
1383 __kretprobe_trace_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, in __kretprobe_trace_func() argument
1406 entry->ret_ip = get_kretprobe_retaddr(ri); in __kretprobe_trace_func()
1413 kretprobe_trace_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, in kretprobe_trace_func() argument
1419 __kretprobe_trace_func(tk, ri, regs, link->file); in kretprobe_trace_func()
1575 kretprobe_perf_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, in kretprobe_perf_func() argument
1601 entry->ret_ip = get_kretprobe_retaddr(ri); in kretprobe_perf_func()
1683 kretprobe_dispatcher(struct kretprobe_instance *ri, struct pt_regs *regs) in kretprobe_dispatcher() argument
1685 struct kretprobe *rp = get_kretprobe(ri); in kretprobe_dispatcher()
1700 kretprobe_trace_func(tk, ri, regs); in kretprobe_dispatcher()
[all …]