Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:part_devt

Proto:static inline dev_t part_devt(struct hd_struct *part)

Type:dev_t

Parameter:

TypeParameterName
struct hd_struct *part
267  Return dev_t, creates the sysfs "dev"
Caller
NameDescribe
devt_from_partuuiddevt_from_partuuid - looks up the dev_t of a partition by its UUID*@uuid_str: char array containing ascii UUID* The function will return the first partition which contains a matching* UUID value in its partition_meta_info struct. This does not search
blk_partition_remapRemap block n of partition p to block n+start(p) of the disk.
blkpg_ioctl
del_gendisk
bdget_diskdget_disk - do bdget() by gendisk and partition number*@disk: gendisk of interest*@partno: partition number* Find partition @partno from @disk, do bdget() on it.* CONTEXT:* Don't care.* RETURNS:* Resulting block_device on success, NULL on failure.
printk_all_partitionsprint a full list of all partitions - intended for places where the root* filesystem can't be mounted and thus to give the victim some idea of what* went wrong
show_partition
diskstats_showaggregate disk stat collector. Uses the same stats that the sysfs* entries do, above, but makes them available through one seq_file.* The output looks suspiciously like /proc/partitions with a bunch of* extra fields.
blk_lookup_devt
delete_partitionMust be called either with bd_mutex held, before a disk can be opened or* after all disk users are gone.