Home
last modified time | relevance | path

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

/src/stand/libsa/
H A Ddosfs.c77 #define FATBLKSZ 0x20000 /* size of block in the FAT cache buffer */ macro
195 offset_in_fat = ((daddr_t)blknum) * FATBLKSZ; in dos_read_fatblk()
197 io_size = FATBLKSZ; in dos_read_fatblk()
211 if (io_size < FATBLKSZ) in dos_read_fatblk()
212 memset(fs->fatbuf + io_size, 0, FATBLKSZ - io_size); in dos_read_fatblk()
246 if ((fs->fatbuf = malloc(FATBLKSZ)) == NULL) { in dos_mount_impl()
932 blknum = offset / FATBLKSZ; in fatget()
933 offset %= FATBLKSZ; in fatget()
934 if (offset + nbyte > FATBLKSZ) in fatget()