函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Softirq action handler - move entries to local list and loop over them* while passing them to the queue registered handler.

函数原型:static __latent_entropy void blk_done_softirq(struct softirq_action *h)

返回类型:void

参数:

类型参数名称
struct softirq_action *h
27  禁止中断()
28  cpu_list等于this_cpu_ptr( & blk_cpu_done)
29  list_replace_init(cpu_list, & local_list)
30  开中断()
32  当非链表为空循环
35  rq等于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.(链表后项, structrequest, ipi_list)
36  删除链表项并重新初始化
37  complete(rq)