Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/filesystem/fat32/
Dfat_ent.c460 uint32_t next_clus; in fat32_remove_entries() local
466 next_clus = fat32_read_FAT_entry(sb->blk_device, fsbi, data_cluster); in fat32_remove_entries()
476 data_cluster = next_clus; in fat32_remove_entries()
Dfat32.c750 int next_clus = 0; in fat32_write() local
752 next_clus = fat32_read_FAT_entry(blk, fsbi, cluster); in fat32_write()
755 if (next_clus >= 0x0ffffff8) // 已经到达了最后一个簇,需要分配新簇 in fat32_write()
757 if (fat32_alloc_clusters(file_ptr->dEntry->dir_inode, &next_clus, 1) != 0) in fat32_write()
764 cluster = next_clus; // 切换当前簇 in fat32_write()