Home
last modified time | relevance | path

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

/illumos-gate/usr/src/boot/libsa/
H A Ddosfs.c68 #define FATBLKSZ 0x20000 /* size of block in the FAT cache buffer */ macro
155 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()