Home
last modified time | relevance | path

Searched refs:PART_NAME_LEN (Results 1 – 4 of 4) sorted by relevance

/u-boot/cmd/
A Dgpt.c172 partlistlen += numparts * (strlen("name=,") + PART_NAME_LEN + 1); in calc_parts_list_len()
208 PART_NAME_LEN); in allocate_disk_part()
209 newpart->gpt_part_info.name[PART_NAME_LEN - 1] = '\0'; in allocate_disk_part()
278 char partstr[PART_NAME_LEN + 1]; in create_gpt_partitions_list()
291 PART_NAME_LEN + 1); in create_gpt_partitions_list()
296 strncat(partitions_list, partstr, PART_NAME_LEN + 1); in create_gpt_partitions_list()
300 strncat(partitions_list, partstr, PART_NAME_LEN + 1); in create_gpt_partitions_list()
842 if ((strlen(name1) > PART_NAME_LEN) || (strlen(name2) > PART_NAME_LEN)) { in do_rename_gpt_parts()
843 printf("Names longer than %d characters are truncated.\n", PART_NAME_LEN); in do_rename_gpt_parts()
863 if (strlen(name2) > PART_NAME_LEN) { in do_rename_gpt_parts()
[all …]
/u-boot/drivers/fastboot/
A Dfb_getvar.c187 char part_name_wslot[PART_NAME_LEN]; in getvar_has_slot()
195 len = strlcpy(part_name_wslot, part_name, PART_NAME_LEN - 3); in getvar_has_slot()
196 if (len > PART_NAME_LEN - 3) in getvar_has_slot()
A Dfb_mmc.c36 char env_desc_name[23 + PART_NAME_LEN + 1]; in raw_part_get_info_by_name()
43 strncat(env_desc_name, name, PART_NAME_LEN); in raw_part_get_info_by_name()
64 strncpy((char *)info->name, name, PART_NAME_LEN); in raw_part_get_info_by_name()
112 char env_alias_name[25 + PART_NAME_LEN + 1]; in part_get_info_by_name_or_alias()
117 strncat(env_alias_name, name, PART_NAME_LEN); in part_get_info_by_name_or_alias()
/u-boot/include/
A Dpart.h51 #define PART_NAME_LEN 32 macro
62 uchar name[PART_NAME_LEN]; /* partition name */

Completed in 8 milliseconds