Searched refs:b_lock (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/drivers/usb/mon/
H A Dmon_bin.c182 spinlock_t b_lock; /* Protect b_cnt, b_in */ member in struct:mon_reader_bin
289 * This is called under b_lock.
367 * This has to be called under both b_lock and fetch_lock, because
499 spin_lock_irqsave(&rp->b_lock, flags); mon_bin_event()
553 spin_unlock_irqrestore(&rp->b_lock, flags); mon_bin_event()
612 spin_unlock_irqrestore(&rp->b_lock, flags); mon_bin_event()
639 spin_lock_irqsave(&rp->b_lock, flags); mon_bin_error()
644 spin_unlock_irqrestore(&rp->b_lock, flags); mon_bin_error()
665 spin_unlock_irqrestore(&rp->b_lock, flags); mon_bin_error()
694 spin_lock_init(&rp->b_lock); mon_bin_open()
766 spin_lock_irqsave(&rp->b_lock, flags); mon_bin_get_event()
768 spin_unlock_irqrestore(&rp->b_lock, flags); mon_bin_get_event()
855 spin_lock_irqsave(&rp->b_lock, flags); mon_bin_read()
857 spin_unlock_irqrestore(&rp->b_lock, flags); mon_bin_read()
876 spin_lock_irqsave(&rp->b_lock, flags); mon_bin_flush()
884 spin_unlock_irqrestore(&rp->b_lock, flags); mon_bin_flush()
913 spin_lock_irqsave(&rp->b_lock, flags); mon_bin_fetch()
915 spin_unlock_irqrestore(&rp->b_lock, flags); mon_bin_fetch()
957 spin_lock_irqsave(&rp->b_lock, flags); mon_bin_queued()
959 spin_unlock_irqrestore(&rp->b_lock, flags); mon_bin_queued()
995 spin_lock_irqsave(&rp->b_lock, flags); mon_bin_ioctl()
1000 spin_unlock_irqrestore(&rp->b_lock, flags); mon_bin_ioctl()
1035 spin_lock_irqsave(&rp->b_lock, flags); mon_bin_ioctl()
1042 spin_unlock_irqrestore(&rp->b_lock, flags); mon_bin_ioctl()
1099 spin_lock_irqsave(&rp->b_lock, flags); mon_bin_ioctl()
1102 spin_unlock_irqrestore(&rp->b_lock, flags); mon_bin_ioctl()
1199 spin_lock_irqsave(&rp->b_lock, flags); mon_bin_poll()
1202 spin_unlock_irqrestore(&rp->b_lock, flags); mon_bin_poll()
1280 spin_lock_irqsave(&rp->b_lock, flags); mon_bin_wait_event()
1282 spin_unlock_irqrestore(&rp->b_lock, flags); mon_bin_wait_event()
1296 spin_lock_irqsave(&rp->b_lock, flags); mon_bin_wait_event()
1298 spin_unlock_irqrestore(&rp->b_lock, flags); mon_bin_wait_event()
/linux-4.4.14/fs/lockd/
H A Dclntlock.c38 struct file_lock * b_lock; /* local file lock */ member in struct:nlm_wait
105 block->b_lock = fl; nlmclnt_prepare_block()
175 struct file_lock *fl_blocked = block->b_lock; nlmclnt_grant()
/linux-4.4.14/fs/xfs/
H A Dxfs_buf.c105 spin_lock(&bp->b_lock); xfs_buf_stale()
112 spin_unlock(&bp->b_lock); xfs_buf_stale()
176 spin_lock_init(&bp->b_lock); _xfs_buf_alloc()
892 spin_lock(&bp->b_lock); xfs_buf_rele()
903 spin_unlock(&bp->b_lock); xfs_buf_rele()
917 spin_unlock(&bp->b_lock); xfs_buf_rele()
1114 spin_lock(&bp->b_lock); xfs_buf_bio_end_io()
1117 spin_unlock(&bp->b_lock); xfs_buf_bio_end_io()
1509 if (!spin_trylock(&bp->b_lock)) xfs_buftarg_wait_rele()
1519 spin_unlock(&bp->b_lock); xfs_buftarg_wait_rele()
1574 * we are inverting the lru lock/bp->b_lock here, so use a trylock. xfs_buftarg_isolate()
1577 if (!spin_trylock(&bp->b_lock)) xfs_buftarg_isolate()
1585 spin_unlock(&bp->b_lock); xfs_buftarg_isolate()
1591 spin_unlock(&bp->b_lock); xfs_buftarg_isolate()
H A Dxfs_buf.h161 spinlock_t b_lock; /* internal state lock */ member in struct:xfs_buf
/linux-4.4.14/fs/ocfs2/
H A Dblockcheck.c330 spin_lock(&stats->b_lock); ocfs2_blockcheck_inc_check()
333 spin_unlock(&stats->b_lock); ocfs2_blockcheck_inc_check()
346 spin_lock(&stats->b_lock); ocfs2_blockcheck_inc_failure()
349 spin_unlock(&stats->b_lock); ocfs2_blockcheck_inc_failure()
362 spin_lock(&stats->b_lock); ocfs2_blockcheck_inc_recover()
365 spin_unlock(&stats->b_lock); ocfs2_blockcheck_inc_recover()
H A Dblockcheck.h26 spinlock_t b_lock; member in struct:ocfs2_blockcheck_stats
H A Dsuper.c828 spin_lock_init(&stats->b_lock); ocfs2_sb_probe()

Completed in 629 milliseconds