Home
last modified time | relevance | path

Searched refs:gh_lba_start (Results 1 – 3 of 3) sorted by relevance

/openbsd/src/sbin/fdisk/
Dgpt.c220 gh.gh_lba_start = letoh64(legh.gh_lba_start); in get_header()
221 if (gh.gh_lba_start >= gh.gh_lba_end) { in get_header()
223 gh.gh_lba_end, gh.gh_lba_start); in get_header()
234 if (gh.gh_part_lba + gpsectors > gh.gh_lba_start) { in get_header()
236 "got %llu\n", gh.gh_lba_start, in get_header()
385 printf("gh_lba_start : %llu\n", gh.gh_lba_start); in GPT_print()
400 disk.dk_name, gh.gh_lba_start, gh.gh_lba_end, size); in GPT_print()
482 if (start < gh.gh_lba_start || end > gh.gh_lba_end) in GPT_print_part()
586 gh.gh_lba_start = needed; in init_gh()
710 legh.gh_lba_start = htole64(gh.gh_lba_start); in GPT_write()
[all …]
/openbsd/src/sys/sys/
Ddisklabel.h363 u_int64_t gh_lba_start; /* first usable LBA */ member
/openbsd/src/sys/kern/
Dsubr_disk.c480 lbastart = letoh64(ngh.gh_lba_start); in gpt_get_hdr()
634 lbastart = letoh64(gh.gh_lba_start); in spoofgpt()