Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_buf.h142 struct semaphore b_sema; /* semaphore for lockables */ member
265 ((bp)->b_sema.count <= 0)
Dxfs_buf.c237 sema_init(&bp->b_sema, 0); /* held, no waiters */ in _xfs_buf_alloc()
1055 locked = down_trylock(&bp->b_sema) == 0; in xfs_buf_trylock()
1080 down(&bp->b_sema); in xfs_buf_lock()
1091 up(&bp->b_sema); in xfs_buf_unlock()
Dxfs_trace.h429 __entry->lockval = bp->b_sema.count;
498 __entry->lockval = bp->b_sema.count;
541 __entry->lockval = bp->b_sema.count;
585 __entry->buf_lockval = bip->bli_buf->b_sema.count;