Lines Matching refs:EXT4_I
132 if (!EXT4_I(inode)->jinode) in ext4_begin_ordered_truncate()
135 EXT4_I(inode)->jinode, in ext4_begin_ordered_truncate()
149 if (!(EXT4_I(inode)->i_flags & EXT4_EA_INODE_FL)) { in ext4_inode_is_fast_symlink()
150 int ea_blocks = EXT4_I(inode)->i_file_acl ? in ext4_inode_is_fast_symlink()
180 if (EXT4_I(inode)->i_flags & EXT4_EA_INODE_FL) in ext4_evict_inode()
205 tid_t commit_tid = EXT4_I(inode)->i_datasync_tid; in ext4_evict_inode()
277 memset(EXT4_I(inode)->i_data, 0, sizeof(EXT4_I(inode)->i_data)); in ext4_evict_inode()
318 EXT4_I(inode)->i_dtime = (__u32)ktime_get_real_seconds(); in ext4_evict_inode()
344 if (!list_empty(&EXT4_I(inode)->i_fc_list)) in ext4_evict_inode()
352 return &EXT4_I(inode)->i_reserved_quota; in ext4_get_reserved_space()
364 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_da_update_reserve_space()
458 down_read(&EXT4_I(inode)->i_data_sem); in ext4_map_blocks_es_recheck()
464 up_read((&EXT4_I(inode)->i_data_sem)); in ext4_map_blocks_es_recheck()
574 down_read(&EXT4_I(inode)->i_data_sem); in ext4_map_blocks()
603 up_read((&EXT4_I(inode)->i_data_sem)); in ext4_map_blocks()
644 down_write(&EXT4_I(inode)->i_data_sem); in ext4_map_blocks()
729 up_write((&EXT4_I(inode)->i_data_sem)); in ext4_map_blocks()
1445 EXT4_I(inode)->i_datasync_tid = handle->h_transaction->t_tid; in ext4_journalled_write_end()
1488 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_da_reserve_space()
1516 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_da_release_space()
1521 spin_lock(&EXT4_I(inode)->i_block_reservation_lock); in ext4_da_release_space()
1543 spin_unlock(&EXT4_I(inode)->i_block_reservation_lock); in ext4_da_release_space()
1595 down_write(&EXT4_I(inode)->i_data_sem); in mpage_release_unused_pages()
1597 up_write(&EXT4_I(inode)->i_data_sem); in mpage_release_unused_pages()
1631 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_print_free_blocks()
1749 down_read(&EXT4_I(inode)->i_data_sem); in ext4_da_map_blocks()
1786 down_read(&EXT4_I(inode)->i_data_sem); in ext4_da_map_blocks()
1833 up_read((&EXT4_I(inode)->i_data_sem)); in ext4_da_map_blocks()
1955 EXT4_I(inode)->i_datasync_tid = handle->h_transaction->t_tid; in __ext4_journalled_writepage()
2523 if (disksize > READ_ONCE(EXT4_I(inode)->i_disksize)) { in mpage_map_and_submit_extent()
2527 down_write(&EXT4_I(inode)->i_data_sem); in mpage_map_and_submit_extent()
2531 if (disksize > EXT4_I(inode)->i_disksize) in mpage_map_and_submit_extent()
2532 EXT4_I(inode)->i_disksize = disksize; in mpage_map_and_submit_extent()
2533 up_write(&EXT4_I(inode)->i_data_sem); in mpage_map_and_submit_extent()
3113 if (!EXT4_I(inode)->i_reserved_data_blocks) in ext4_alloc_da_blocks()
3309 EXT4_I(inode)->i_datasync_tid)) in ext4_inode_datasync_dirty()
3312 return !list_empty(&EXT4_I(inode)->i_fc_list); in ext4_inode_datasync_dirty()
3945 if (EXT4_I(inode)->i_disksize >= size) in ext4_update_disksize_before_punch()
4111 down_write(&EXT4_I(inode)->i_data_sem); in ext4_punch_hole()
4117 up_write(&EXT4_I(inode)->i_data_sem); in ext4_punch_hole()
4128 up_write(&EXT4_I(inode)->i_data_sem); in ext4_punch_hole()
4151 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_inode_attach_jinode()
4204 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_truncate()
4267 down_write(&EXT4_I(inode)->i_data_sem); in ext4_truncate()
4307 if (unlikely(EXT4_I(inode)->i_flags & EXT4_EA_INODE_FL)) in ext4_inode_peek_iversion()
4359 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_fill_raw_inode()
4666 unsigned int flags = EXT4_I(inode)->i_flags; in ext4_set_inode_flags()
4733 EXT4_I(inode)->i_inline_off = 0; in ext4_iget_extra_inode()
4741 *projid = EXT4_I(inode)->i_projid; in ext4_get_projid()
4752 if (unlikely(EXT4_I(inode)->i_flags & EXT4_EA_INODE_FL)) in ext4_inode_set_iversion_queried()
4797 ei = EXT4_I(inode); in __ext4_iget()
5096 struct ext4_inode_info *ei = EXT4_I(inode); in __ext4_update_other_inode_time()
5152 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_do_update_inode()
5275 EXT4_I(inode)->i_sync_tid); in ext4_write_inode()
5422 down_read(&EXT4_I(inode)->xattr_sem); in ext4_setattr()
5424 up_read(&EXT4_I(inode)->xattr_sem); in ext4_setattr()
5515 down_write(&EXT4_I(inode)->i_data_sem); in ext4_setattr()
5516 old_disksize = EXT4_I(inode)->i_disksize; in ext4_setattr()
5517 EXT4_I(inode)->i_disksize = attr->ia_size; in ext4_setattr()
5529 EXT4_I(inode)->i_disksize = old_disksize; in ext4_setattr()
5530 up_write(&EXT4_I(inode)->i_data_sem); in ext4_setattr()
5606 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_getattr()
5691 EXT4_I(inode)->i_reserved_data_blocks); in ext4_file_getattr()
5848 struct ext4_inode_info *ei = EXT4_I(inode); in __ext4_expand_extra_isize()
5872 EXT4_I(inode)->i_extra_isize, 0, in __ext4_expand_extra_isize()
5873 new_extra_isize - EXT4_I(inode)->i_extra_isize); in __ext4_expand_extra_isize()
5874 EXT4_I(inode)->i_extra_isize = new_extra_isize; in __ext4_expand_extra_isize()
6007 if (EXT4_I(inode)->i_extra_isize < sbi->s_want_extra_isize) in __ext4_mark_inode_dirty()