Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\string.c Create Date:2022-07-28 06:00:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:size_t strlcat(char *dest, const char *src, size_t count)

Type:size_t

Parameter:

TypeParameterName
char *dest
const char *src
size_tcount
333  dsize = strlen(dest)
334  len = strlen(src)
335  res = dsize + len
338  BUG_ON(dsize >= count)
340  dest += dsize
341  count -= dsize
342  If len >= count Then len = count - 1
344  No 3D Now!(dest, src, len)
345  dest[len] = 0
346  Return res
Caller
NameDescribe
string_stream_get_string
amiga_partition
atari_partition
aix_partition
add_part
cmdline_partitionPurpose: allocate cmdline partitions.* Returns:* -1 if unable to read the partition table* 0 if this isn't our partition table* 1 if successful
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
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