Searched refs:ip_alloc_sem (Results 1 – 13 of 13) sorted by relevance
158 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_page_mkwrite()162 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_page_mkwrite()
294 if (down_read_trylock(&oi->ip_alloc_sem) == 0) { in ocfs2_readpage()302 down_read(&oi->ip_alloc_sem); in ocfs2_readpage()303 up_read(&oi->ip_alloc_sem); in ocfs2_readpage()331 up_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_readpage()366 if (down_read_trylock(&oi->ip_alloc_sem) == 0) { in ocfs2_readpages()390 up_read(&oi->ip_alloc_sem); in ocfs2_readpages()472 down_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_bmap()480 up_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_bmap()1934 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_write_begin()1948 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_write_begin()[all …]
770 down_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_fiemap()825 up_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_fiemap()852 down_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_seek_data_hole_offset()920 up_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_seek_data_hole_offset()947 down_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_read_virt_blocks()950 up_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_read_virt_blocks()
41 struct rw_semaphore ip_alloc_sem; member
477 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_truncate_file()519 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_truncate_file()1077 down_write(&oi->ip_alloc_sem); in ocfs2_extend_file()1085 up_write(&oi->ip_alloc_sem); in ocfs2_extend_file()1091 up_write(&oi->ip_alloc_sem); in ocfs2_extend_file()1103 up_write(&oi->ip_alloc_sem); in ocfs2_extend_file()1929 down_write(&OCFS2_I(inode)->ip_alloc_sem); in __ocfs2_change_file_space()1948 up_write(&OCFS2_I(inode)->ip_alloc_sem); in __ocfs2_change_file_space()
312 down_write(&OCFS2_I(oinfo->dqi_gqinode)->ip_alloc_sem); in ocfs2_lock_global_qf()314 down_read(&OCFS2_I(oinfo->dqi_gqinode)->ip_alloc_sem); in ocfs2_lock_global_qf()322 up_write(&OCFS2_I(oinfo->dqi_gqinode)->ip_alloc_sem); in ocfs2_unlock_global_qf()325 up_read(&OCFS2_I(oinfo->dqi_gqinode)->ip_alloc_sem); in ocfs2_unlock_global_qf()
256 lockdep_set_class(&OCFS2_I(inode)->ip_alloc_sem, in ocfs2_init_locked_inode()259 lockdep_set_class(&OCFS2_I(inode)->ip_alloc_sem, in ocfs2_init_locked_inode()1155 mlog_bug_on_msg(!down_write_trylock(&oi->ip_alloc_sem), in ocfs2_clear_inode()1158 up_write(&oi->ip_alloc_sem); in ocfs2_clear_inode()
933 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_move_extents()937 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_move_extents()
1236 down_write(&OCFS2_I(lqinode)->ip_alloc_sem); in ocfs2_create_local_dquot()1271 up_write(&OCFS2_I(lqinode)->ip_alloc_sem); in ocfs2_create_local_dquot()
2832 down_write(&oi->ip_alloc_sem); in ocfs2_expand_inline_dir()3101 up_write(&oi->ip_alloc_sem); in ocfs2_expand_inline_dir()3244 down_write(&OCFS2_I(dir)->ip_alloc_sem); in ocfs2_extend_dir()3251 down_write(&OCFS2_I(dir)->ip_alloc_sem); in ocfs2_extend_dir()3362 up_write(&OCFS2_I(dir)->ip_alloc_sem); in ocfs2_extend_dir()
941 down_write(&oi->ip_alloc_sem); in ocfs2_try_remove_refcount_tree()957 up_write(&oi->ip_alloc_sem); in ocfs2_try_remove_refcount_tree()4297 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_reflink()4300 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_reflink()
2672 down_read(&oi->ip_alloc_sem); in ocfs2_xattr_ibody_find()2674 up_read(&oi->ip_alloc_sem); in ocfs2_xattr_ibody_find()2766 down_write(&oi->ip_alloc_sem); in ocfs2_xattr_ibody_set()2787 up_write(&oi->ip_alloc_sem); in ocfs2_xattr_ibody_set()4288 down_write(&oi->ip_alloc_sem); in ocfs2_xattr_create_index_block()4351 up_write(&oi->ip_alloc_sem); in ocfs2_xattr_create_index_block()
1750 init_rwsem(&oi->ip_alloc_sem); in ocfs2_inode_init_once()