Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/filesystem/fat32/
Dfat_ent.c58 if (finode->first_clus == 0) in fat32_alloc_clusters()
61 finode->first_clus = clusters[0]; in fat32_alloc_clusters()
62 cluster = finode->first_clus; in fat32_alloc_clusters()
71 int tmp_clus = finode->first_clus; in fat32_alloc_clusters()
198 uint32_t cluster = finode->first_clus; in fat32_find_empty_dentry()
Dfat32.c66 uint32_t cluster = finode->first_clus; in __fat32_search_long_short()
343 finode->first_clus = ((sinfo.de->DIR_FstClusHI << 16) | sinfo.de->DIR_FstClusLO) & 0x0fffffff; in fat32_lookup()
441 finode->first_clus = fbs->BPB_RootClus; in fat32_read_superblock()
505 fdEntry->DIR_FstClusLO = finode->first_clus & 0xffff; in fat32_write_inode()
506 fdEntry->DIR_FstClusHI = (finode->first_clus >> 16) | (fdEntry->DIR_FstClusHI & 0xf000); in fat32_write_inode()
581 uint64_t cluster = finode->first_clus; in fat32_read()
669 uint32_t cluster = finode->first_clus; in fat32_write()
897 finode->first_clus = 0; in fat32_create()
995 p->first_clus = 0; in fat32_mkdir()
1054 … new_dir_dentries->DIR_FstClusHI = (unsigned short)(parent_inode_info->first_clus >> 16) & 0x0fff; in fat32_mkdir()
[all …]
Dfat32.h158 uint32_t first_clus; // 文件的起始簇号 member