Home
last modified time | relevance | path

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

/external/syslinux/core/fs/
Ddiskio_bios.c50 size_t chunk, freeseg; in chs_rdwr_sectors() local
74 freeseg = (0x10000 - ((size_t)ptr & 0xffff)) >> sector_shift; in chs_rdwr_sectors()
76 if ((size_t)buf <= 0xf0000 && freeseg) { in chs_rdwr_sectors()
82 freeseg = (0x10000 - ((size_t)tptr & 0xffff)) >> sector_shift; in chs_rdwr_sectors()
84 if (chunk > freeseg) in chs_rdwr_sectors()
85 chunk = freeseg; in chs_rdwr_sectors()
169 size_t chunk, freeseg; in edd_rdwr_sectors() local
192 freeseg = (0x10000 - ((size_t)ptr & 0xffff)) >> sector_shift; in edd_rdwr_sectors()
194 if ((size_t)ptr <= 0xf0000 && freeseg) { in edd_rdwr_sectors()
200 freeseg = (0x10000 - ((size_t)tptr & 0xffff)) >> sector_shift; in edd_rdwr_sectors()
[all …]