Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:alloc_lvn(): reads logical volume names*@state*@lba* Description: Returns lvn on success, NULL on error.* Allocates space for lvn and fill it with disk blocks at @lba* Notes: remember to free lvn when you're done!

Proto:static struct lvname *alloc_lvn(struct parsed_partitions *state, unsigned int lba)

Type:struct lvname

Parameter:

TypeParameterName
struct parsed_partitions *state
unsigned intlba
157  count = sizeof(structlvname) * LVM_MAXLVS
160  p = Allocation memory
161  If Not p Then Return NULL
164  If ad_lba(): Read bytes from disk, starting at given LBA*@state: disk parsed partitions*@lba: the Logical Block Address of the partition table*@buffer: destination buffer*@count: bytes to read* Description: Reads @count bytes from @state->bdev into @buffer. < count Then
165  kfree(p)
166  Return NULL
168  Return p
Caller
NameDescribe
aix_partition