Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/xfs/
Dxfs_buf.h141 struct semaphore b_sema; /* semaphore for lockables */ member
263 ((bp)->b_sema.count <= 0)
Dxfs_buf.c240 sema_init(&bp->b_sema, 0); /* held, no waiters */ in _xfs_buf_alloc()
1122 locked = down_trylock(&bp->b_sema) == 0; in xfs_buf_trylock()
1147 down(&bp->b_sema); in xfs_buf_lock()
1158 up(&bp->b_sema); in xfs_buf_unlock()
Dxfs_trace.h302 __entry->lockval = bp->b_sema.count;
371 __entry->lockval = bp->b_sema.count;
414 __entry->lockval = bp->b_sema.count;
458 __entry->buf_lockval = bip->bli_buf->b_sema.count;