Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:disk_max_parts

Proto:static inline int disk_max_parts(struct gendisk *disk)

Type:int

Parameter:

TypeParameterName
struct gendisk *disk
237  If flags & allow extended devt Then Return DISK_MAX_PARTS
239  Return maximum number of minors, =1 for * disks that can't be partitioned.
Caller
NameDescribe
show_partition
disk_ext_range_show
disk_expand_part_tbldisk_expand_part_tbl - expand disk->part_tbl*@disk: disk to expand part_tbl for*@partno: expand such that this partno can fit in* Expand disk->part_tbl such that @partno can fit in. disk->part_tbl
allocate_partitions