Home
last modified time | relevance | path

Searched refs:device_lock (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/drivers/md/
Draid1.c68 md_spin_lock_irq(&conf->device_lock); in raid1_alloc_bh()
79 md_spin_unlock_irq(&conf->device_lock); in raid1_alloc_bh()
102 spin_lock_irqsave(&conf->device_lock, flags); in raid1_free_bh()
114 spin_unlock_irqrestore(&conf->device_lock, flags); in raid1_free_bh()
128 md_spin_lock_irq(&conf->device_lock); in raid1_grow_bh()
133 md_spin_unlock_irq(&conf->device_lock); in raid1_grow_bh()
144 md_spin_lock_irq(&conf->device_lock); in raid1_shrink_bh()
151 md_spin_unlock_irq(&conf->device_lock); in raid1_shrink_bh()
160 md_spin_lock_irq(&conf->device_lock); in raid1_alloc_r1bh()
169 md_spin_unlock_irq(&conf->device_lock); in raid1_alloc_r1bh()
[all …]
Draid5.c47 # define CHECK_DEVLOCK() if (!spin_is_locked(&conf->device_lock)) BUG()
94 spin_lock_irqsave(&conf->device_lock, flags); in release_stripe()
96 spin_unlock_irqrestore(&conf->device_lock, flags); in release_stripe()
255 md_spin_lock_irq(&conf->device_lock); in get_active_stripe()
273 conf->device_lock); in get_active_stripe()
279 conf->device_lock); in get_active_stripe()
308 conf->device_lock); in get_active_stripe()
329 md_spin_unlock_irq(&conf->device_lock); in get_active_stripe()
364 spin_lock_irq(&conf->device_lock); in shrink_stripes()
366 spin_unlock_irq(&conf->device_lock); in shrink_stripes()
[all …]
Dmultipath.c63 md_spin_lock_irq(&conf->device_lock); in multipath_alloc_mpbh()
72 md_spin_unlock_irq(&conf->device_lock); in multipath_alloc_mpbh()
96 spin_lock_irqsave(&conf->device_lock, flags); in multipath_free_mpbh()
100 spin_unlock_irqrestore(&conf->device_lock, flags); in multipath_free_mpbh()
128 md_spin_lock_irq(&conf->device_lock); in multipath_shrink_mpbh()
135 md_spin_unlock_irq(&conf->device_lock); in multipath_shrink_mpbh()
431 md_spin_lock_irq(&conf->device_lock); in multipath_diskop()
664 md_spin_unlock_irq(&conf->device_lock); in multipath_diskop()
949 conf->device_lock = MD_SPIN_LOCK_UNLOCKED; in multipath_run()
/linux-2.4.37.9/drivers/usb/
Dkaweth.c214 spinlock_t device_lock; member
512 spin_lock_irqsave(&kaweth->device_lock, flags); in kaweth_resubmit_rx_urb()
522 spin_unlock_irqrestore(&kaweth->device_lock, flags); in kaweth_resubmit_rx_urb()
638 spin_lock_irq(&kaweth->device_lock); in kaweth_close()
640 spin_unlock_irq(&kaweth->device_lock); in kaweth_close()
711 spin_lock(&kaweth->device_lock); in kaweth_start_xmit()
715 spin_unlock(&kaweth->device_lock); in kaweth_start_xmit()
733 spin_unlock(&kaweth->device_lock); in kaweth_start_xmit()
767 spin_unlock(&kaweth->device_lock); in kaweth_start_xmit()
883 spin_lock_init(&kaweth->device_lock); in kaweth_probe()
[all …]
/linux-2.4.37.9/include/linux/raid/
Dmultipath.h28 md_spinlock_t device_lock; member
Draid1.h35 md_spinlock_t device_lock; member
Draid5.h222 md_spinlock_t device_lock; member