Lines Matching refs:MSDOS_I
133 if (iblock != MSDOS_I(inode)->mmu_private >> sb->s_blocksize_bits) { in __fat_get_block()
135 MSDOS_I(inode)->i_pos, MSDOS_I(inode)->mmu_private); in __fat_get_block()
156 MSDOS_I(inode)->mmu_private += *max_blocks << sb->s_blocksize_bits; in __fat_get_block()
164 MSDOS_I(inode)->i_pos, in __fat_get_block()
231 &MSDOS_I(mapping->host)->mmu_private); in fat_write_begin()
246 if (!(err < 0) && !(MSDOS_I(inode)->i_attrs & ATTR_ARCH)) { in fat_write_end()
248 MSDOS_I(inode)->i_attrs |= ATTR_ARCH; in fat_write_end()
274 if (MSDOS_I(inode)->mmu_private < size) in fat_direct_IO()
319 down_read(&MSDOS_I(mapping->host)->truncate_lock); in _fat_bmap()
321 up_read(&MSDOS_I(mapping->host)->truncate_lock); in _fat_bmap()
407 MSDOS_I(inode)->i_pos = i_pos; in fat_attach()
408 hlist_add_head(&MSDOS_I(inode)->i_fat_hash, head); in fat_attach()
418 d_head += fat_dir_hash(MSDOS_I(inode)->i_logstart); in fat_attach()
421 hlist_add_head(&MSDOS_I(inode)->i_dir_hash, d_head); in fat_attach()
431 MSDOS_I(inode)->i_pos = 0; in fat_detach()
432 hlist_del_init(&MSDOS_I(inode)->i_fat_hash); in fat_detach()
437 hlist_del_init(&MSDOS_I(inode)->i_dir_hash); in fat_detach()
479 if (MSDOS_I(inode)->i_start == 0) in fat_calc_dir_size()
499 if (MSDOS_I(dir)->i_start == 0 || in fat_validate_dir()
500 MSDOS_I(dir)->i_start == MSDOS_SB(sb)->root_cluster) { in fat_validate_dir()
514 MSDOS_I(inode)->i_pos = 0; in fat_fill_inode()
526 MSDOS_I(inode)->i_start = fat_get_start(sbi, de); in fat_fill_inode()
527 MSDOS_I(inode)->i_logstart = MSDOS_I(inode)->i_start; in fat_fill_inode()
531 MSDOS_I(inode)->mmu_private = inode->i_size; in fat_fill_inode()
543 MSDOS_I(inode)->i_start = fat_get_start(sbi, de); in fat_fill_inode()
545 MSDOS_I(inode)->i_logstart = MSDOS_I(inode)->i_start; in fat_fill_inode()
550 MSDOS_I(inode)->mmu_private = inode->i_size; in fat_fill_inode()
622 round_up(MSDOS_I(inode)->mmu_private, in fat_free_eofblocks()
626 fat_truncate_blocks(inode, MSDOS_I(inode)->mmu_private); in fat_free_eofblocks()
759 kmem_cache_free(fat_inode_cachep, MSDOS_I(inode)); in fat_i_callback()
873 if (i_pos != MSDOS_I(inode)->i_pos) { in __fat_write_inode()
885 fat_set_start(raw_entry, MSDOS_I(inode)->i_logstart); in __fat_write_inode()
1388 MSDOS_I(inode)->i_pos = MSDOS_ROOT_INO; in fat_read_root()
1397 MSDOS_I(inode)->i_start = sbi->root_cluster; in fat_read_root()
1402 MSDOS_I(inode)->i_start = 0; in fat_read_root()
1407 MSDOS_I(inode)->i_logstart = 0; in fat_read_root()
1408 MSDOS_I(inode)->mmu_private = inode->i_size; in fat_read_root()