函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static struct lvname *alloc_lvn(struct parsed_partitions *state, unsigned int lba)

返回类型:struct lvname

参数:

类型参数名称
struct parsed_partitions *state
unsigned intlba
157  count等于sizeof(structlvname)乘LVM_MAXLVS
160  p等于开辟内存
161  如果非p则返回:NULL
164  如果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
165  释放内存
166  返回:NULL
168  返回:p
调用者
名称描述
aix_partition