• Home
  • Raw
  • Download

Lines Matching refs:partitions_list

266 				      char *partitions_list)  in create_gpt_partitions_list()  argument
272 if (!partitions_list) in create_gpt_partitions_list()
275 strcpy(partitions_list, "uuid_disk="); in create_gpt_partitions_list()
276 strncat(partitions_list, guid, UUID_STR_LEN + 1); in create_gpt_partitions_list()
277 strcat(partitions_list, ";"); in create_gpt_partitions_list()
281 strcat(partitions_list, "name="); in create_gpt_partitions_list()
282 strncat(partitions_list, (const char *)curr->gpt_part_info.name, 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()
294 strcat(partitions_list, ",uuid="); in create_gpt_partitions_list()
295 strncat(partitions_list, curr->gpt_part_info.uuid, in create_gpt_partitions_list()
297 strcat(partitions_list, ";"); in create_gpt_partitions_list()
657 char *partitions_list, *str_disk_guid; in do_rename_gpt_parts() local
677 partitions_list = malloc(partlistlen); in do_rename_gpt_parts()
678 if (!partitions_list) { in do_rename_gpt_parts()
682 memset(partitions_list, '\0', partlistlen); in do_rename_gpt_parts()
684 ret = create_gpt_partitions_list(numparts, disk_guid, partitions_list); in do_rename_gpt_parts()
686 free(partitions_list); in do_rename_gpt_parts()
693 debug("OLD partitions_list is %s with %u chars\n", partitions_list, in do_rename_gpt_parts()
694 (unsigned)strlen(partitions_list)); in do_rename_gpt_parts()
697 ret = set_gpt_info(dev_desc, partitions_list, &str_disk_guid, in do_rename_gpt_parts()
701 free(partitions_list); in do_rename_gpt_parts()
756 ret = create_gpt_partitions_list(numparts, disk_guid, partitions_list); in do_rename_gpt_parts()
759 debug("NEW partitions_list is %s with %u chars\n", partitions_list, in do_rename_gpt_parts()
760 (unsigned)strlen(partitions_list)); in do_rename_gpt_parts()
762 ret = set_gpt_info(dev_desc, partitions_list, &str_disk_guid, in do_rename_gpt_parts()
770 free(partitions_list); in do_rename_gpt_parts()
801 free(partitions_list); in do_rename_gpt_parts()