Home
last modified time | relevance | path

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

/freebsd-13.1/sbin/fsck_msdosfs/
H A Dfat.c171 uint8_t *fatbuf; member
276 return (fat->fatbuf + (cl << 1)); in fat_get_fat16_ptr()
315 return (fat->fatbuf + (cl << 2)); in fat_get_fat32_ptr()
719 if (fat->fatbuf != MAP_FAILED) { in _readfat()
744 fat->fatbuf = malloc(readsize); in _readfat()
745 if (fat->fatbuf == NULL) { in _readfat()
783 free(fat->fatbuf); in _readfat()
784 fat->fatbuf = NULL; in _readfat()
798 free(fat->fatbuf); in releasefat()
800 fat->fatbuf = NULL; in releasefat()
[all …]
/freebsd-13.1/stand/libsa/
H A Ddosfs.c179 fs->fatbuf, io_size); in dos_read_fatblk()
186 memset(fs->fatbuf + io_size, 0, FATBLKSZ - io_size); in dos_read_fatblk()
212 if ((fs->fatbuf = malloc(FATBLKSZ)) == NULL) in dos_mount_impl()
216 free(fs->fatbuf); in dos_mount_impl()
298 free(fs->fatbuf); in dos_unmount_impl()
877 p_entry = fs->fatbuf + offset; in fatget()
H A Ddosfs.h99 u_char *fatbuf; /* FAT cache buffer */ member