Home
last modified time | relevance | path

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

/Linux-v5.10/fs/exfat/
Dinode.c27 struct exfat_inode_info *ei = EXFAT_I(inode); in __exfat_write_inode()
113 struct exfat_inode_info *ei = EXFAT_I(inode); in exfat_map_cluster()
117 if (EXFAT_I(inode)->i_size_ondisk > 0) in exfat_map_cluster()
119 EXFAT_B_TO_CLU_ROUND_UP(EXFAT_I(inode)->i_size_ondisk, in exfat_map_cluster()
293 struct exfat_inode_info *ei = EXFAT_I(inode); in exfat_get_block()
387 exfat_truncate(inode, EXFAT_I(inode)->i_size_aligned); in exfat_write_failed()
400 &EXFAT_I(mapping->host)->i_size_ondisk); in exfat_write_begin()
413 struct exfat_inode_info *ei = EXFAT_I(inode); in exfat_write_end()
418 if (EXFAT_I(inode)->i_size_aligned < i_size_read(inode)) { in exfat_write_end()
421 i_size_read(inode), EXFAT_I(inode)->i_size_aligned); in exfat_write_end()
[all …]
Dfile.c102 struct exfat_inode_info *ei = EXFAT_I(inode); in __exfat_truncate()
113 EXFAT_B_TO_CLU_ROUND_UP(EXFAT_I(inode)->i_size_ondisk, sbi); in __exfat_truncate()
235 if (EXFAT_I(inode)->start_clu == 0) { in exfat_truncate()
262 if (EXFAT_I(inode)->i_size_ondisk > i_size_read(inode)) in exfat_truncate()
263 EXFAT_I(inode)->i_size_ondisk = aligned_size; in exfat_truncate()
265 if (EXFAT_I(inode)->i_size_aligned > i_size_read(inode)) in exfat_truncate()
266 EXFAT_I(inode)->i_size_aligned = aligned_size; in exfat_truncate()
274 struct exfat_inode_info *ei = EXFAT_I(inode); in exfat_getattr()
337 down_write(&EXFAT_I(inode)->truncate_lock); in exfat_setattr()
340 up_write(&EXFAT_I(inode)->truncate_lock); in exfat_setattr()
Dcache.c77 struct exfat_inode_info *ei = EXFAT_I(inode); in exfat_cache_update_lru()
87 struct exfat_inode_info *ei = EXFAT_I(inode); in exfat_cache_lookup()
123 struct exfat_inode_info *ei = EXFAT_I(inode); in exfat_cache_merge()
140 struct exfat_inode_info *ei = EXFAT_I(inode); in exfat_cache_add()
195 struct exfat_inode_info *ei = EXFAT_I(inode); in __exfat_cache_inval_inode()
213 struct exfat_inode_info *ei = EXFAT_I(inode); in exfat_cache_inval_inode()
243 struct exfat_inode_info *ei = EXFAT_I(inode); in exfat_get_cluster()
Dnamei.c315 struct exfat_inode_info *ei = EXFAT_I(inode); in exfat_find_empty_entry()
398 EXFAT_I(inode)->i_size_ondisk += sbi->cluster_size; in exfat_find_empty_entry()
399 EXFAT_I(inode)->i_size_aligned += sbi->cluster_size; in exfat_find_empty_entry()
400 EXFAT_I(inode)->flags = p_dir->flags; in exfat_find_empty_entry()
419 struct exfat_inode_info *ei = EXFAT_I(inode); in __exfat_resolve_path()
577 EXFAT_I(inode)->i_crtime = current_time(inode); in exfat_create()
596 struct exfat_inode_info *ei = EXFAT_I(dir); in exfat_find()
773 struct exfat_inode_info *ei = EXFAT_I(inode); in exfat_unlink()
863 EXFAT_I(inode)->i_crtime = current_time(inode); in exfat_mkdir()
925 struct exfat_inode_info *ei = EXFAT_I(inode); in exfat_rmdir()
[all …]
Dsuper.c195 kmem_cache_free(exfat_inode_cachep, EXFAT_I(inode)); in exfat_free_inode()
334 struct exfat_inode_info *ei = EXFAT_I(inode); in exfat_read_root()
369 EXFAT_I(inode)->i_pos = ((loff_t)sbi->root_dir << 32) | 0xffffffff; in exfat_read_root()
370 EXFAT_I(inode)->i_size_aligned = i_size_read(inode); in exfat_read_root()
371 EXFAT_I(inode)->i_size_ondisk = i_size_read(inode); in exfat_read_root()
665 exfat_hash_inode(root_inode, EXFAT_I(root_inode)->i_pos); in exfat_fill_super()
Dexfat_fs.h305 static inline struct exfat_inode_info *EXFAT_I(struct inode *inode) in EXFAT_I() function
345 unsigned short attr = EXFAT_I(inode)->attr; in exfat_make_attr()
357 EXFAT_I(inode)->attr = attr & (ATTR_RWMASK | ATTR_READONLY); in exfat_save_attr()
359 EXFAT_I(inode)->attr = attr & ATTR_RWMASK; in exfat_save_attr()
Ddir.c72 struct exfat_inode_info *ei = EXFAT_I(inode); in exfat_readdir()
220 struct exfat_inode_info *ei = EXFAT_I(inode); in exfat_iterate()