Searched refs:rp (Results 1 – 3 of 3) sorted by relevance
/kernel/ |
D | kprobes.c | 399 struct kretprobe *rp = ri->rp; in recycle_rp_inst() local 404 if (likely(rp)) { in recycle_rp_inst() 405 spin_lock(&rp->lock); in recycle_rp_inst() 406 hlist_add_head(&ri->hlist, &rp->free_instances); in recycle_rp_inst() 407 spin_unlock(&rp->lock); in recycle_rp_inst() 479 static inline void free_rp_inst(struct kretprobe *rp) in free_rp_inst() argument 484 hlist_for_each_entry_safe(ri, pos, next, &rp->free_instances, hlist) { in free_rp_inst() 490 static void __kprobes cleanup_rp_inst(struct kretprobe *rp) in cleanup_rp_inst() argument 502 if (ri->rp == rp) in cleanup_rp_inst() 503 ri->rp = NULL; in cleanup_rp_inst() [all …]
|
D | rcutorture.c | 307 struct rcu_torture *rp = container_of(p, struct rcu_torture, rtort_rcu); in rcu_torture_cb() local 314 i = rp->rtort_pipe_count; in rcu_torture_cb() 318 if (++rp->rtort_pipe_count >= RCU_TORTURE_PIPE_LEN) { in rcu_torture_cb() 319 rp->rtort_mbtest = 0; in rcu_torture_cb() 320 rcu_torture_free(rp); in rcu_torture_cb() 322 cur_ops->deferredfree(rp); in rcu_torture_cb() 348 struct rcu_torture *rp; in rcu_sync_torture_deferred_free() local 353 list_for_each_entry_safe(rp, rp1, &rcu_torture_removed, rtort_free) { in rcu_sync_torture_deferred_free() 354 i = rp->rtort_pipe_count; in rcu_sync_torture_deferred_free() 358 if (++rp->rtort_pipe_count >= RCU_TORTURE_PIPE_LEN) { in rcu_sync_torture_deferred_free() [all …]
|
D | test_kprobes.c | 268 static struct kretprobe rp = { variable 278 ret = register_kretprobe(&rp); in test_kretprobe() 286 unregister_kretprobe(&rp); in test_kretprobe() 324 struct kretprobe *rps[2] = {&rp, &rp2}; in test_kretprobes() 326 rp.kp.addr = 0; /* addr should be cleard for reusing kprobe. */ in test_kretprobes()
|