Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dvvfat.c321 uint32_t offset_to_root_dir; member
888 return (sector_num - s->offset_to_root_dir) / s->sectors_per_cluster; in sector2cluster()
893 return s->offset_to_root_dir + s->sectors_per_cluster * cluster_num; in cluster2sector()
921 s->offset_to_root_dir = s->offset_to_fat + s->sectors_per_fat * 2; in init_directories()
1262 s->sector_count = s->offset_to_root_dir in vvfat_open()
1507 if (sector_num < s->offset_to_root_dir) { in vvfat_read()
1517 } else if (sector_num < s->offset_to_root_dir) { in vvfat_read()
1524 uint32_t sector = sector_num - s->offset_to_root_dir, in vvfat_read()