Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/md/
Draid1.h98 spinlock_t resync_lock; member
Draid10.h79 seqlock_t resync_lock; member
Draid1.c873 spin_lock_irq(&conf->resync_lock); in raise_barrier()
878 conf->resync_lock); in raise_barrier()
904 conf->resync_lock); in raise_barrier()
908 spin_unlock_irq(&conf->resync_lock); in raise_barrier()
914 spin_unlock_irq(&conf->resync_lock); in raise_barrier()
973 spin_lock_irq(&conf->resync_lock); in _wait_barrier()
990 conf->resync_lock); in _wait_barrier()
995 spin_unlock_irq(&conf->resync_lock); in _wait_barrier()
1016 spin_lock_irq(&conf->resync_lock); in wait_read_barrier()
1033 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)
950 write_seqlock_irq(&conf->resync_lock); in raise_barrier()
965 write_sequnlock_irq(&conf->resync_lock); in raise_barrier()
972 write_seqlock_irqsave(&conf->resync_lock, flags); in lower_barrier()
974 write_sequnlock_irqrestore(&conf->resync_lock, flags); in lower_barrier()
1014 unsigned int seq = read_seqbegin(&conf->resync_lock); in wait_barrier_nolock()
1020 if (!read_seqretry(&conf->resync_lock, seq)) in wait_barrier_nolock()
1036 write_seqlock_irq(&conf->resync_lock); in wait_barrier()
1053 write_sequnlock_irq(&conf->resync_lock); in wait_barrier()
[all …]