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

/linux-master/fs/xfs/
H A Dxfs_buf.h174 struct semaphore b_sema; /* semaphore for lockables */ member in struct:xfs_buf
178 * bt_lru_lock and not by b_sema
307 ((bp)->b_sema.count <= 0)
H A Dxfs_buf.c33 * b_sema (caller holds)
37 * b_sema (caller holds)
246 sema_init(&bp->b_sema, 0); /* held, no waiters */
1168 locked = down_trylock(&bp->b_sema) == 0;
1193 down(&bp->b_sema);
1204 up(&bp->b_sema);
H A Dxfs_trace.h445 __entry->lockval = bp->b_sema.count;
516 __entry->lockval = bp->b_sema.count;
559 __entry->lockval = bp->b_sema.count;
603 __entry->buf_lockval = bip->bli_buf->b_sema.count;
4720 __entry->lockval = bp->b_sema.count;

Completed in 171 milliseconds