函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:srcu_init

函数原型:void __init srcu_init(void)

返回类型:void

参数:

1306  srcu_init_done = true
1307  当非链表为空循环
1308  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.( & Early-boot callback-management, so early that no lock is required! , structsrcu_struct, entry)
1310  First-use initialization of statically allocated srcu_struct* structure
1311  删除链表项并重新初始化
1312  queue_work - queue work on a workqueue*@wq: workqueue to use*@work: work to queue* Returns %false if @work was already on a queue, %true otherwise.* We queue the work to the CPU on which it was submitted, but if the CPU dies