函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Queue work for srcu_struct structures with early boot callbacks.* The work won't actually execute until the workqueue initialization* phase that takes place after the scheduler starts.

函数原型:void __init srcu_init(void)

返回类型:void

参数:

208  srcu_init_done = true
209  当非链表为空循环
210  ssp等于list_first_entry - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.* Note, that list is expected to be not empty.( & srcu_boot_list, structsrcu_struct, entry)
212  删除链表项并重新初始化
213  schedule_work - put work task in global workqueue*@work: job to be done* Returns %false if @work was already on the kernel-global workqueue and* %true otherwise
调用者
名称描述
rcu_init初始化直接读拷贝更新的锁机制
rcu_init初始化直接读拷贝更新的锁机制