Lines Matching refs:p
310 struct list_head *p; in rcu_torture_alloc() local
319 p = rcu_torture_freelist.next; in rcu_torture_alloc()
320 list_del_init(p); in rcu_torture_alloc()
322 return container_of(p, struct rcu_torture, rtort_free); in rcu_torture_alloc()
329 rcu_torture_free(struct rcu_torture *p) in rcu_torture_free() argument
333 list_add_tail(&p->rtort_free, &rcu_torture_freelist); in rcu_torture_free()
352 void (*deferred_free)(struct rcu_torture *p);
496 rcu_torture_cb(struct rcu_head *p) in rcu_torture_cb() argument
498 struct rcu_torture *rp = container_of(p, struct rcu_torture, rtort_rcu); in rcu_torture_cb()
516 static void rcu_torture_deferred_free(struct rcu_torture *p) in rcu_torture_deferred_free() argument
518 call_rcu_hurry(&p->rtort_rcu, rcu_torture_cb); in rcu_torture_deferred_free()
583 static void rcu_busted_torture_deferred_free(struct rcu_torture *p) in rcu_busted_torture_deferred_free() argument
586 rcu_torture_cb(&p->rtort_rcu); in rcu_busted_torture_deferred_free()
860 static void rcu_tasks_torture_deferred_free(struct rcu_torture *p) in rcu_tasks_torture_deferred_free() argument
862 call_rcu_tasks(&p->rtort_rcu, rcu_torture_cb); in rcu_tasks_torture_deferred_free()
905 static void rcu_tasks_rude_torture_deferred_free(struct rcu_torture *p) in rcu_tasks_rude_torture_deferred_free() argument
907 call_rcu_tasks_rude(&p->rtort_rcu, rcu_torture_cb); in rcu_tasks_rude_torture_deferred_free()
956 static void rcu_tasks_tracing_torture_deferred_free(struct rcu_torture *p) in rcu_tasks_tracing_torture_deferred_free() argument
958 call_rcu_tasks_trace(&p->rtort_rcu, rcu_torture_cb); in rcu_tasks_tracing_torture_deferred_free()
1962 struct rcu_torture *p; in rcu_torture_one_read() local
1981 p = rcu_dereference_check(rcu_torture_current, in rcu_torture_one_read()
1983 if (p == NULL) { in rcu_torture_one_read()
1988 if (p->rtort_mbtest == 0) in rcu_torture_one_read()
1990 rcu_torture_reader_do_mbchk(myid, p, trsp); in rcu_torture_one_read()
1993 pipe_count = READ_ONCE(p->rtort_pipe_count); in rcu_torture_one_read()
2001 do_trace_rcu_torture_read(cur_ops->name, &p->rtort_rcu, in rcu_torture_one_read()
2033 WARN_ON_ONCE(leakpointer && READ_ONCE(p->rtort_pipe_count) > 1); in rcu_torture_one_read()