Lines Matching refs:PART_NAME_LEN
172 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()
864 printf("Names longer than %d characters are truncated.\n", PART_NAME_LEN); in do_rename_gpt_parts()