Home
last modified time | relevance | path

Searched refs:rp (Results 1 – 6 of 6) sorted by relevance

/kernel/trace/
Dtrace_kprobe.c59 struct kretprobe rp; /* Use rp.kp for kprobe use */ member
86 return tk->rp.handler != NULL; in trace_kprobe_is_return()
96 return tk->rp.kp.offset; in trace_kprobe_offset()
101 return !!(kprobe_gone(&tk->rp.kp)); in trace_kprobe_has_gone()
148 snprintf(buf, sizeof(buf), "0x%p", tk->rp.kp.addr); in trace_kprobe_match_command_head()
149 else if (tk->rp.kp.offset) in trace_kprobe_match_command_head()
151 trace_kprobe_symbol(tk), tk->rp.kp.offset); in trace_kprobe_match_command_head()
184 return !(list_empty(&tk->rp.kp.list) && in trace_kprobe_is_registered()
185 hlist_unhashed(&tk->rp.kp.hlist)); in trace_kprobe_is_registered()
198 addr += tk->rp.kp.offset; in trace_kprobe_address()
[all …]
/kernel/
Dkprobes.c1218 struct kretprobe *rp = get_kretprobe(ri); in recycle_rp_inst() local
1220 if (likely(rp)) { in recycle_rp_inst()
1221 freelist_add(&ri->freelist, &rp->freelist); in recycle_rp_inst()
1276 static inline void free_rp_inst(struct kretprobe *rp) in free_rp_inst() argument
1282 node = rp->freelist.head; in free_rp_inst()
1291 if (refcount_sub_and_test(count, &rp->rph->ref)) { in free_rp_inst()
1292 kfree(rp->rph); in free_rp_inst()
1293 rp->rph = NULL; in free_rp_inst()
1883 struct kretprobe *rp; in __kretprobe_trampoline_handler() local
1917 rp = get_kretprobe(ri); in __kretprobe_trampoline_handler()
[all …]
Dtest_kprobes.c190 static struct kretprobe rp = { variable
200 ret = register_kretprobe(&rp); in test_kretprobe()
207 unregister_kretprobe(&rp); in test_kretprobe()
242 struct kretprobe *rps[2] = {&rp, &rp2}; in test_kretprobes()
245 rp.kp.addr = NULL; in test_kretprobes()
246 rp.kp.flags = 0; in test_kretprobes()
/kernel/rcu/
Drcutorture.c417 rcu_torture_pipe_update_one(struct rcu_torture *rp) in rcu_torture_pipe_update_one() argument
420 struct rcu_torture_reader_check *rtrcp = READ_ONCE(rp->rtort_chkp); in rcu_torture_pipe_update_one()
423 WRITE_ONCE(rp->rtort_chkp, NULL); in rcu_torture_pipe_update_one()
426 i = READ_ONCE(rp->rtort_pipe_count); in rcu_torture_pipe_update_one()
430 WRITE_ONCE(rp->rtort_pipe_count, i + 1); in rcu_torture_pipe_update_one()
431 if (rp->rtort_pipe_count >= RCU_TORTURE_PIPE_LEN) { in rcu_torture_pipe_update_one()
432 rp->rtort_mbtest = 0; in rcu_torture_pipe_update_one()
445 struct rcu_torture *rp; in rcu_torture_pipe_update() local
450 list_for_each_entry_safe(rp, rp1, &rcu_torture_removed, rtort_free) { in rcu_torture_pipe_update()
451 if (rcu_torture_pipe_update_one(rp)) { in rcu_torture_pipe_update()
[all …]
/kernel/sched/
Dtopology.c308 static void destroy_perf_domain_rcu(struct rcu_head *rp) in destroy_perf_domain_rcu() argument
312 pd = container_of(rp, struct perf_domain, rcu); in destroy_perf_domain_rcu()
/kernel/events/
Dcore.c3720 void **lp = l, **rp = r; in swap_ptr() local
3722 swap(*lp, *rp); in swap_ptr()