Lines Matching refs:SECT_PER_ENTRY
37 #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()
427 j += SECT_PER_ENTRY; in fat_write()
431 bit < SECT_PER_ENTRY && j<This->fat_len; in fat_write()
986 nr_entries = (This->fat_len + SECT_PER_ENTRY - 1) / in fs_free()
987 SECT_PER_ENTRY; in fs_free()