Home
last modified time | relevance | path

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

/xen/tools/libfsimage/fat/
A Dfsys_fat.c217 int next_cluster; in fat_read() local
230 next_cluster = ((__u16 *) (FAT_BUF + (cached_pos >> 1)))[0]; in fat_read()
234 next_cluster >>= 4; in fat_read()
235 next_cluster &= 0xFFF; in fat_read()
238 next_cluster |= ((__u16 *) (FAT_BUF + (cached_pos >> 1)))[1] << 16; in fat_read()
240 if (next_cluster >= FAT_SUPER->clust_eof_marker) in fat_read()
242 if (next_cluster < 2 || next_cluster >= FAT_SUPER->num_clust) in fat_read()
248 FAT_SUPER->current_cluster = next_cluster; in fat_read()

Completed in 3 milliseconds