Searched refs:b_sema (Results 1 – 2 of 2) sorted by relevance
191 sema_init(&bp->b_sema, 0); /* held, no waiters */ in _xfs_buf_initialize()884 locked = down_trylock(&bp->b_sema) == 0; in xfs_buf_cond_lock()898 return bp->b_sema.count; in xfs_buf_lock_value()918 down(&bp->b_sema); in xfs_buf_lock()942 up(&bp->b_sema); in xfs_buf_unlock()
140 struct semaphore b_sema; /* semaphore for lockables */ member