Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ldm_get_disk_objid - Search a linked list of vblk's for a given Disk Id*@ldb: Cache of the database structures* The LDM Database contains a list of all partitions on all dynamic disks.* The primary PRIVHEAD, at the beginning of the physical disk, tells us

Proto:static struct vblk *ldm_get_disk_objid(const struct ldmdb *ldb)

Type:struct vblk

Parameter:

TypeParameterName
const struct ldmdb *ldb
542  BUG_ON(!ldb)
545  v = list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(item, structvblk, list)
546  If uuid_equal( & VBLK Disk , & disk_id) Then Return v
550  Return NULL
Caller
NameDescribe
ldm_create_data_partitionsldm_create_data_partitions - Create data partitions for this device*@pp: List of the partitions parsed so far*@ldb: Cache of the database structures* The database contains ALL the partitions for ALL disk groups, so we need to