Lines Matching refs:ip_alloc_sem
127 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()
1903 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_write_begin()
1917 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_write_begin()
2073 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_write_end()
2211 down_write(&oi->ip_alloc_sem); in ocfs2_dio_wr_get_block()
2269 up_write(&oi->ip_alloc_sem); in ocfs2_dio_wr_get_block()
2311 down_write(&oi->ip_alloc_sem); in ocfs2_dio_end_io_write()
2376 up_write(&oi->ip_alloc_sem); in ocfs2_dio_end_io_write()