Home
last modified time | relevance | path

Searched refs:PRIMARY_GPT (Results 1 – 6 of 6) sorted by relevance

/device/google/bonito/gpt-utils/
Dgpt-utils.cpp420 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()
[all …]
Dgpt-utils.h105 PRIMARY_GPT = 0, enumerator
/device/google/coral/gpt-utils/
Dgpt-utils.cpp420 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()
[all …]
Dgpt-utils.h105 PRIMARY_GPT = 0, enumerator
/device/google/crosshatch/gpt-utils/
Dgpt-utils.cpp420 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()
[all …]
Dgpt-utils.h104 PRIMARY_GPT = 0, enumerator