Home
last modified time | relevance | path

Searched refs:bm_lock (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/block/drbd/
Ddrbd_bitmap.c85 spinlock_t bm_lock; member
442 spin_lock_init(&b->bm_lock); in drbd_bm_init()
653 spin_lock_irq(&b->bm_lock); in drbd_bm_resize()
663 spin_unlock_irq(&b->bm_lock); in drbd_bm_resize()
705 spin_lock_irq(&b->bm_lock); in drbd_bm_resize()
736 spin_unlock_irq(&b->bm_lock); in drbd_bm_resize()
767 spin_lock_irqsave(&b->bm_lock, flags); in _drbd_bm_total_weight()
769 spin_unlock_irqrestore(&b->bm_lock, flags); in _drbd_bm_total_weight()
830 spin_lock_irq(&b->bm_lock); in drbd_bm_merge_lel()
853 spin_unlock_irq(&b->bm_lock); in drbd_bm_merge_lel()
[all …]
/Linux-v5.4/fs/ocfs2/
Dsuper.c1622 struct ocfs2_dinode *bm_lock; in ocfs2_statfs() local
1645 bm_lock = (struct ocfs2_dinode *) bh->b_data; in ocfs2_statfs()
1647 numbits = le32_to_cpu(bm_lock->id1.bitmap1.i_total); in ocfs2_statfs()
1648 freebits = numbits - le32_to_cpu(bm_lock->id1.bitmap1.i_used); in ocfs2_statfs()
/Linux-v5.4/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2.h920 spinlock_t bm_lock[MVPP2_MAX_THREADS]; member
Dmvpp2_main.c665 spin_lock_irqsave(&port->bm_lock[thread], flags); in mvpp2_bm_pool_put()
694 spin_unlock_irqrestore(&port->bm_lock[thread], flags); in mvpp2_bm_pool_put()