Home
last modified time | relevance | path

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

/external/mtools/
Dfat.c37 #define SECT_PER_ENTRY (sizeof(fatBitMask)*8) macro
71 nr_entries = (Stream->fat_len + SECT_PER_ENTRY - 1) / SECT_PER_ENTRY; in GetFatMap()
89 *slot = offset / SECT_PER_ENTRY; in locate()
90 *bit = offset % SECT_PER_ENTRY; in locate()
104 nr_sectors = SECT_PER_ENTRY - bit%SECT_PER_ENTRY; in fatReadSector()
158 if (((This->fat_len + SECT_PER_ENTRY - 1) / SECT_PER_ENTRY) <= slot) { in loadSector()
161 fprintf(stderr, "SECT_PER_ENTRY=%d\n", (int)SECT_PER_ENTRY); in loadSector()
165 ((This->fat_len+SECT_PER_ENTRY-1) / SECT_PER_ENTRY)); in loadSector()
172 malloc(This->sector_size * SECT_PER_ENTRY); in loadSector()
176 This->sector_size * SECT_PER_ENTRY); in loadSector()
[all …]