函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:leanup_srcu_struct - deconstruct a sleep-RCU structure*@ssp: structure to clean up.* Must invoke this after you are finished using a given srcu_struct that* was initialized via init_srcu_struct(), else you leak memory.

函数原型:void cleanup_srcu_struct(struct srcu_struct *ssp)

返回类型:void

参数:

类型参数名称
struct srcu_struct *ssp
81  WARN_ON( srcu_read_lock() nesting depth. [0] || srcu_read_lock() nesting depth. [1])
82  lush_work - wait for a work to finish executing the last queueing instance*@work: the work to flush* Wait until @work has finished execution
83  WARN_ON( GP workqueue running? )
84  WARN_ON( GP waiting for readers? )
85  WARN_ON( Pending callbacks: Head. )
86  WARN_ON( & Pending callbacks: Head. != Pending callbacks: Tail. )
调用者
名称描述
srcu_torture_cleanup
srcu_sync_perf_cleanup
srcu_module_goingClean up any global-scope srcu_struct structures used by this module.