Lines Matching refs:finode

59 … struct fat32_inode_info_t *finode = (struct fat32_inode_info_t *)parent_inode->private_inode_info;  in __fat32_search_long_short()  local
66 uint32_t cluster = finode->first_clus; in __fat32_search_long_short()
320 struct fat32_inode_info_t *finode = NULL; in fat32_lookup() local
341 finode = (fat32_inode_info_t *)p->private_inode_info; in fat32_lookup()
343 finode->first_clus = ((sinfo.de->DIR_FstClusHI << 16) | sinfo.de->DIR_FstClusLO) & 0x0fffffff; in fat32_lookup()
344finode->dEntry_location_clus = __fat32_LBA_to_cluster(fsbi->first_data_sector, fsbi->sec_per_clus,… in fat32_lookup()
345 finode->dEntry_location_clus_offset = sinfo.slot_off; // 计算dentry的偏移量 in fat32_lookup()
348 finode->create_date = sinfo.de->DIR_CrtDate; in fat32_lookup()
349 finode->create_time = sinfo.de->DIR_CrtTime; in fat32_lookup()
350 finode->write_date = sinfo.de->DIR_WrtDate; in fat32_lookup()
351 finode->write_time = sinfo.de->DIR_WrtTime; in fat32_lookup()
439 …struct fat32_inode_info_t *finode = (struct fat32_inode_info_t *)sb_ptr->root->dir_inode->private_… in fat32_read_superblock() local
441 finode->first_clus = fbs->BPB_RootClus; in fat32_read_superblock()
442 finode->dEntry_location_clus = 0; in fat32_read_superblock()
443 finode->dEntry_location_clus_offset = 0; in fat32_read_superblock()
444 finode->create_time = 0; in fat32_read_superblock()
445 finode->create_date = 0; in fat32_read_superblock()
446 finode->write_date = 0; in fat32_read_superblock()
447 finode->write_time; in fat32_read_superblock()
482 fat32_inode_info_t *finode = inode->private_inode_info; in fat32_write_inode() local
484 if (finode->dEntry_location_clus == 0) in fat32_write_inode()
493 … uint64_t fLBA = fsbi->first_data_sector + (finode->dEntry_location_clus - 2) * fsbi->sec_per_clus; in fat32_write_inode()
501 struct fat32_Directory_t *fdEntry = buf + finode->dEntry_location_clus_offset; in fat32_write_inode()
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()
576 …struct fat32_inode_info_t *finode = (struct fat32_inode_info_t *)(file_ptr->dEntry->dir_inode->pri… in fat32_read() local
581 uint64_t cluster = finode->first_clus; in fat32_read()
664 …struct fat32_inode_info_t *finode = (struct fat32_inode_info_t *)file_ptr->dEntry->dir_inode->priv… in fat32_write() local
669 uint32_t cluster = finode->first_clus; in fat32_write()
870 …struct fat32_inode_info_t *finode = (struct fat32_inode_info_t *)kzalloc(sizeof(struct fat32_inode… in fat32_create() local
876 inode->private_inode_info = (void *)finode; in fat32_create()
897 finode->first_clus = 0; in fat32_create()
898 finode->dEntry_location_clus = tmp_parent_dentry_clus; in fat32_create()
899finode->dEntry_location_clus_offset = empty_fat32_dentry - (struct fat32_Directory_t *)tmp_dentry_… in fat32_create()
938 kfree(finode); in fat32_create()
1159 …struct fat32_inode_info_t *finode = (struct fat32_inode_info_t *)file_ptr->dEntry->dir_inode->priv… in fat32_readdir() local
1164 uint32_t cluster = finode->first_clus; in fat32_readdir()