Home
last modified time | relevance | path

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

/xen/tools/libfsimage/fat/
A Dfsys_fat.c218 int cached_pos = (fat_entry - FAT_SUPER->cached_fat); in fat_read() local
220 if (cached_pos < 0 || in fat_read()
221 (cached_pos + FAT_SUPER->fat_size) > 2*FAT_CACHE_SIZE) in fat_read()
224 cached_pos = (fat_entry - FAT_SUPER->cached_fat); in fat_read()
230 next_cluster = ((__u16 *) (FAT_BUF + (cached_pos >> 1)))[0]; in fat_read()
233 if (cached_pos & 1) in fat_read()
238 next_cluster |= ((__u16 *) (FAT_BUF + (cached_pos >> 1)))[1] << 16; in fat_read()

Completed in 2 milliseconds