函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:padata_parallel_worker

函数原型:static void padata_parallel_worker(struct work_struct *parallel_work)

返回类型:void

参数:

类型参数名称
struct work_struct *parallel_work
65  LIST_HEAD(local_list)
67  local_bh_disable()
68  pqueue等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(parallel_work, structpadata_parallel_queue, work)
71  加自旋锁
72  list_replace_init( & list, & local_list)
73  自旋锁解锁
75  当非链表为空循环
78  padata等于list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(next, structpadata_priv, list)
81  删除链表项并重新初始化
83  parallel(padata)
86  local_bh_enable()