Lines Matching full:rcu
57 * By defining CONFIG_NO_RCU_SKIP LinuxKPI RCU locks and asserts will
151 struct callback_head *rcu; in linux_rcu_cleaner_func() local
159 rcu = container_of(node, struct callback_head, node); in linux_rcu_cleaner_func()
161 STAILQ_INSERT_HEAD(&tmp_head, rcu, entry); in linux_rcu_cleaner_func()
168 while ((rcu = STAILQ_FIRST(&tmp_head)) != NULL) { in linux_rcu_cleaner_func()
171 offset = (uintptr_t)rcu->func; in linux_rcu_cleaner_func()
174 kfree((char *)rcu - offset); in linux_rcu_cleaner_func()
176 rcu->func((struct rcu_head *)rcu); in linux_rcu_cleaner_func()
357 * Synchronizing RCU might change the CPU core this function in linux_synchronize_rcu()
401 * It only waits for RCU callbacks that have already been posted. in linux_rcu_barrier()
402 * If there are no RCU callbacks posted, rcu_barrier() can return in linux_rcu_barrier()
414 struct callback_head *rcu; in linux_call_rcu() local
419 rcu = (struct callback_head *)context; in linux_call_rcu()
422 rcu->func = func; in linux_call_rcu()
423 llist_add(&rcu->node, &head->cb_head); in linux_call_rcu()