Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ocfs2/
Dfile.c467 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_truncate_file()
513 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()
1247 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_setattr()
1259 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_setattr()
1278 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_setattr()
2002 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()
295 if (down_read_trylock(&oi->ip_alloc_sem) == 0) { in ocfs2_read_folio()
303 down_read(&oi->ip_alloc_sem); in ocfs2_read_folio()
304 up_read(&oi->ip_alloc_sem); in ocfs2_read_folio()
332 up_read(&oi->ip_alloc_sem); in ocfs2_read_folio()
364 if (down_read_trylock(&oi->ip_alloc_sem) == 0) in ocfs2_readahead()
384 up_read(&oi->ip_alloc_sem); in ocfs2_readahead()
474 down_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_bmap()
482 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 down_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_read_virt_blocks()
979 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.c934 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_move_extents()
938 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.c2793 down_write(&oi->ip_alloc_sem); in ocfs2_expand_inline_dir()
3062 up_write(&oi->ip_alloc_sem); in ocfs2_expand_inline_dir()
3205 down_write(&OCFS2_I(dir)->ip_alloc_sem); in ocfs2_extend_dir()
3212 down_write(&OCFS2_I(dir)->ip_alloc_sem); in ocfs2_extend_dir()
3323 up_write(&OCFS2_I(dir)->ip_alloc_sem); in ocfs2_extend_dir()
Drefcounttree.c931 down_write(&oi->ip_alloc_sem); in ocfs2_try_remove_refcount_tree()
947 up_write(&oi->ip_alloc_sem); in ocfs2_try_remove_refcount_tree()
4254 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_reflink()
4257 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_reflink()
Dxattr.c2685 down_read(&oi->ip_alloc_sem); in ocfs2_xattr_ibody_find()
2687 up_read(&oi->ip_alloc_sem); in ocfs2_xattr_ibody_find()
2779 down_write(&oi->ip_alloc_sem); in ocfs2_xattr_ibody_set()
2800 up_write(&oi->ip_alloc_sem); in ocfs2_xattr_ibody_set()
4296 down_write(&oi->ip_alloc_sem); in ocfs2_xattr_create_index_block()
4359 up_write(&oi->ip_alloc_sem); in ocfs2_xattr_create_index_block()
Dsuper.c1682 init_rwsem(&oi->ip_alloc_sem); in ocfs2_inode_init_once()