Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/fdisk/
H A Dfdisk.c320 static diskaddr_t chs_capacity; /* Numcyl_usable * heads * sectors */ variable
1112 chs_capacity = (diskaddr_t)Numcyl * heads * sectors; in main()
1113 dev_capacity = chs_capacity; in main()
1116 if (chs_capacity > DK_MAX_2TB) { in main()
1119 chs_capacity = (diskaddr_t)Numcyl_usable * heads * sectors; in main()
2844 if (numsect >= chs_capacity) {
3209 size_free = chs_capacity - first_free;