函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\rcutorture.c Create Date:2022-07-27 11:22:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:If forward-progress checking is requested and feasible, spawn the thread.

函数原型:static int __init rcu_torture_fwd_prog_init(void)

返回类型:int

参数:

1998  如果非fwd_progress则返回:0
2000  如果非stall_durstall_dur()小于等于0或cur_ops恒等于rcu_busted_ops
2002  VERBOSE_TOROUT_STRING("rcu_torture_fwd_prog_init: Disabled, unsupported by RCU flavor under test")
2003  返回:0
2005  如果stall_cpu大于0则
2006  VERBOSE_TOROUT_STRING("rcu_torture_fwd_prog_init: Disabled, conflicts with CPU-stall testing")
2007  如果IS_MODULE(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'm', 0* otherwise.(CONFIG_RCU_TORTURE_TESTS)则返回:负EINVAL
2009  WARN_ON(1)
2010  返回:0
2012  如果fwd_progress_holdoff小于等于0则fwd_progress_holdoff等于1
2014  如果fwd_progress_div小于等于0则fwd_progress_div等于4
2016  返回:torture_create_kthread(Carry out grace-period forward-progress testing. , NULL, fwd_prog_task)
调用者
名称描述
rcu_torture_init