Searched refs:rh (Results 1 – 8 of 8) sorted by relevance
/kernel/trace/ |
D | rethook.c | 38 struct rethook *rh = container_of(head, struct rethook, rcu); in rethook_free_rcu() local 43 node = rh->pool.head; in rethook_free_rcu() 52 if (refcount_sub_and_test(count, &rh->ref)) in rethook_free_rcu() 53 kfree(rh); in rethook_free_rcu() 64 void rethook_stop(struct rethook *rh) in rethook_stop() argument 66 rcu_assign_pointer(rh->handler, NULL); in rethook_stop() 79 void rethook_free(struct rethook *rh) in rethook_free() argument 81 rethook_stop(rh); in rethook_free() 83 call_rcu(&rh->rcu, rethook_free_rcu); in rethook_free() 86 static inline rethook_handler_t rethook_get_handler(struct rethook *rh) in rethook_get_handler() argument [all …]
|
D | fprobe.c | 27 struct rethook_node *rh = NULL; in fprobe_handler() local 43 rh = rethook_try_get(fp->rethook); in fprobe_handler() 44 if (!rh) { in fprobe_handler() 48 fpr = container_of(rh, struct fprobe_rethook_node, node); in fprobe_handler() 57 if (rh) in fprobe_handler() 58 rethook_hook(rh, ftrace_get_regs(fregs), true); in fprobe_handler() 79 static void fprobe_exit_handler(struct rethook_node *rh, void *data, in fprobe_exit_handler() argument 88 fpr = container_of(rh, struct fprobe_rethook_node, node); in fprobe_exit_handler()
|
/kernel/ |
D | kprobes.c | 2124 rhn = rethook_try_get(rp->rh); in pre_handler_kretprobe() 2141 static void kretprobe_rethook_handler(struct rethook_node *rh, void *data, in kretprobe_rethook_handler() argument 2156 ri = container_of(rh, struct kretprobe_instance, node); in kretprobe_rethook_handler() 2229 rp->rh = rethook_alloc((void *)rp, kretprobe_rethook_handler); in register_kretprobe() 2230 if (!rp->rh) in register_kretprobe() 2237 rethook_free(rp->rh); in register_kretprobe() 2238 rp->rh = NULL; in register_kretprobe() 2241 rethook_add_node(rp->rh, &inst->node); in register_kretprobe() 2247 rethook_free(rp->rh); in register_kretprobe() 2248 rp->rh = NULL; in register_kretprobe() [all …]
|
D | fork.c | 220 static void thread_stack_free_rcu(struct rcu_head *rh) in thread_stack_free_rcu() argument 222 struct vm_stack *vm_stack = container_of(rh, struct vm_stack, rcu); in thread_stack_free_rcu() 353 static void thread_stack_free_rcu(struct rcu_head *rh) in thread_stack_free_rcu() argument 355 __free_pages(virt_to_page(rh), THREAD_SIZE_ORDER); in thread_stack_free_rcu() 360 struct rcu_head *rh = tsk->stack; in thread_stack_delayed_free() local 362 call_rcu(rh, thread_stack_free_rcu); in thread_stack_delayed_free() 388 static void thread_stack_free_rcu(struct rcu_head *rh) in thread_stack_free_rcu() argument 390 kmem_cache_free(thread_stack_cache, rh); in thread_stack_free_rcu() 395 struct rcu_head *rh = tsk->stack; in thread_stack_delayed_free() local 397 call_rcu(rh, thread_stack_free_rcu); in thread_stack_delayed_free()
|
/kernel/rcu/ |
D | update.c | 661 struct rcu_head rh; member 677 kfree_rcu(rhp, rh); in early_boot_test_call_rcu()
|
D | tasks.h | 1817 struct rcu_head rh; member 1844 container_of(rhp, struct rcu_tasks_test_desc, rh); in test_rcu_tasks_callback() 1859 call_rcu_tasks(&tests[0].rh, test_rcu_tasks_callback); in rcu_tasks_initiate_self_tests() 1865 call_rcu_tasks_rude(&tests[1].rh, test_rcu_tasks_callback); in rcu_tasks_initiate_self_tests() 1871 call_rcu_tasks_trace(&tests[2].rh, test_rcu_tasks_callback); in rcu_tasks_initiate_self_tests()
|
D | rcutorture.c | 2455 struct rcu_head rh; member 2466 struct fwd_cb_state *fcsp = container_of(rhp, struct fwd_cb_state, rh); in rcu_torture_fwd_prog_cb() 2472 cur_ops->call(&fcsp->rh, rcu_torture_fwd_prog_cb); in rcu_torture_fwd_prog_cb() 2477 struct rcu_head rh; member 2540 struct rcu_fwd_cb *rfcp = container_of(rhp, struct rcu_fwd_cb, rh); in rcu_torture_fwd_cb_cr() 2624 init_rcu_head_on_stack(&fcs.rh); in rcu_torture_fwd_prog_nr() 2633 cur_ops->call(&fcs.rh, rcu_torture_fwd_prog_cb); in rcu_torture_fwd_prog_nr() 2671 destroy_rcu_head_on_stack(&fcs.rh); in rcu_torture_fwd_prog_nr() 2744 cur_ops->call(&rfcp->rh, rcu_torture_fwd_cb_cr); in rcu_torture_fwd_prog_cr()
|
D | rcuscale.c | 561 struct rcu_head rh; member 609 kfree_rcu(alloc_ptr, rh); in kfree_scale_thread()
|