Searched refs:MSDOS_I (Results 1 – 9 of 9) sorted by relevance
/linux-4.4.14/fs/fat/ |
D | cache.c | 75 if (MSDOS_I(inode)->cache_lru.next != &cache->cache_list) in fat_cache_update_lru() 76 list_move(&cache->cache_list, &MSDOS_I(inode)->cache_lru); in fat_cache_update_lru() 88 spin_lock(&MSDOS_I(inode)->cache_lru_lock); in fat_cache_lookup() 89 list_for_each_entry(p, &MSDOS_I(inode)->cache_lru, cache_list) { in fat_cache_lookup() 104 cid->id = MSDOS_I(inode)->cache_valid_id; in fat_cache_lookup() 111 spin_unlock(&MSDOS_I(inode)->cache_lru_lock); in fat_cache_lookup() 121 list_for_each_entry(p, &MSDOS_I(inode)->cache_lru, cache_list) { in fat_cache_merge() 140 spin_lock(&MSDOS_I(inode)->cache_lru_lock); in fat_cache_add() 142 new->id != MSDOS_I(inode)->cache_valid_id) in fat_cache_add() 147 if (MSDOS_I(inode)->nr_caches < fat_max_cache(inode)) { in fat_cache_add() [all …]
|
D | file.c | 56 attr |= (MSDOS_I(inode)->i_attrs & ATTR_VOLUME) | in fat_ioctl_set_attributes() 224 if (MSDOS_I(inode)->i_start == 0) in fat_free() 230 i_start = free_start = MSDOS_I(inode)->i_start; in fat_free() 231 i_logstart = MSDOS_I(inode)->i_logstart; in fat_free() 235 MSDOS_I(inode)->i_start = 0; in fat_free() 236 MSDOS_I(inode)->i_logstart = 0; in fat_free() 238 MSDOS_I(inode)->i_attrs |= ATTR_ARCH; in fat_free() 243 MSDOS_I(inode)->i_start = i_start; in fat_free() 244 MSDOS_I(inode)->i_logstart = i_logstart; in fat_free() 269 __func__, MSDOS_I(inode)->i_pos); in fat_free() [all …]
|
D | inode.c | 132 if (iblock != MSDOS_I(inode)->mmu_private >> sb->s_blocksize_bits) { in __fat_get_block() 134 MSDOS_I(inode)->i_pos, MSDOS_I(inode)->mmu_private); in __fat_get_block() 149 MSDOS_I(inode)->mmu_private += *max_blocks << sb->s_blocksize_bits; in __fat_get_block() 218 &MSDOS_I(mapping->host)->mmu_private); in fat_write_begin() 233 if (!(err < 0) && !(MSDOS_I(inode)->i_attrs & ATTR_ARCH)) { in fat_write_end() 235 MSDOS_I(inode)->i_attrs |= ATTR_ARCH; in fat_write_end() 261 if (MSDOS_I(inode)->mmu_private < size) in fat_direct_IO() 281 down_read(&MSDOS_I(mapping->host)->truncate_lock); in _fat_bmap() 283 up_read(&MSDOS_I(mapping->host)->truncate_lock); in _fat_bmap() 369 MSDOS_I(inode)->i_pos = i_pos; in fat_attach() [all …]
|
D | namei_msdos.c | 461 old_attrs = MSDOS_I(old_inode)->i_attrs; in do_msdos_rename() 471 MSDOS_I(old_inode)->i_attrs |= ATTR_HIDDEN; in do_msdos_rename() 473 MSDOS_I(old_inode)->i_attrs &= ~ATTR_HIDDEN; in do_msdos_rename() 477 MSDOS_I(old_inode)->i_attrs = old_attrs; in do_msdos_rename() 502 new_i_pos = MSDOS_I(new_inode)->i_pos; in do_msdos_rename() 516 MSDOS_I(old_inode)->i_attrs |= ATTR_HIDDEN; in do_msdos_rename() 518 MSDOS_I(old_inode)->i_attrs &= ~ATTR_HIDDEN; in do_msdos_rename() 527 fat_set_start(dotdot_de, MSDOS_I(new_dir)->i_logstart); in do_msdos_rename() 567 fat_set_start(dotdot_de, MSDOS_I(old_dir)->i_logstart); in do_msdos_rename() 574 MSDOS_I(old_inode)->i_attrs = old_attrs; in do_msdos_rename()
|
D | fat.h | 144 static inline struct msdos_inode_info *MSDOS_I(struct inode *inode) in MSDOS_I() function 189 u8 attrs = MSDOS_I(inode)->i_attrs; in fat_make_attrs() 200 MSDOS_I(inode)->i_attrs = attrs & ATTR_UNUSED; in fat_save_attrs() 202 MSDOS_I(inode)->i_attrs = attrs & (ATTR_UNUSED | ATTR_RO); in fat_save_attrs() 236 i_pos = MSDOS_I(inode)->i_pos; in fat_i_pos_read()
|
D | misc.c | 110 if (MSDOS_I(inode)->i_start) { in fat_chain_add() 139 MSDOS_I(inode)->i_start = new_dclus; in fat_chain_add() 140 MSDOS_I(inode)->i_logstart = new_dclus; in fat_chain_add()
|
D | namei_vfat.c | 941 new_i_pos = MSDOS_I(new_inode)->i_pos; in vfat_rename() 962 fat_set_start(dotdot_de, MSDOS_I(new_dir)->i_logstart); in vfat_rename() 1004 fat_set_start(dotdot_de, MSDOS_I(old_dir)->i_logstart); in vfat_rename()
|
D | dir.c | 1176 fat_set_start(&de[1], MSDOS_I(dir)->i_logstart); in fat_alloc_new_dir() 1316 } else if (MSDOS_I(dir)->i_start == 0) { in fat_add_entries() 1318 MSDOS_I(dir)->i_pos); in fat_add_entries() 1387 MSDOS_I(dir)->mmu_private += nr_cluster << sbi->cluster_bits; in fat_add_entries()
|
D | nfs.c | 253 MSDOS_I(dummy_grand_parent)->i_pos = -1; in fat_rebuild_parent()
|