函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\partitions\ldm.c Create Date:2022-07-27 19:03:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:static struct vblk *ldm_get_disk_objid(const struct ldmdb *ldb)

返回类型:struct vblk

参数:

类型参数名称
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  如果uuid_equal( & VBLK Disk , & disk_id)则返回:v
550  返回:NULL
调用者
名称描述
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