函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rcu_init_new_rnp

函数原型:static void rcu_init_new_rnp(struct rcu_node *rnp_leaf)

返回类型:void

参数:

类型参数名称
struct rcu_node *rnp_leaf
3002  rnp等于rnp_leaf
3004  raw_lockdep_assert_held_rcu_node(rnp_leaf)
3005  WARN_ON_ONCE(Necessary to wait for blocked tasks to )
3006  循环
3007  mask等于Mask to apply to parent qsmask.
3008  rnp等于cu_node tree?
3009  如果(rnp == NULL)则返回
3011  Wrappers for the rcu_node::lock acquire and release(rnp)
3012  oldmask等于qsmaskinit
3013  qsmaskinit或等于mask
3014  raw_spin_unlock_rcu_node(rnp)
3015  如果oldmask则返回
调用者
名称描述
rcu_gp_initInitialize a new grace period. Return false if no grace period required.