Lines Matching refs:fat
306 array_t fat,directory,mapping; member
646 uint32_t* entry=array_get(&(s->fat),cluster); in fat_set()
649 uint16_t* entry=array_get(&(s->fat),cluster); in fat_set()
653 unsigned char* p = array_get(&(s->fat), offset); in fat_set()
670 uint32_t* entry=array_get(&(s->fat),cluster); in fat_get()
673 uint16_t* entry=array_get(&(s->fat),cluster); in fat_get()
676 const uint8_t* x=(uint8_t*)(s->fat.pointer)+cluster*3/2; in fat_get()
691 array_init(&(s->fat),1); in init_fat()
692 array_ensure_allocated(&(s->fat), in init_fat()
695 array_init(&(s->fat),(s->fat_type==32?4:2)); in init_fat()
696 array_ensure_allocated(&(s->fat), in init_fat()
697 s->sectors_per_fat * 0x200 / s->fat.item_size - 1); in init_fat()
699 memset(s->fat.pointer,0,s->fat.size); in init_fat()
1028 s->fat.pointer[0] = bootsector->media_type; in init_directories()
1514 &(s->fat.pointer[(sector_num in vvfat_read()
1519 &(s->fat.pointer[(sector_num - s->offset_to_fat in vvfat_read()
2162 memcpy(s->fat2, s->fat.pointer, size); in is_consistent()
2936 memcpy(s->fat.pointer, s->fat2, 0x200 * s->sectors_per_fat); in do_commit()
3234 array_free(&(s->fat)); in vvfat_close()