Searched refs:SECT_PER_ENTRY (Results 1 – 1 of 1) sorted by relevance
38 #define SECT_PER_ENTRY (sizeof(fatBitMask)*8) macro72 nr_entries = (Stream->fat_len + SECT_PER_ENTRY - 1) / SECT_PER_ENTRY; in GetFatMap()91 *slot = offset / SECT_PER_ENTRY; in locate()92 *bit = offset % SECT_PER_ENTRY; in locate()110 nr_sectors = SECT_PER_ENTRY - bit%SECT_PER_ENTRY; in fatReadSector()169 if (((This->fat_len + SECT_PER_ENTRY - 1) / SECT_PER_ENTRY) <= slot) { in loadSector()172 fprintf(stderr, "SECT_PER_ENTRY=%d\n", (int)SECT_PER_ENTRY); in loadSector()176 ((This->fat_len+SECT_PER_ENTRY-1) / SECT_PER_ENTRY)); in loadSector()183 malloc(This->sector_size * SECT_PER_ENTRY); in loadSector()187 This->sector_size * SECT_PER_ENTRY); in loadSector()[all …]