当前位置: 首页>>代码示例>>C++>>正文


C++ rcu_qsctr_help函数代码示例

本文整理汇总了C++中rcu_qsctr_help函数的典型用法代码示例。如果您正苦于以下问题:C++ rcu_qsctr_help函数的具体用法?C++ rcu_qsctr_help怎么用?C++ rcu_qsctr_help使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了rcu_qsctr_help函数的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: rcu_sched_qs

/*
 * Record an rcu quiescent state.  And an rcu_bh quiescent state while we
 * are at it, given that any rcu quiescent state is also an rcu_bh
 * quiescent state.  Use "+" instead of "||" to defeat short circuiting.
 */
void rcu_sched_qs(void)
{
	unsigned long flags;

	local_irq_save(flags);
	if (rcu_qsctr_help(&rcu_sched_ctrlblk) + rcu_qsctr_help(&rcu_bh_ctrlblk)) {
		raise_softirq(RCU_SOFTIRQ); 
	}
	local_irq_restore(flags);
}
开发者ID:agroce,项目名称:cbmcmutate,代码行数:15,代码来源:mutant100187_mytiny.c

示例2: rcu_sched_qs

/*
 * Record an rcu quiescent state.  And an rcu_bh quiescent state while we
 * are at it, given that any rcu quiescent state is also an rcu_bh
 * quiescent state.  Use "+" instead of "||" to defeat short circuiting.
 */
void rcu_sched_qs(int cpu)
{
	unsigned long flags;

	local_irq_save(flags);
	if (rcu_qsctr_help(&rcu_sched_ctrlblk) +
	    rcu_qsctr_help(&rcu_bh_ctrlblk))
		invoke_rcu_kthread();
	local_irq_restore(flags);
}
开发者ID:souljaboy11792,项目名称:ZCF-kernel,代码行数:15,代码来源:rcutiny.c

示例3: rcu_sched_qs

/*
 * Record an rcu quiescent state.  And an rcu_bh quiescent state while we
 * are at it, given that any rcu quiescent state is also an rcu_bh
 * quiescent state.  Use "+" instead of "||" to defeat short circuiting.
 */
void rcu_sched_qs(void)
{
	unsigned long flags;

	local_irq_save(flags);
	if (rcu_qsctr_help(&rcu_sched_ctrlblk) + rcu_qsctr_help(&rcu_bh_ctrlblk)) {
		if (!__covered9) {__covered9 = 1; total_covered += 1;}
		raise_softirq(RCU_SOFTIRQ); 
	}
	local_irq_restore(flags);
}
开发者ID:agroce,项目名称:cbmcmutate,代码行数:16,代码来源:BRANCHCOV_mutant100059_mytiny.c

示例4: rcu_sched_qs

/*
 * Record an rcu quiescent state.  And an rcu_bh quiescent state while we
 * are at it, given that any rcu quiescent state is also an rcu_bh
 * quiescent state.  Use "+" instead of "||" to defeat short circuiting.
 */
void rcu_sched_qs(void)
{
	unsigned long flags;

	local_irq_save(flags);
	if (rcu_qsctr_help(&rcu_sched_ctrlblk) + rcu_qsctr_help(&rcu_bh_ctrlblk)) {
 mutant_covered = 1;
 /* MUTANT (del_stmt) */ /* 		raise_softirq(RCU_SOFTIRQ); */  
	}
	local_irq_restore(flags);
}
开发者ID:agroce,项目名称:cbmcmutate,代码行数:16,代码来源:COVER_mutant100114_mytiny.c

示例5: rcu_sched_qs

/*
 * Record an rcu quiescent state.  And an rcu_bh quiescent state while we
 * are at it, given that any rcu quiescent state is also an rcu_bh
 * quiescent state.  Use "+" instead of "||" to defeat short circuiting.
 */
void rcu_sched_qs(void)
{
	unsigned long flags;

	local_irq_save(flags);
  mutant_covered = 1;
 /* MUTANT (rep_op) */	if (rcu_qsctr_help(&rcu_sched_ctrlblk) -
	    rcu_qsctr_help(&rcu_bh_ctrlblk))
		raise_softirq(RCU_SOFTIRQ);
	local_irq_restore(flags);
}
开发者ID:agroce,项目名称:cbmcmutate,代码行数:16,代码来源:COVER_mutant100106_tiny.c

示例6: rcu_bh_qs

/*
 * Record an rcu_bh quiescent state.
 */
void rcu_bh_qs(int cpu)
{
	unsigned long flags;

	local_irq_save(flags);
	if (rcu_qsctr_help(&rcu_bh_ctrlblk))
		invoke_rcu_callbacks();
	local_irq_restore(flags);
}
开发者ID:openube,项目名称:android_kernel_sony_c2305,代码行数:12,代码来源:rcutiny.c

示例7: rcu_bh_qs

/*
 * Record an rcu_bh quiescent state.
 */
void rcu_bh_qs(int cpu)
{
    unsigned long flags;

    local_irq_save(flags);
    if (rcu_qsctr_help(&rcu_bh_ctrlblk))
        raise_softirq(RCU_SOFTIRQ);
    local_irq_restore(flags);
}
开发者ID:rajatsaxena,项目名称:linux,代码行数:12,代码来源:tiny.c

示例8: rcu_bh_qs

/*
 * Record an rcu_bh quiescent state.
 */
void rcu_bh_qs(void)
{
	unsigned long flags;

	local_irq_save(flags);
 /* MUTANT (negate) */	if(! (rcu_qsctr_help(&rcu_bh_ctrlblk)))
		raise_softirq(RCU_SOFTIRQ);
	local_irq_restore(flags);
}
开发者ID:agroce,项目名称:cbmcmutate,代码行数:12,代码来源:mutant100112_tiny.c

示例9: rcu_bh_qs

/*
 * Record an rcu_bh quiescent state.
 */
void rcu_bh_qs(void)
{
	unsigned long flags;

 mutant_covered = 1;
 /* MUTANT (del_stmt) */ /* 	local_irq_save(flags); */ 
	if (rcu_qsctr_help(&rcu_bh_ctrlblk)) {
		if (!__covered10) {__covered10 = 1; total_covered += 1;}
		raise_softirq(RCU_SOFTIRQ);
	}
	local_irq_restore(flags);
}
开发者ID:agroce,项目名称:cbmcmutate,代码行数:15,代码来源:BRANCHCOV_mutant100116_mytiny.c

示例10: rcu_qsctr_inc

/*
 * Record an rcu quiescent state.  And an rcu_bh quiescent state while we
 * are at it, given that any rcu quiescent state is also an rcu_bh
 * quiescent state.  Use "+" instead of "||" to defeat short circuiting.
 */
void rcu_qsctr_inc(int cpu)
{
	if (rcu_qsctr_help(&rcu_ctrlblk) + rcu_qsctr_help(&rcu_bh_ctrlblk))
		raise_softirq(RCU_SOFTIRQ);
}
开发者ID:maxzoel,项目名称:FreeXperia,代码行数:10,代码来源:rcutiny.c


注:本文中的rcu_qsctr_help函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。