Home
last modified time | relevance | path

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

/freebsd-14.2/sbin/fsck_msdosfs/
H A Dfat.c169 uint8_t *fatbuf; member
274 return (fat->fatbuf + (cl << 1)); in fat_get_fat16_ptr()
313 return (fat->fatbuf + (cl << 2)); in fat_get_fat32_ptr()
717 if (fat->fatbuf != MAP_FAILED) { in _readfat()
742 fat->fatbuf = malloc(readsize); in _readfat()
743 if (fat->fatbuf == NULL) { in _readfat()
781 free(fat->fatbuf); in _readfat()
782 fat->fatbuf = NULL; in _readfat()
796 free(fat->fatbuf); in releasefat()
798 fat->fatbuf = NULL; in releasefat()
[all …]
/freebsd-14.2/stand/libsa/
H A Ddosfs.c175 fs->fatbuf, io_size); in dos_read_fatblk()
182 memset(fs->fatbuf + io_size, 0, FATBLKSZ - io_size); in dos_read_fatblk()
208 if ((fs->fatbuf = malloc(FATBLKSZ)) == NULL) in dos_mount_impl()
212 free(fs->fatbuf); in dos_mount_impl()
294 free(fs->fatbuf); in dos_unmount_impl()
873 p_entry = fs->fatbuf + offset; in fatget()
H A Ddosfs.h97 u_char *fatbuf; /* FAT cache buffer */ member