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()
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()
1900 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_write_begin()
1914 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_write_begin()
2085 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_write_end()
2223 down_write(&oi->ip_alloc_sem); in ocfs2_dio_wr_get_block()
2281 up_write(&oi->ip_alloc_sem); in ocfs2_dio_wr_get_block()
2321 down_write(&oi->ip_alloc_sem); in ocfs2_dio_end_io_write()
2391 up_write(&oi->ip_alloc_sem); in ocfs2_dio_end_io_write()