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()
296 if (down_read_trylock(&oi->ip_alloc_sem) == 0) { in ocfs2_readpage()
304 down_read(&oi->ip_alloc_sem); in ocfs2_readpage()
305 up_read(&oi->ip_alloc_sem); in ocfs2_readpage()
333 up_read(&oi->ip_alloc_sem); in ocfs2_readpage()
365 if (down_read_trylock(&oi->ip_alloc_sem) == 0) in ocfs2_readahead()
385 up_read(&oi->ip_alloc_sem); in ocfs2_readahead()
475 down_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_bmap()
483 up_read(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_bmap()
1904 down_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_write_begin()
1918 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_write_begin()
2074 up_write(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_write_end()
2212 down_write(&oi->ip_alloc_sem); in ocfs2_dio_wr_get_block()
2270 up_write(&oi->ip_alloc_sem); in ocfs2_dio_wr_get_block()
2312 down_write(&oi->ip_alloc_sem); in ocfs2_dio_end_io_write()
2377 up_write(&oi->ip_alloc_sem); in ocfs2_dio_end_io_write()