Home
last modified time | relevance | path

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

/linux-6.12.1/fs/ocfs2/
Dfile.c471 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_truncate_file()
517 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_truncate_file()
1072 down_write(&oi->ip_alloc_sem); in ocfs2_extend_file()
1080 up_write(&oi->ip_alloc_sem); in ocfs2_extend_file()
1086 up_write(&oi->ip_alloc_sem); in ocfs2_extend_file()
1098 up_write(&oi->ip_alloc_sem); in ocfs2_extend_file()
1250 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_setattr()
1262 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_setattr()
1281 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_setattr()
2015 down_write(&OCFS2_I(inode)->ip_alloc_sem); in __ocfs2_change_file_space()
[all …]
Daops.c127 down_read(&oi->ip_alloc_sem); in ocfs2_lock_get_block()
129 up_read(&oi->ip_alloc_sem); in ocfs2_lock_get_block()
294 if (down_read_trylock(&oi->ip_alloc_sem) == 0) { in ocfs2_read_folio()
302 down_read(&oi->ip_alloc_sem); in ocfs2_read_folio()
303 up_read(&oi->ip_alloc_sem); in ocfs2_read_folio()
331 up_read(&oi->ip_alloc_sem); in ocfs2_read_folio()
363 if (down_read_trylock(&oi->ip_alloc_sem) == 0) in ocfs2_readahead()
383 up_read(&oi->ip_alloc_sem); in ocfs2_readahead()
470 down_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_bmap()
478 up_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_bmap()
[all …]
Dmmap.c142 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_page_mkwrite()
146 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_page_mkwrite()
Dextent_map.c755 down_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_fiemap()
810 up_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_fiemap()
881 down_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_seek_data_hole_offset()
949 up_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_seek_data_hole_offset()
976 if (!down_read_trylock(&OCFS2_I(inode)->ip_alloc_sem)) { in ocfs2_read_virt_blocks()
985 up_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_read_virt_blocks()
Dinode.h25 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.c251 lockdep_set_class(&OCFS2_I(inode)->ip_alloc_sem, in ocfs2_init_locked_inode()
254 lockdep_set_class(&OCFS2_I(inode)->ip_alloc_sem, in ocfs2_init_locked_inode()
1189 mlog_bug_on_msg(!down_write_trylock(&oi->ip_alloc_sem), in ocfs2_clear_inode()
1192 up_write(&oi->ip_alloc_sem); in ocfs2_clear_inode()
Dmove_extents.c925 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_move_extents()
929 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_move_extents()
Dquota_local.c1231 down_write(&OCFS2_I(lqinode)->ip_alloc_sem); in ocfs2_create_local_dquot()
1270 up_write(&OCFS2_I(lqinode)->ip_alloc_sem); in ocfs2_create_local_dquot()
Ddir.c2801 down_write(&oi->ip_alloc_sem); in ocfs2_expand_inline_dir()
3070 up_write(&oi->ip_alloc_sem); in ocfs2_expand_inline_dir()
3213 down_write(&OCFS2_I(dir)->ip_alloc_sem); in ocfs2_extend_dir()
3220 down_write(&OCFS2_I(dir)->ip_alloc_sem); in ocfs2_extend_dir()
3331 up_write(&OCFS2_I(dir)->ip_alloc_sem); in ocfs2_extend_dir()
Drefcounttree.c932 down_write(&oi->ip_alloc_sem); in ocfs2_try_remove_refcount_tree()
948 up_write(&oi->ip_alloc_sem); in ocfs2_try_remove_refcount_tree()
4270 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_reflink()
4273 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_reflink()
Dxattr.c2689 down_read(&oi->ip_alloc_sem); in ocfs2_xattr_ibody_find()
2691 up_read(&oi->ip_alloc_sem); in ocfs2_xattr_ibody_find()
2783 down_write(&oi->ip_alloc_sem); in ocfs2_xattr_ibody_set()
2804 up_write(&oi->ip_alloc_sem); in ocfs2_xattr_ibody_set()
4291 down_write(&oi->ip_alloc_sem); in ocfs2_xattr_create_index_block()
4354 up_write(&oi->ip_alloc_sem); in ocfs2_xattr_create_index_block()
Dsuper.c1683 init_rwsem(&oi->ip_alloc_sem); in ocfs2_inode_init_once()