Home
last modified time | relevance | path

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

/openbsd/sbin/fdisk/
H A 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()
586 gh.gh_lba_start = needed; in init_gh()
710 legh.gh_lba_start = htole64(gh.gh_lba_start); in GPT_write()
787 if (gp[pn].gp_lba_start >= gh.gh_lba_start) in sort_gpt()
812 bs = gh.gh_lba_start; in lba_free()
[all …]
/openbsd/sys/sys/
H A Ddisklabel.h363 u_int64_t gh_lba_start; /* first usable LBA */ member
/openbsd/sys/kern/
H A Dsubr_disk.c480 lbastart = letoh64(ngh.gh_lba_start); in gpt_get_hdr()
634 lbastart = letoh64(gh.gh_lba_start); in spoofgpt()