函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:put_partition

函数原型:static inline void put_partition(struct parsed_partitions *p, int n, sector_t from, sector_t size)

返回类型:void

参数:

类型参数名称
struct parsed_partitions *p
intn
sector_tfrom
sector_tsize
44  如果n小于limit
47  from等于from
48  size等于size
49  snprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
50  长字符串拼接
调用者
名称描述
amiga_partition
atari_partition
aix_partition
add_part
mac_partition
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
parse_extendedCreate devices for each logical partition in an extended partition.* The logical partitions form a linked list, with each entry being* a partition table with two entries. The first entry* is the real data partition (with a start relative to the partition
msdos_partition
osf_partition
sgi_partition
sun_partition
ultrix_partition
find_vol1_partitions
find_lnx1_partitions
find_cms1_partitions
ibm_partitionThis is the main function, called by check.c
efi_partition_partition(struct parsed_partitions *state)*@state: disk parsed partitions* Description: called from check.c, if the disk contains GPT* partitions, sets up partition entries in the kernel.* If the first block on the disk is a legacy MBR,
karma_partition
sysv68_partition