Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Draid1.h98 spinlock_t resync_lock; member
Draid10.h79 seqlock_t resync_lock; member
Draid1.c877 spin_lock_irq(&conf->resync_lock); in raise_barrier()
882 conf->resync_lock); in raise_barrier()
908 conf->resync_lock); in raise_barrier()
912 spin_unlock_irq(&conf->resync_lock); in raise_barrier()
918 spin_unlock_irq(&conf->resync_lock); in raise_barrier()
977 spin_lock_irq(&conf->resync_lock); in _wait_barrier()
994 conf->resync_lock); in _wait_barrier()
999 spin_unlock_irq(&conf->resync_lock); in _wait_barrier()
1020 spin_lock_irq(&conf->resync_lock); in wait_read_barrier()
1037 conf->resync_lock); in wait_read_barrier()
[all …]
Draid10.c85 write_sequnlock_irq(&(conf)->resync_lock); \
88 #define cmd_after(conf) write_seqlock_irq(&(conf)->resync_lock)
954 write_seqlock_irq(&conf->resync_lock); in raise_barrier()
967 write_sequnlock_irq(&conf->resync_lock); in raise_barrier()
974 write_seqlock_irqsave(&conf->resync_lock, flags); in lower_barrier()
976 write_sequnlock_irqrestore(&conf->resync_lock, flags); in lower_barrier()
1009 unsigned int seq = read_seqbegin(&conf->resync_lock); in wait_barrier_nolock()
1015 if (!read_seqretry(&conf->resync_lock, seq)) in wait_barrier_nolock()
1031 write_seqlock_irq(&conf->resync_lock); in wait_barrier()
1048 write_sequnlock_irq(&conf->resync_lock); in wait_barrier()
[all …]