Lines Matching refs:lock
477 int (*lock)(dev_t, void *), void *data) in blk_register_region()
479 kobj_map(bdev_map, devt, range, module, probe, lock, data); in blk_register_region()
1411 spinlock_t lock; member
1487 spin_lock_irqsave(&ev->lock, flags); in disk_block_events()
1489 spin_unlock_irqrestore(&ev->lock, flags); in disk_block_events()
1503 spin_lock_irqsave(&ev->lock, flags); in __disk_unblock_events()
1524 spin_unlock_irqrestore(&ev->lock, flags); in __disk_unblock_events()
1562 spin_lock_irq(&ev->lock); in disk_flush_events()
1567 spin_unlock_irq(&ev->lock); in disk_flush_events()
1603 spin_lock_irq(&ev->lock); in disk_clear_events()
1606 spin_unlock_irq(&ev->lock); in disk_clear_events()
1616 spin_lock_irq(&ev->lock); in disk_clear_events()
1619 spin_unlock_irq(&ev->lock); in disk_clear_events()
1651 spin_lock_irq(&ev->lock); in disk_check_events()
1662 spin_unlock_irq(&ev->lock); in disk_check_events()
1815 spin_lock_init(&ev->lock); in disk_alloc_events()