Home
last modified time | relevance | path

Searched refs:b_sema (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/fs/xfs/linux-2.6/
Dxfs_buf.c191 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()
Dxfs_buf.h140 struct semaphore b_sema; /* semaphore for lockables */ member