Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/ocfs2/
Dfile.c469 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_truncate_file()
515 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()
1251 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_setattr()
1263 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_setattr()
1282 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_setattr()
2005 down_write(&OCFS2_I(inode)->ip_alloc_sem); in __ocfs2_change_file_space()
[all …]
Daops.c129 down_read(&oi->ip_alloc_sem); in ocfs2_lock_get_block()
131 up_read(&oi->ip_alloc_sem); in ocfs2_lock_get_block()
298 if (down_read_trylock(&oi->ip_alloc_sem) == 0) { in ocfs2_readpage()
306 down_read(&oi->ip_alloc_sem); in ocfs2_readpage()
307 up_read(&oi->ip_alloc_sem); in ocfs2_readpage()
335 up_read(&oi->ip_alloc_sem); in ocfs2_readpage()
367 if (down_read_trylock(&oi->ip_alloc_sem) == 0) in ocfs2_readahead()
387 up_read(&oi->ip_alloc_sem); in ocfs2_readahead()
477 down_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_bmap()
485 up_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_bmap()
[all …]
Dmmap.c144 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_page_mkwrite()
148 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_page_mkwrite()
Dextent_map.c757 down_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_fiemap()
812 up_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_fiemap()
883 down_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_seek_data_hole_offset()
951 up_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_seek_data_hole_offset()
978 down_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_read_virt_blocks()
981 up_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_read_virt_blocks()
Dinode.h27 struct rw_semaphore ip_alloc_sem; member
Dquota_global.c314 down_write(&OCFS2_I(oinfo->dqi_gqinode)->ip_alloc_sem); in ocfs2_lock_global_qf()
316 down_read(&OCFS2_I(oinfo->dqi_gqinode)->ip_alloc_sem); in ocfs2_lock_global_qf()
324 up_write(&OCFS2_I(oinfo->dqi_gqinode)->ip_alloc_sem); in ocfs2_unlock_global_qf()
327 up_read(&OCFS2_I(oinfo->dqi_gqinode)->ip_alloc_sem); in ocfs2_unlock_global_qf()
Dinode.c253 lockdep_set_class(&OCFS2_I(inode)->ip_alloc_sem, in ocfs2_init_locked_inode()
256 lockdep_set_class(&OCFS2_I(inode)->ip_alloc_sem, in ocfs2_init_locked_inode()
1191 mlog_bug_on_msg(!down_write_trylock(&oi->ip_alloc_sem), in ocfs2_clear_inode()
1194 up_write(&oi->ip_alloc_sem); in ocfs2_clear_inode()
Dmove_extents.c936 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_move_extents()
940 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_move_extents()
Dquota_local.c1227 down_write(&OCFS2_I(lqinode)->ip_alloc_sem); in ocfs2_create_local_dquot()
1262 up_write(&OCFS2_I(lqinode)->ip_alloc_sem); in ocfs2_create_local_dquot()
Ddir.c2795 down_write(&oi->ip_alloc_sem); in ocfs2_expand_inline_dir()
3064 up_write(&oi->ip_alloc_sem); in ocfs2_expand_inline_dir()
3207 down_write(&OCFS2_I(dir)->ip_alloc_sem); in ocfs2_extend_dir()
3214 down_write(&OCFS2_I(dir)->ip_alloc_sem); in ocfs2_extend_dir()
3325 up_write(&OCFS2_I(dir)->ip_alloc_sem); in ocfs2_extend_dir()
Drefcounttree.c933 down_write(&oi->ip_alloc_sem); in ocfs2_try_remove_refcount_tree()
949 up_write(&oi->ip_alloc_sem); in ocfs2_try_remove_refcount_tree()
4284 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_reflink()
4287 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_reflink()
Dxattr.c2687 down_read(&oi->ip_alloc_sem); in ocfs2_xattr_ibody_find()
2689 up_read(&oi->ip_alloc_sem); in ocfs2_xattr_ibody_find()
2781 down_write(&oi->ip_alloc_sem); in ocfs2_xattr_ibody_set()
2802 up_write(&oi->ip_alloc_sem); in ocfs2_xattr_ibody_set()
4298 down_write(&oi->ip_alloc_sem); in ocfs2_xattr_create_index_block()
4361 up_write(&oi->ip_alloc_sem); in ocfs2_xattr_create_index_block()
Dsuper.c1687 init_rwsem(&oi->ip_alloc_sem); in ocfs2_inode_init_once()