Home
last modified time | relevance | path

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

/linux-4.19.296/fs/xfs/
Dxfs_buf.h147 struct semaphore b_sema; /* semaphore for lockables */ member
287 ((bp)->b_sema.count <= 0)
Dxfs_buf.c243 sema_init(&bp->b_sema, 0); /* held, no waiters */ in _xfs_buf_alloc()
1118 locked = down_trylock(&bp->b_sema) == 0; in xfs_buf_trylock()
1143 down(&bp->b_sema); in xfs_buf_lock()
1154 up(&bp->b_sema); in xfs_buf_unlock()
Dxfs_trace.h287 __entry->lockval = bp->b_sema.count;
356 __entry->lockval = bp->b_sema.count;
399 __entry->lockval = bp->b_sema.count;
443 __entry->buf_lockval = bip->bli_buf->b_sema.count;