Lines Matching refs:disk_part
181 struct disk_part *curr; in del_gpt_info()
183 curr = list_entry(pos->next, struct disk_part, list); in del_gpt_info()
189 static struct disk_part *allocate_disk_part(disk_partition_t *info, int partnum) in allocate_disk_part()
191 struct disk_part *newpart; in allocate_disk_part()
192 newpart = calloc(1, sizeof(struct disk_part)); in allocate_disk_part()
230 struct disk_part *curr; in print_gpt_info()
235 curr = list_entry(pos, struct disk_part, list); in print_gpt_info()
269 struct disk_part *curr; in create_gpt_partitions_list()
280 curr = list_entry(pos, struct disk_part, list); in create_gpt_partitions_list()
311 struct disk_part *new_disk_part; in get_gpt_info()
654 struct disk_part *curr; in do_rename_gpt_parts()
715 curr = list_entry(pos, struct disk_part, list); in do_rename_gpt_parts()
747 curr = list_entry(pos, struct disk_part, list); in do_rename_gpt_parts()