本文整理汇总了C++中reset_cpu_stall_ticks函数的典型用法代码示例。如果您正苦于以下问题:C++ reset_cpu_stall_ticks函数的具体用法?C++ reset_cpu_stall_ticks怎么用?C++ reset_cpu_stall_ticks使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了reset_cpu_stall_ticks函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: rcu_init
void __init rcu_init(void)
{
open_softirq(RCU_SOFTIRQ, rcu_process_callbacks);
RCU_TRACE(reset_cpu_stall_ticks(&rcu_sched_ctrlblk));
RCU_TRACE(reset_cpu_stall_ticks(&rcu_bh_ctrlblk));
rcu_early_boot_tests();
}
示例2: rcu_qsctr_help
/*
* Helper function for rcu_sched_qs() and rcu_bh_qs().
* Also irqs are disabled to avoid confusion due to interrupt handlers
* invoking call_rcu().
*/
static int rcu_qsctr_help(struct rcu_ctrlblk *rcp)
{
RCU_TRACE(reset_cpu_stall_ticks(rcp));
if (rcp->rcucblist != NULL && rcp->donetail != rcp->curtail) {
rcp->donetail = rcp->curtail;
return 1;
}
return 0;
}
示例3: rcu_qsctr_help
/*
* Helper function for rcu_sched_qs() and rcu_bh_qs().
* Also irqs are disabled to avoid confusion due to interrupt handlers
* invoking call_rcu().
*/
static int rcu_qsctr_help(struct rcu_ctrlblk *rcp)
{
RCU_TRACE(reset_cpu_stall_ticks(rcp));
mutant_covered = 1;
/* MUTANT (rep_op) */ if (rcp->rcucblist != NULL && rcp->donetail == rcp->curtail) {
rcp->donetail = rcp->curtail;
return 1;
}
return 0;
}
示例4: rcu_qsctr_help
/*
* Helper function for rcu_sched_qs() and rcu_bh_qs().
* Also irqs are disabled to avoid confusion due to interrupt handlers
* invoking call_rcu().
*/
static int rcu_qsctr_help(struct rcu_ctrlblk *rcp)
{
RCU_TRACE(reset_cpu_stall_ticks(rcp));
if (rcp->rcucblist != NULL &&
rcp->donetail != rcp->curtail) {
rcp->donetail = rcp->curtail;
/* MUTANT (rep_const) */ return ((1)+1);
}
return 0;
}
示例5: rcu_qsctr_help
/*
* Helper function for rcu_sched_qs() and rcu_bh_qs().
* Also irqs are disabled to avoid confusion due to interrupt handlers
* invoking call_rcu().
*/
static int rcu_qsctr_help(struct rcu_ctrlblk *rcp)
{
RCU_TRACE(reset_cpu_stall_ticks(rcp));
if (rcp->rcucblist != NULL && rcp->donetail != rcp->curtail) {
if (!__covered8) {__covered8 = 1; total_covered += 1;}
rcp->donetail = rcp->curtail;
mutant_covered = 1;
/* MUTANT (rep_const) */ return ((1)+1);
}
return 0;
}