Home
last modified time | relevance | path

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

/third_party/FreeBSD/sbin/fsck_msdosfs/
Dfat.c171 uint8_t *fatbuf; member
219 return (fat->fatbuf + ((cl + (cl >> 1)))); in fat_get_fat12_ptr()
276 return (fat->fatbuf + (cl << 1)); in fat_get_fat16_ptr()
315 return (fat->fatbuf + (cl << 2)); in fat_get_fat32_ptr()
716 fat->fatbuf = mmap(NULL, fat->fatsize, in _readfat()
719 if (fat->fatbuf != MAP_FAILED) { in _readfat()
744 fat->fatbuf = malloc(readsize); in _readfat()
745 if (fat->fatbuf == NULL) { in _readfat()
754 if ((size_t)read(fd, fat->fatbuf, readsize) != readsize) { in _readfat()
773 entry[i].chunk = &fat->fatbuf[entry[i].addr]; in _readfat()
[all …]