Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\genhd.h Create Date:2022-07-28 05:44:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:init_part_stats

Proto:static inline int init_part_stats(struct hd_struct *part)

Type:int

Parameter:

TypeParameterName
struct hd_struct *part
370  Return 1
Caller
NameDescribe
__alloc_disk_node
add_partitionMust be called either with bd_mutex held, before a disk can be opened or* after all disk users are gone.