Searched refs:FATBLKSZ (Results 1 – 1 of 1) sorted by relevance
68 #define FATBLKSZ 0x20000 /* size of block in the FAT cache buffer */ macro155 offset_in_fat = ((daddr_t)blknum) * FATBLKSZ; in dos_read_fatblk()157 io_size = FATBLKSZ; in dos_read_fatblk()172 if (io_size < FATBLKSZ) in dos_read_fatblk()173 memset(fs->fatbuf + io_size, 0, FATBLKSZ - io_size); in dos_read_fatblk()200 if ((fs->fatbuf = malloc(FATBLKSZ)) == NULL) in dos_mount()790 blknum = offset / FATBLKSZ; in fatget()791 offset %= FATBLKSZ; in fatget()792 if (offset + nbyte > FATBLKSZ) in fatget()