• Home
  • Raw
  • Download

Lines Matching refs:rhp

1661 static void rcu_torture_timer_cb(struct rcu_head *rhp)  in rcu_torture_timer_cb()  argument
1663 kfree(rhp); in rcu_torture_timer_cb()
2014 struct rcu_head *rhp = kmalloc(sizeof(*rhp), GFP_NOWAIT); in rcu_torture_timer() local
2016 if (rhp) in rcu_torture_timer()
2017 cur_ops->call(rhp, rcu_torture_timer_cb); in rcu_torture_timer()
2255 struct rcu_head *rhp; in rcu_torture_mem_dump_obj() local
2262 rhp = kmem_cache_alloc(kcp, GFP_KERNEL); in rcu_torture_mem_dump_obj()
2263 if (WARN_ON_ONCE(!rhp)) { in rcu_torture_mem_dump_obj()
2267 …slab test: rcu_torture_stats = %px, &rhp = %px, rhp = %px, &z = %px\n", stats_task, &rhp, rhp, &z); in rcu_torture_mem_dump_obj()
2272 pr_alert("mem_dump_obj(%px):", &rhp); in rcu_torture_mem_dump_obj()
2273 mem_dump_obj(&rhp); in rcu_torture_mem_dump_obj()
2274 pr_alert("mem_dump_obj(%px):", rhp); in rcu_torture_mem_dump_obj()
2275 mem_dump_obj(rhp); in rcu_torture_mem_dump_obj()
2276 pr_alert("mem_dump_obj(%px):", &rhp->func); in rcu_torture_mem_dump_obj()
2277 mem_dump_obj(&rhp->func); in rcu_torture_mem_dump_obj()
2280 kmem_cache_free(kcp, rhp); in rcu_torture_mem_dump_obj()
2282 rhp = kmalloc(sizeof(*rhp), GFP_KERNEL); in rcu_torture_mem_dump_obj()
2283 if (WARN_ON_ONCE(!rhp)) in rcu_torture_mem_dump_obj()
2285 …dump_obj() kmalloc test: rcu_torture_stats = %px, &rhp = %px, rhp = %px\n", stats_task, &rhp, rhp); in rcu_torture_mem_dump_obj()
2286 pr_alert("mem_dump_obj(kmalloc %px):", rhp); in rcu_torture_mem_dump_obj()
2287 mem_dump_obj(rhp); in rcu_torture_mem_dump_obj()
2288 pr_alert("mem_dump_obj(kmalloc %px):", &rhp->func); in rcu_torture_mem_dump_obj()
2289 mem_dump_obj(&rhp->func); in rcu_torture_mem_dump_obj()
2290 kfree(rhp); in rcu_torture_mem_dump_obj()
2291 rhp = vmalloc(4096); in rcu_torture_mem_dump_obj()
2292 if (WARN_ON_ONCE(!rhp)) in rcu_torture_mem_dump_obj()
2294 …dump_obj() vmalloc test: rcu_torture_stats = %px, &rhp = %px, rhp = %px\n", stats_task, &rhp, rhp); in rcu_torture_mem_dump_obj()
2295 pr_alert("mem_dump_obj(vmalloc %px):", rhp); in rcu_torture_mem_dump_obj()
2296 mem_dump_obj(rhp); in rcu_torture_mem_dump_obj()
2297 pr_alert("mem_dump_obj(vmalloc %px):", &rhp->func); in rcu_torture_mem_dump_obj()
2298 mem_dump_obj(&rhp->func); in rcu_torture_mem_dump_obj()
2299 vfree(rhp); in rcu_torture_mem_dump_obj()
2464 static void rcu_torture_fwd_prog_cb(struct rcu_head *rhp) in rcu_torture_fwd_prog_cb() argument
2466 struct fwd_cb_state *fcsp = container_of(rhp, struct fwd_cb_state, rh); in rcu_torture_fwd_prog_cb()
2536 static void rcu_torture_fwd_cb_cr(struct rcu_head *rhp) in rcu_torture_fwd_cb_cr() argument
2540 struct rcu_fwd_cb *rfcp = container_of(rhp, struct rcu_fwd_cb, rh); in rcu_torture_fwd_cb_cr()
2972 struct rcu_head *rhp = rcu_void; in rcu_torture_barrier1cb() local
2974 cur_ops->call(rhp, rcu_torture_barrier_cbf); in rcu_torture_barrier1cb()
3353 static void rcu_torture_leak_cb(struct rcu_head *rhp) in rcu_torture_leak_cb() argument
3357 static void rcu_torture_err_cb(struct rcu_head *rhp) in rcu_torture_err_cb() argument
3382 struct rcu_head *rhp = kmalloc(sizeof(*rhp), GFP_KERNEL); in rcu_test_debug_objects() local
3395 if (rhp) { in rcu_test_debug_objects()
3396 call_rcu_hurry(rhp, rcu_torture_leak_cb); in rcu_test_debug_objects()
3397 call_rcu_hurry(rhp, rcu_torture_err_cb); /* Another duplicate callback. */ in rcu_test_debug_objects()
3408 kfree(rhp); in rcu_test_debug_objects()