Lines Matching refs:MSDOS_I
139 if (iblock != MSDOS_I(inode)->mmu_private >> sb->s_blocksize_bits) { in __fat_get_block()
141 MSDOS_I(inode)->i_pos, MSDOS_I(inode)->mmu_private); in __fat_get_block()
162 MSDOS_I(inode)->mmu_private += *max_blocks << sb->s_blocksize_bits; in __fat_get_block()
170 MSDOS_I(inode)->i_pos, in __fat_get_block()
230 &MSDOS_I(mapping->host)->mmu_private); in fat_write_begin()
245 if (!(err < 0) && !(MSDOS_I(inode)->i_attrs & ATTR_ARCH)) { in fat_write_end()
247 MSDOS_I(inode)->i_attrs |= ATTR_ARCH; in fat_write_end()
273 if (MSDOS_I(inode)->mmu_private < size) in fat_direct_IO()
318 down_read(&MSDOS_I(mapping->host)->truncate_lock); in _fat_bmap()
320 up_read(&MSDOS_I(mapping->host)->truncate_lock); in _fat_bmap()
408 MSDOS_I(inode)->i_pos = i_pos; in fat_attach()
409 hlist_add_head(&MSDOS_I(inode)->i_fat_hash, head); in fat_attach()
419 d_head += fat_dir_hash(MSDOS_I(inode)->i_logstart); in fat_attach()
422 hlist_add_head(&MSDOS_I(inode)->i_dir_hash, d_head); in fat_attach()
432 MSDOS_I(inode)->i_pos = 0; in fat_detach()
433 hlist_del_init(&MSDOS_I(inode)->i_fat_hash); in fat_detach()
438 hlist_del_init(&MSDOS_I(inode)->i_dir_hash); in fat_detach()
480 if (MSDOS_I(inode)->i_start == 0) in fat_calc_dir_size()
500 if (MSDOS_I(dir)->i_start == 0 || in fat_validate_dir()
501 MSDOS_I(dir)->i_start == MSDOS_SB(sb)->root_cluster) { in fat_validate_dir()
516 MSDOS_I(inode)->i_pos = 0; in fat_fill_inode()
528 MSDOS_I(inode)->i_start = fat_get_start(sbi, de); in fat_fill_inode()
529 MSDOS_I(inode)->i_logstart = MSDOS_I(inode)->i_start; in fat_fill_inode()
533 MSDOS_I(inode)->mmu_private = inode->i_size; in fat_fill_inode()
545 MSDOS_I(inode)->i_start = fat_get_start(sbi, de); in fat_fill_inode()
547 MSDOS_I(inode)->i_logstart = MSDOS_I(inode)->i_start; in fat_fill_inode()
552 MSDOS_I(inode)->mmu_private = inode->i_size; in fat_fill_inode()
571 fat_time_fat2unix(sbi, &MSDOS_I(inode)->i_crtime, de->ctime, in fat_fill_inode()
629 round_up(MSDOS_I(inode)->mmu_private, in fat_free_eofblocks()
633 fat_truncate_blocks(inode, MSDOS_I(inode)->mmu_private); in fat_free_eofblocks()
767 kmem_cache_free(fat_inode_cachep, MSDOS_I(inode)); in fat_free_inode()
878 if (i_pos != MSDOS_I(inode)->i_pos) { in __fat_write_inode()
890 fat_set_start(raw_entry, MSDOS_I(inode)->i_logstart); in __fat_write_inode()
899 fat_time_unix2fat(sbi, &MSDOS_I(inode)->i_crtime, &raw_entry->ctime, in __fat_write_inode()
1320 MSDOS_I(inode)->i_pos = MSDOS_ROOT_INO; in fat_read_root()
1329 MSDOS_I(inode)->i_start = sbi->root_cluster; in fat_read_root()
1334 MSDOS_I(inode)->i_start = 0; in fat_read_root()
1339 MSDOS_I(inode)->i_logstart = 0; in fat_read_root()
1340 MSDOS_I(inode)->mmu_private = inode->i_size; in fat_read_root()