Home
last modified time | relevance | path

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

/openbmc/linux/fs/ext4/
H A 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()
306 down_write(&EXT4_I(inode)->i_data_sem); in ext4_ext_swap_inode_data()
314 up_write(&EXT4_I(inode)->i_data_sem); in ext4_ext_swap_inode_data()
337 up_write(&EXT4_I(inode)->i_data_sem); in ext4_ext_swap_inode_data()
496 down_read(&EXT4_I(inode)->i_data_sem); in ext4_ext_migrate()
498 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()
666 up_write(&EXT4_I(inode)->i_data_sem); in ext4_ind_migrate()
H A Dmove_extent.c53 down_write(&EXT4_I(first)->i_data_sem); in ext4_double_down_write_data_sem()
54 down_write_nested(&EXT4_I(second)->i_data_sem, I_DATA_SEM_OTHER); in ext4_double_down_write_data_sem()
56 down_write(&EXT4_I(second)->i_data_sem); in ext4_double_down_write_data_sem()
57 down_write_nested(&EXT4_I(first)->i_data_sem, I_DATA_SEM_OTHER); in ext4_double_down_write_data_sem()
73 up_write(&EXT4_I(orig_inode)->i_data_sem); in ext4_double_up_write_data_sem()
74 up_write(&EXT4_I(donor_inode)->i_data_sem); in ext4_double_up_write_data_sem()
H A Dextents.c104 up_write(&EXT4_I(inode)->i_data_sem); in ext4_ext_trunc_restart_fn()
146 down_write(&EXT4_I(inode)->i_data_sem); in ext4_datasem_ensure_credits()
610 down_read(&ei->i_data_sem); in ext4_ext_precache()
615 up_read(&ei->i_data_sem); in ext4_ext_precache()
622 up_read(&ei->i_data_sem); in ext4_ext_precache()
657 up_read(&ei->i_data_sem); in ext4_ext_precache()
5415 up_write(&EXT4_I(inode)->i_data_sem); in ext4_collapse_range()
5423 up_write(&EXT4_I(inode)->i_data_sem); in ext4_collapse_range()
5431 up_write(&EXT4_I(inode)->i_data_sem); in ext4_collapse_range()
5599 up_write(&EXT4_I(inode)->i_data_sem); in ext4_insert_range()
[all …]
H A Dinode.c430 down_read(&EXT4_I(inode)->i_data_sem); in ext4_map_blocks_es_recheck()
436 up_read((&EXT4_I(inode)->i_data_sem)); in ext4_map_blocks_es_recheck()
575 down_read(&EXT4_I(inode)->i_data_sem); in ext4_map_blocks()
602 up_read((&EXT4_I(inode)->i_data_sem)); in ext4_map_blocks()
643 down_write(&EXT4_I(inode)->i_data_sem); in ext4_map_blocks()
714 up_write((&EXT4_I(inode)->i_data_sem)); in ext4_map_blocks()
1600 up_write(&EXT4_I(inode)->i_data_sem); in mpage_release_unused_pages()
1774 down_read(&EXT4_I(inode)->i_data_sem); in ext4_da_map_blocks()
1779 up_read(&EXT4_I(inode)->i_data_sem); in ext4_da_map_blocks()
1806 up_write(&EXT4_I(inode)->i_data_sem); in ext4_da_map_blocks()
[all …]
H A Dfile.c176 down_write(&EXT4_I(inode)->i_data_sem); in ext4_release_file()
178 up_write(&EXT4_I(inode)->i_data_sem); in ext4_release_file()
H A Dfast_commit.c1808 down_write(&EXT4_I(inode)->i_data_sem); in ext4_fc_replay_add_range()
1811 up_write((&EXT4_I(inode)->i_data_sem)); in ext4_fc_replay_add_range()
1914 down_write(&EXT4_I(inode)->i_data_sem); in ext4_fc_replay_del_range()
1918 up_write(&EXT4_I(inode)->i_data_sem); in ext4_fc_replay_del_range()
H A Dindirect.c718 up_write(&EXT4_I(inode)->i_data_sem); in ext4_ind_trunc_restart_fn()
743 down_write(&EXT4_I(inode)->i_data_sem); in ext4_ind_truncate_ensure_credits()
H A Dinline.c1949 down_write(&EXT4_I(inode)->i_data_sem); in ext4_inline_data_truncate()
2004 up_write(&EXT4_I(inode)->i_data_sem); in ext4_inline_data_truncate()
H A Dext4.h1080 struct rw_semaphore i_data_sem; member
3370 down_write(&EXT4_I(inode)->i_data_sem); in ext4_update_i_disksize()
3373 up_write(&EXT4_I(inode)->i_data_sem); in ext4_update_i_disksize()
H A Dextents_status.c774 BUG_ON(!rwsem_is_locked(&EXT4_I(inode)->i_data_sem)); in ext4_es_insert_extent_check()
H A Dxattr.c128 lockdep_set_subclass(&ei->i_data_sem, I_DATA_SEM_EA); in ext4_xattr_inode_set_class()
H A Dsuper.c1488 init_rwsem(&ei->i_data_sem); in init_once()
6974 lockdep_set_subclass(&ei->i_data_sem, subclass); in lockdep_set_quota_inode()
/openbmc/linux/fs/udf/
H A Dfile.c114 down_write(&iinfo->i_data_sem); in udf_file_write_iter()
116 up_write(&iinfo->i_data_sem); in udf_file_write_iter()
183 down_write(&UDF_I(inode)->i_data_sem); in udf_release_file()
186 up_write(&UDF_I(inode)->i_data_sem); in udf_release_file()
H A Dinode.c176 down_write(&iinfo->i_data_sem); in udf_write_failed()
179 up_write(&iinfo->i_data_sem); in udf_write_failed()
355 up_write(&iinfo->i_data_sem); in udf_expand_file_adinicb()
367 down_write(&iinfo->i_data_sem); in udf_expand_file_adinicb()
377 up_write(&iinfo->i_data_sem); in udf_expand_file_adinicb()
388 up_write(&iinfo->i_data_sem); in udf_expand_file_adinicb()
425 down_read(&iinfo->i_data_sem); in udf_map_block()
437 up_read(&iinfo->i_data_sem); in udf_map_block()
443 down_write(&iinfo->i_data_sem); in udf_map_block()
452 up_write(&iinfo->i_data_sem); in udf_map_block()
[all …]
H A Dudf_i.h52 struct rw_semaphore i_data_sem; member
H A Dnamei.c590 down_write(&iinfo->i_data_sem); in udf_symlink()
714 up_write(&iinfo->i_data_sem); in udf_symlink()
722 up_write(&iinfo->i_data_sem); in udf_symlink()
H A Dsuper.c154 init_rwsem(&ei->i_data_sem); in udf_alloc_inode()