Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_buf.h154 struct semaphore b_sema; /* semaphore for lockables */ member
289 ((bp)->b_sema.count <= 0)
Dxfs_buf.c175 sema_init(&bp->b_sema, 0); /* held, no waiters */ in _xfs_buf_alloc()
947 locked = down_trylock(&bp->b_sema) == 0; in xfs_buf_trylock()
972 down(&bp->b_sema); in xfs_buf_lock()
985 up(&bp->b_sema); in xfs_buf_unlock()
Dxfs_trace.h327 __entry->lockval = bp->b_sema.count;
401 __entry->lockval = bp->b_sema.count;
444 __entry->lockval = bp->b_sema.count;
489 __entry->buf_lockval = bip->bli_buf->b_sema.count;