Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-core.c Create Date:2022-07-28 17:00:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blk_dev_init

Proto:int __init blk_dev_init(void)

Type:int

Parameter:Nothing

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  If Not Controlling structure to kblockd Then panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
1809  For queue allocation = kmem_cache_create - Create a cache.*@name: A string which is used in /proc/slabinfo to identify this cache.*@size: The size of objects to be created in this cache.*@align: The required alignment for the objects.*@flags: SLAB flags
1816  Return 0
Caller
NameDescribe
genhd_device_init