Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:put_partition

Proto:static inline void put_partition(struct parsed_partitions *p, int n, sector_t from, sector_t size)

Type:void

Parameter:

TypeParameterName
struct parsed_partitions *p
intn
sector_tfrom
sector_tsize
44  If n < limit Then
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  strlcat - Append a length-limited, C-string to another*@dest: The string to be appended to*@src: The string to append to it*@count: The size of the destination buffer.
Caller
NameDescribe
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