函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:blk_check_plugged

函数原型:struct blk_plug_cb *blk_check_plugged(blk_plug_cb_fn unplug, void *data, int size)

返回类型:struct blk_plug_cb

参数:

类型参数名称
blk_plug_cb_fnunplug
void *data
intsize
1745  plug等于plug
1748  如果非plug则返回:NULL
1751  list_for_each_entry - iterate over list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(cb, & md requires an unplug callback , list)
1752  如果callback恒等于unplugdata恒等于data则返回:cb
1756  BUG_ON(size < cb的长度)
1757  cb等于分配内存并置零
1758  如果cb
1759  data等于data
1760  callback等于unplug
1761  添加链表项
1763  返回:cb