Lines Matching refs:rhp
1740 static void rcu_torture_timer_cb(struct rcu_head *rhp) in rcu_torture_timer_cb() argument
1742 kfree(rhp); in rcu_torture_timer_cb()
2094 struct rcu_head *rhp = kmalloc(sizeof(*rhp), GFP_NOWAIT); in rcu_torture_timer() local
2096 if (rhp) in rcu_torture_timer()
2097 cur_ops->call(rhp, rcu_torture_timer_cb); in rcu_torture_timer()
2330 struct rcu_head *rhp; in rcu_torture_mem_dump_obj() local
2337 rhp = kmem_cache_alloc(kcp, GFP_KERNEL); in rcu_torture_mem_dump_obj()
2338 if (WARN_ON_ONCE(!rhp)) { in rcu_torture_mem_dump_obj()
2342 …slab test: rcu_torture_stats = %px, &rhp = %px, rhp = %px, &z = %px\n", stats_task, &rhp, rhp, &z); in rcu_torture_mem_dump_obj()
2347 pr_alert("mem_dump_obj(%px):", &rhp); in rcu_torture_mem_dump_obj()
2348 mem_dump_obj(&rhp); in rcu_torture_mem_dump_obj()
2349 pr_alert("mem_dump_obj(%px):", rhp); in rcu_torture_mem_dump_obj()
2350 mem_dump_obj(rhp); in rcu_torture_mem_dump_obj()
2351 pr_alert("mem_dump_obj(%px):", &rhp->func); in rcu_torture_mem_dump_obj()
2352 mem_dump_obj(&rhp->func); in rcu_torture_mem_dump_obj()
2355 kmem_cache_free(kcp, rhp); in rcu_torture_mem_dump_obj()
2357 rhp = kmalloc(sizeof(*rhp), GFP_KERNEL); in rcu_torture_mem_dump_obj()
2358 if (WARN_ON_ONCE(!rhp)) in rcu_torture_mem_dump_obj()
2360 …dump_obj() kmalloc test: rcu_torture_stats = %px, &rhp = %px, rhp = %px\n", stats_task, &rhp, rhp); in rcu_torture_mem_dump_obj()
2361 pr_alert("mem_dump_obj(kmalloc %px):", rhp); in rcu_torture_mem_dump_obj()
2362 mem_dump_obj(rhp); in rcu_torture_mem_dump_obj()
2363 pr_alert("mem_dump_obj(kmalloc %px):", &rhp->func); in rcu_torture_mem_dump_obj()
2364 mem_dump_obj(&rhp->func); in rcu_torture_mem_dump_obj()
2365 kfree(rhp); in rcu_torture_mem_dump_obj()
2366 rhp = vmalloc(4096); in rcu_torture_mem_dump_obj()
2367 if (WARN_ON_ONCE(!rhp)) in rcu_torture_mem_dump_obj()
2369 …dump_obj() vmalloc test: rcu_torture_stats = %px, &rhp = %px, rhp = %px\n", stats_task, &rhp, rhp); in rcu_torture_mem_dump_obj()
2370 pr_alert("mem_dump_obj(vmalloc %px):", rhp); in rcu_torture_mem_dump_obj()
2371 mem_dump_obj(rhp); in rcu_torture_mem_dump_obj()
2372 pr_alert("mem_dump_obj(vmalloc %px):", &rhp->func); in rcu_torture_mem_dump_obj()
2373 mem_dump_obj(&rhp->func); in rcu_torture_mem_dump_obj()
2374 vfree(rhp); in rcu_torture_mem_dump_obj()
2586 static void rcu_torture_fwd_prog_cb(struct rcu_head *rhp) in rcu_torture_fwd_prog_cb() argument
2588 struct fwd_cb_state *fcsp = container_of(rhp, struct fwd_cb_state, rh); in rcu_torture_fwd_prog_cb()
2658 static void rcu_torture_fwd_cb_cr(struct rcu_head *rhp) in rcu_torture_fwd_cb_cr() argument
2662 struct rcu_fwd_cb *rfcp = container_of(rhp, struct rcu_fwd_cb, rh); in rcu_torture_fwd_cb_cr()
3095 struct rcu_head *rhp = rcu_void; in rcu_torture_barrier1cb() local
3097 cur_ops->call(rhp, rcu_torture_barrier_cbf); in rcu_torture_barrier1cb()
3500 static void rcu_torture_leak_cb(struct rcu_head *rhp) in rcu_torture_leak_cb() argument
3504 static void rcu_torture_err_cb(struct rcu_head *rhp) in rcu_torture_err_cb() argument
3539 struct rcu_head *rhp = kmalloc(sizeof(*rhp), GFP_KERNEL); in rcu_test_debug_objects() local
3550 if (rhp) { in rcu_test_debug_objects()
3551 cur_ops->call(rhp, rcu_torture_leak_cb); in rcu_test_debug_objects()
3552 cur_ops->call(rhp, rcu_torture_err_cb); /* Another duplicate callback. */ in rcu_test_debug_objects()
3561 kfree(rhp); in rcu_test_debug_objects()