Lines Matching refs:PART_NAME_LEN
165 partlistlen += numparts * (strlen("name=,") + PART_NAME_LEN + 1); in calc_parts_list_len()
200 PART_NAME_LEN); in allocate_disk_part()
201 newpart->gpt_part_info.name[PART_NAME_LEN - 1] = '\0'; in allocate_disk_part()
270 char partstr[PART_NAME_LEN + 1]; in create_gpt_partitions_list()
283 PART_NAME_LEN + 1); in create_gpt_partitions_list()
288 strncat(partitions_list, partstr, PART_NAME_LEN + 1); in create_gpt_partitions_list()
292 strncat(partitions_list, partstr, PART_NAME_LEN + 1); in create_gpt_partitions_list()
709 if ((strlen(name1) > PART_NAME_LEN) || (strlen(name2) > PART_NAME_LEN)) { in do_rename_gpt_parts()
710 printf("Names longer than %d characters are truncated.\n", PART_NAME_LEN); in do_rename_gpt_parts()
730 if (strlen(name2) > PART_NAME_LEN) { in do_rename_gpt_parts()
731 printf("Names longer than %d characters are truncated.\n", PART_NAME_LEN); in do_rename_gpt_parts()