Home
last modified time | relevance | path

Searched refs:ip_alloc_sem (Results 1 – 13 of 13) sorted by relevance

/fs/ocfs2/
Daops.c299 if (down_read_trylock(&oi->ip_alloc_sem) == 0) { in ocfs2_readpage()
307 down_read(&oi->ip_alloc_sem); in ocfs2_readpage()
308 up_read(&oi->ip_alloc_sem); in ocfs2_readpage()
336 up_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_readpage()
371 if (down_read_trylock(&oi->ip_alloc_sem) == 0) { in ocfs2_readpages()
395 up_read(&oi->ip_alloc_sem); in ocfs2_readpages()
477 down_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_bmap()
485 up_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_bmap()
1905 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_write_begin()
1919 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_write_begin()
[all …]
Dmmap.c162 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_page_mkwrite()
166 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_page_mkwrite()
Dextent_map.c772 down_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_fiemap()
827 up_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_fiemap()
854 down_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_seek_data_hole_offset()
922 up_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_seek_data_hole_offset()
949 down_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_read_virt_blocks()
952 up_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_read_virt_blocks()
Dfile.c481 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_truncate_file()
523 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_truncate_file()
1088 down_write(&oi->ip_alloc_sem); in ocfs2_extend_file()
1096 up_write(&oi->ip_alloc_sem); in ocfs2_extend_file()
1102 up_write(&oi->ip_alloc_sem); in ocfs2_extend_file()
1114 up_write(&oi->ip_alloc_sem); in ocfs2_extend_file()
1920 down_write(&OCFS2_I(inode)->ip_alloc_sem); in __ocfs2_change_file_space()
1939 up_write(&OCFS2_I(inode)->ip_alloc_sem); in __ocfs2_change_file_space()
Dinode.h41 struct rw_semaphore ip_alloc_sem; member
Dquota_global.c312 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()
Dinode.c266 lockdep_set_class(&OCFS2_I(inode)->ip_alloc_sem, in ocfs2_init_locked_inode()
269 lockdep_set_class(&OCFS2_I(inode)->ip_alloc_sem, in ocfs2_init_locked_inode()
1206 mlog_bug_on_msg(!down_write_trylock(&oi->ip_alloc_sem), in ocfs2_clear_inode()
1209 up_write(&oi->ip_alloc_sem); in ocfs2_clear_inode()
Dmove_extents.c928 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_move_extents()
932 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_move_extents()
Dquota_local.c1229 down_write(&OCFS2_I(lqinode)->ip_alloc_sem); in ocfs2_create_local_dquot()
1264 up_write(&OCFS2_I(lqinode)->ip_alloc_sem); in ocfs2_create_local_dquot()
Ddir.c2821 down_write(&oi->ip_alloc_sem); in ocfs2_expand_inline_dir()
3090 up_write(&oi->ip_alloc_sem); in ocfs2_expand_inline_dir()
3233 down_write(&OCFS2_I(dir)->ip_alloc_sem); in ocfs2_extend_dir()
3240 down_write(&OCFS2_I(dir)->ip_alloc_sem); in ocfs2_extend_dir()
3351 up_write(&OCFS2_I(dir)->ip_alloc_sem); in ocfs2_extend_dir()
Drefcounttree.c939 down_write(&oi->ip_alloc_sem); in ocfs2_try_remove_refcount_tree()
955 up_write(&oi->ip_alloc_sem); in ocfs2_try_remove_refcount_tree()
4277 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_reflink()
4280 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_reflink()
Dxattr.c2691 down_read(&oi->ip_alloc_sem); in ocfs2_xattr_ibody_find()
2693 up_read(&oi->ip_alloc_sem); in ocfs2_xattr_ibody_find()
2785 down_write(&oi->ip_alloc_sem); in ocfs2_xattr_ibody_set()
2806 up_write(&oi->ip_alloc_sem); in ocfs2_xattr_ibody_set()
4303 down_write(&oi->ip_alloc_sem); in ocfs2_xattr_create_index_block()
4366 up_write(&oi->ip_alloc_sem); in ocfs2_xattr_create_index_block()
Dsuper.c1731 init_rwsem(&oi->ip_alloc_sem); in ocfs2_inode_init_once()