Lines Matching refs:gptl
125 const struct disk_gpt_header *gpth, const struct disk_gpt_part_entry *gptl in pi_gpt_ctor() argument
140 memcpy(iter->data, gptl, (size_t)siz); in pi_gpt_ctor()
565 struct disk_gpt_part_entry *gptl; in try_gpt_list() local
584 gptl = disk_read_sectors(di, gpt_loff, gpt_lcnt); in try_gpt_list()
585 if (!gptl) { in try_gpt_list()
590 if (!valid_crc(gpth->table_chksum, (const uint8_t *)gptl, gpt_lsiz)) { in try_gpt_list()
593 free(gptl); in try_gpt_list()
596 return gptl; in try_gpt_list()
640 struct disk_gpt_part_entry *gptl = NULL; in pi_begin() local
690 gptl = try_gpt_list(di, gpth, 0); in pi_begin()
691 if (!gptl) in pi_begin()
692 gptl = try_gpt_list(di, gpth, 1); in pi_begin()
693 if (!gptl) in pi_begin()
697 ret = pi_gpt_ctor(iter, di, flags, gpth, gptl); in pi_begin()
709 free(gptl); in pi_begin()