Home | History | Annotate | Download | only in cgpt

Lines Matching refs:sector_count

66                 const uint64_t sector_count) {
71 if (!sector_count || !sector_bytes) {
72 Error("%s() failed at line %d: sector_count=%d, sector_bytes=%d\n",
73 __FUNCTION__, __LINE__, sector_count, sector_bytes);
76 /* Make sure that sector_bytes * sector_count doesn't roll over. */
77 if (sector_bytes > (UINT64_MAX / sector_count)) {
78 Error("%s() failed at line %d: sector_count=%d, sector_bytes=%d\n",
79 __FUNCTION__, __LINE__, sector_count, sector_bytes);
82 count = sector_bytes * sector_count;
131 const uint64_t sector_count) {
136 count = sector_bytes * sector_count;