Home
last modified time | relevance | path

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

/external/syslinux/com32/lib/syslinux/
Ddisk.c116 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()
/external/syslinux/com32/include/syslinux/
Ddisk.h56 uint64_t lbacnt; /* total amount of sectors */ member
76 uint64_t lbacnt; member
/external/syslinux/com32/chain/
Dpartiter.c90 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()
Dutility.c109 if (cs < 1024 && di->lbacnt > cs*hs*ss) in lba2chs()
Dchain.c615 iter->di.lbacnt, iter->di.cyl * iter->di.head * iter->di.spt, in main()