函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:alloc_pvd(): reads physical volume descriptor*@state*@lba* Description: Returns pvd on success, NULL on error.* Allocates space for pvd and fill it with disk blocks at @lba* Notes: remember to free pvd when you're done!

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

返回类型:struct pvd

参数:

类型参数名称
struct parsed_partitions *state
unsigned intlba
132  count等于sizeof(structpvd)
135  p等于开辟内存
136  如果非p则返回:NULL
139  如果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
140  释放内存
141  返回:NULL
143  返回:p
调用者
名称描述
aix_partition