Home
last modified time | relevance | path

Searched refs:i_data_sem (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/fs/udf/
Dfile.c149 down_write(&iinfo->i_data_sem); in udf_file_write_iter()
163 up_write(&iinfo->i_data_sem); in udf_file_write_iter()
166 up_write(&iinfo->i_data_sem); in udf_file_write_iter()
235 down_write(&UDF_I(inode)->i_data_sem); in udf_release_file()
238 up_write(&UDF_I(inode)->i_data_sem); in udf_release_file()
Dsymlink.c123 down_read(&iinfo->i_data_sem); in udf_symlink_filler()
142 up_read(&iinfo->i_data_sem); in udf_symlink_filler()
148 up_read(&iinfo->i_data_sem); in udf_symlink_filler()
Dinode.c177 down_write(&iinfo->i_data_sem); in udf_write_failed()
180 up_write(&iinfo->i_data_sem); in udf_write_failed()
269 up_write(&iinfo->i_data_sem); in udf_expand_file_adinicb()
277 up_write(&iinfo->i_data_sem); in udf_expand_file_adinicb()
293 down_write(&iinfo->i_data_sem); in udf_expand_file_adinicb()
305 up_write(&iinfo->i_data_sem); in udf_expand_file_adinicb()
310 down_write(&iinfo->i_data_sem); in udf_expand_file_adinicb()
318 up_write(&iinfo->i_data_sem); in udf_expand_file_adinicb()
435 down_write(&iinfo->i_data_sem); in udf_get_block()
457 up_write(&iinfo->i_data_sem); in udf_get_block()
[all …]
Dudf_i.h51 struct rw_semaphore i_data_sem; member
Dnamei.c903 down_write(&iinfo->i_data_sem); in udf_symlink()
1022 up_write(&iinfo->i_data_sem); in udf_symlink()
1030 up_write(&iinfo->i_data_sem); in udf_symlink()
Dsuper.c150 init_rwsem(&ei->i_data_sem); in udf_alloc_inode()
/kernel/linux/linux-5.10/fs/ext4/
Dmigrate.c36 down_write(&EXT4_I(inode)->i_data_sem); in finish_range()
58 up_write((&EXT4_I(inode)->i_data_sem)); in finish_range()
307 down_write(&EXT4_I(inode)->i_data_sem); in ext4_ext_swap_inode_data()
315 up_write(&EXT4_I(inode)->i_data_sem); in ext4_ext_swap_inode_data()
338 up_write(&EXT4_I(inode)->i_data_sem); in ext4_ext_swap_inode_data()
497 down_read(&EXT4_I(inode)->i_data_sem); in ext4_ext_migrate()
499 up_read((&EXT4_I(inode)->i_data_sem)); in ext4_ext_migrate()
633 down_write(&EXT4_I(inode)->i_data_sem); in ext4_ind_migrate()
667 up_write(&EXT4_I(inode)->i_data_sem); in ext4_ind_migrate()
Dmove_extent.c54 down_write(&EXT4_I(first)->i_data_sem); in ext4_double_down_write_data_sem()
55 down_write_nested(&EXT4_I(second)->i_data_sem, I_DATA_SEM_OTHER); in ext4_double_down_write_data_sem()
57 down_write(&EXT4_I(second)->i_data_sem); in ext4_double_down_write_data_sem()
58 down_write_nested(&EXT4_I(first)->i_data_sem, I_DATA_SEM_OTHER); in ext4_double_down_write_data_sem()
74 up_write(&EXT4_I(orig_inode)->i_data_sem); in ext4_double_up_write_data_sem()
75 up_write(&EXT4_I(donor_inode)->i_data_sem); in ext4_double_up_write_data_sem()
Dextents.c104 up_write(&EXT4_I(inode)->i_data_sem); in ext4_ext_trunc_restart_fn()
127 down_write(&EXT4_I(inode)->i_data_sem); in ext4_datasem_ensure_credits()
171 WARN_ON(!rwsem_is_locked(&EXT4_I(inode)->i_data_sem)); in __ext4_ext_dirty()
601 down_read(&ei->i_data_sem); in ext4_ext_precache()
606 up_read(&ei->i_data_sem); in ext4_ext_precache()
613 up_read(&ei->i_data_sem); in ext4_ext_precache()
648 up_read(&ei->i_data_sem); in ext4_ext_precache()
5375 down_write(&EXT4_I(inode)->i_data_sem); in ext4_collapse_range()
5381 up_write(&EXT4_I(inode)->i_data_sem); in ext4_collapse_range()
5387 up_write(&EXT4_I(inode)->i_data_sem); in ext4_collapse_range()
[all …]
Dinode.c461 down_read(&EXT4_I(inode)->i_data_sem); in ext4_map_blocks_es_recheck()
467 up_read((&EXT4_I(inode)->i_data_sem)); in ext4_map_blocks_es_recheck()
568 down_read(&EXT4_I(inode)->i_data_sem); in ext4_map_blocks()
597 up_read((&EXT4_I(inode)->i_data_sem)); in ext4_map_blocks()
638 down_write(&EXT4_I(inode)->i_data_sem); in ext4_map_blocks()
723 up_write((&EXT4_I(inode)->i_data_sem)); in ext4_map_blocks()
1582 down_write(&EXT4_I(inode)->i_data_sem); in mpage_release_unused_pages()
1584 up_write(&EXT4_I(inode)->i_data_sem); in mpage_release_unused_pages()
1730 down_read(&EXT4_I(inode)->i_data_sem); in ext4_da_map_blocks()
1767 down_read(&EXT4_I(inode)->i_data_sem); in ext4_da_map_blocks()
[all …]
Dfile.c149 down_write(&EXT4_I(inode)->i_data_sem); in ext4_release_file()
151 up_write(&EXT4_I(inode)->i_data_sem); in ext4_release_file()
Dindirect.c708 up_write(&EXT4_I(inode)->i_data_sem); in ext4_ind_trunc_restart_fn()
733 down_write(&EXT4_I(inode)->i_data_sem); in ext4_ind_truncate_ensure_credits()
Dfast_commit.c1687 down_write(&EXT4_I(inode)->i_data_sem); in ext4_fc_replay_add_range()
1690 up_write((&EXT4_I(inode)->i_data_sem)); in ext4_fc_replay_add_range()
1794 down_write(&EXT4_I(inode)->i_data_sem); in ext4_fc_replay_del_range()
1798 up_write(&EXT4_I(inode)->i_data_sem); in ext4_fc_replay_del_range()
Dinline.c1912 down_write(&EXT4_I(inode)->i_data_sem); in ext4_inline_data_truncate()
1959 up_write(&EXT4_I(inode)->i_data_sem); in ext4_inline_data_truncate()
Dext4.h1073 struct rw_semaphore i_data_sem; member
3260 down_write(&EXT4_I(inode)->i_data_sem); in ext4_update_i_disksize()
3263 up_write(&EXT4_I(inode)->i_data_sem); in ext4_update_i_disksize()
Dextents_status.c744 BUG_ON(!rwsem_is_locked(&EXT4_I(inode)->i_data_sem)); in ext4_es_insert_extent_check()
Dsuper.c1367 init_rwsem(&ei->i_data_sem); in init_once()
6343 lockdep_set_subclass(&ei->i_data_sem, subclass); in lockdep_set_quota_inode()