Searched refs:lbacnt (Results 1 – 5 of 5) sorted by relevance
116 diskinfo->lbacnt = eparam->lbacnt; in disk_get_params()153 if (!diskinfo->lbacnt) in disk_get_params()154 diskinfo->lbacnt = diskinfo->cyl * diskinfo->head * diskinfo->spt; in disk_get_params()266 if (!count || count > maxcnt || lba + count > diskinfo->lbacnt) in disk_read_sectors()312 if (!count || count > maxcnt || lba + count > diskinfo->lbacnt) in disk_write_sectors()
56 uint64_t lbacnt; /* total amount of sectors */ member76 uint64_t lbacnt; member
90 iter->length = di->lbacnt; in pi_ctor()254 ((iter->flags & PIF_STRICTER) && (dp->start_lba + dp->length > iter->di.lbacnt))) { in notsane_primary()542 uint64_t gpt_cur = sec ? di->lbacnt - 1 : 1; in try_gpt_hdr()626 ((flags & PIF_STRICTER) && (gpt_sec >= di->lbacnt)) || in notsane_gpt_hdr()
109 if (cs < 1024 && di->lbacnt > cs*hs*ss) in lba2chs()
615 iter->di.lbacnt, iter->di.cyl * iter->di.head * iter->di.spt, in main()