Lines Matching refs:MSDOS_I
140 if (iblock != MSDOS_I(inode)->mmu_private >> sb->s_blocksize_bits) { in __fat_get_block()
142 MSDOS_I(inode)->i_pos, MSDOS_I(inode)->mmu_private); in __fat_get_block()
163 MSDOS_I(inode)->mmu_private += *max_blocks << sb->s_blocksize_bits; in __fat_get_block()
171 MSDOS_I(inode)->i_pos, in __fat_get_block()
232 &MSDOS_I(mapping->host)->mmu_private); in fat_write_begin()
247 if (!(err < 0) && !(MSDOS_I(inode)->i_attrs & ATTR_ARCH)) { in fat_write_end()
249 MSDOS_I(inode)->i_attrs |= ATTR_ARCH; in fat_write_end()
275 if (MSDOS_I(inode)->mmu_private < size) in fat_direct_IO()
320 down_read(&MSDOS_I(mapping->host)->truncate_lock); in _fat_bmap()
322 up_read(&MSDOS_I(mapping->host)->truncate_lock); in _fat_bmap()
410 MSDOS_I(inode)->i_pos = i_pos; in fat_attach()
411 hlist_add_head(&MSDOS_I(inode)->i_fat_hash, head); in fat_attach()
421 d_head += fat_dir_hash(MSDOS_I(inode)->i_logstart); in fat_attach()
424 hlist_add_head(&MSDOS_I(inode)->i_dir_hash, d_head); in fat_attach()
434 MSDOS_I(inode)->i_pos = 0; in fat_detach()
435 hlist_del_init(&MSDOS_I(inode)->i_fat_hash); in fat_detach()
440 hlist_del_init(&MSDOS_I(inode)->i_dir_hash); in fat_detach()
482 if (MSDOS_I(inode)->i_start == 0) in fat_calc_dir_size()
502 if (MSDOS_I(dir)->i_start == 0 || in fat_validate_dir()
503 MSDOS_I(dir)->i_start == MSDOS_SB(sb)->root_cluster) { in fat_validate_dir()
517 MSDOS_I(inode)->i_pos = 0; in fat_fill_inode()
529 MSDOS_I(inode)->i_start = fat_get_start(sbi, de); in fat_fill_inode()
530 MSDOS_I(inode)->i_logstart = MSDOS_I(inode)->i_start; in fat_fill_inode()
534 MSDOS_I(inode)->mmu_private = inode->i_size; in fat_fill_inode()
546 MSDOS_I(inode)->i_start = fat_get_start(sbi, de); in fat_fill_inode()
548 MSDOS_I(inode)->i_logstart = MSDOS_I(inode)->i_start; in fat_fill_inode()
553 MSDOS_I(inode)->mmu_private = inode->i_size; in fat_fill_inode()
568 fat_time_fat2unix(sbi, &MSDOS_I(inode)->i_crtime, de->ctime, in fat_fill_inode()
626 round_up(MSDOS_I(inode)->mmu_private, in fat_free_eofblocks()
630 fat_truncate_blocks(inode, MSDOS_I(inode)->mmu_private); in fat_free_eofblocks()
764 kmem_cache_free(fat_inode_cachep, MSDOS_I(inode)); in fat_free_inode()
872 if (i_pos != MSDOS_I(inode)->i_pos) { in __fat_write_inode()
884 fat_set_start(raw_entry, MSDOS_I(inode)->i_logstart); in __fat_write_inode()
891 fat_time_unix2fat(sbi, &MSDOS_I(inode)->i_crtime, &raw_entry->ctime, in __fat_write_inode()
1387 MSDOS_I(inode)->i_pos = MSDOS_ROOT_INO; in fat_read_root()
1396 MSDOS_I(inode)->i_start = sbi->root_cluster; in fat_read_root()
1401 MSDOS_I(inode)->i_start = 0; in fat_read_root()
1406 MSDOS_I(inode)->i_logstart = 0; in fat_read_root()
1407 MSDOS_I(inode)->mmu_private = inode->i_size; in fat_read_root()