Lines Matching refs:PRIMARY_GPT
420 if (gpt == PRIMARY_GPT) in gpt_get_state()
484 if (gpt == PRIMARY_GPT) in gpt_set_state()
766 r = gpt_get_state(fd, PRIMARY_GPT, &gpt_prim) || in prepare_partitions()
849 r = gpt_set_state(fd, PRIMARY_GPT, GPT_BAD_SIGNATURE); in prepare_partitions()
879 r = gpt_set_state(fd, PRIMARY_GPT, GPT_OK); in prepare_partitions()
1163 if (instance == PRIMARY_GPT) in gpt_set_header()
1223 if (instance == PRIMARY_GPT) in gpt_get_header()
1386 disk->hdr = gpt_get_header(dev, PRIMARY_GPT); in gpt_disk_get_disk_info()
1393 disk->hdr_bak = gpt_get_header(dev, PRIMARY_GPT); in gpt_disk_get_disk_info()
1457 ptn_arr = (instance == PRIMARY_GPT) ? in gpt_disk_get_pentry()
1522 if(gpt_set_header(disk->hdr, fd, PRIMARY_GPT) != 0) { in gpt_disk_commit()