函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:blk_dev_init

函数原型:int __init blk_dev_init(void)

返回类型:int

参数:

1797  BUILD_BUG_ON - break compile if a condition is true(REQ_OP_LAST >= (1 << Operations and flags common to the bio and request structures))
1798  BUILD_BUG_ON - break compile if a condition is true(Operations and flags common to the bio and request structures + REQ_FLAG_BITS > 8 * sizeof_field(TYPE, MEMBER)*@TYPE: The structure containing the field of interest*@MEMBER: The field to return the size of(structrequest, cmd_flags))
1800  BUILD_BUG_ON - break compile if a condition is true(Operations and flags common to the bio and request structures + REQ_FLAG_BITS > 8 * sizeof_field(TYPE, MEMBER)*@TYPE: The structure containing the field of interest*@MEMBER: The field to return the size of(structbio, bi_opf))
1804  Controlling structure to kblockd等于alloc_workqueue("kblockd", WQ_MEM_RECLAIM | WQ_HIGHPRI, 0)
1806  如果非Controlling structure to kblockdpanic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
1809  For queue allocation等于创建高速缓存区
1816  返回:0
调用者
名称描述
genhd_device_init