Home
last modified time | relevance | path

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

/Linux-v5.15/kernel/irq/
Dgeneric-chip.c19 static DEFINE_RAW_SPINLOCK(gc_lock);
333 raw_spin_lock_irqsave(&gc_lock, flags); in __irq_alloc_domain_generic_chips()
335 raw_spin_unlock_irqrestore(&gc_lock, flags); in __irq_alloc_domain_generic_chips()
478 raw_spin_lock(&gc_lock); in irq_setup_generic_chip()
480 raw_spin_unlock(&gc_lock); in irq_setup_generic_chip()
546 raw_spin_lock(&gc_lock); in irq_remove_generic_chip()
548 raw_spin_unlock(&gc_lock); in irq_remove_generic_chip()
/Linux-v5.15/fs/f2fs/
Dgc.c95 down_write(&sbi->gc_lock); in gc_thread_func()
100 down_write(&sbi->gc_lock); in gc_thread_func()
102 } else if (!down_write_trylock(&sbi->gc_lock)) { in gc_thread_func()
109 up_write(&sbi->gc_lock); in gc_thread_func()
1792 up_write(&sbi->gc_lock); in f2fs_gc()
2016 if (!down_write_trylock(&sbi->gc_lock)) in f2fs_resize_fs()
2036 up_write(&sbi->gc_lock); in f2fs_resize_fs()
2043 down_write(&sbi->gc_lock); in f2fs_resize_fs()
2090 up_write(&sbi->gc_lock); in f2fs_resize_fs()
Dcheckpoint.c1746 down_write(&sbi->gc_lock); in __write_checkpoint_sync()
1748 up_write(&sbi->gc_lock); in __write_checkpoint_sync()
1836 down_write(&sbi->gc_lock); in f2fs_issue_checkpoint()
1838 up_write(&sbi->gc_lock); in f2fs_issue_checkpoint()
Dsuper.c2048 down_write(&sbi->gc_lock); in f2fs_disable_checkpoint()
2070 down_write(&sbi->gc_lock); in f2fs_disable_checkpoint()
2082 up_write(&sbi->gc_lock); in f2fs_disable_checkpoint()
2102 down_write(&sbi->gc_lock); in f2fs_enable_checkpoint()
2107 up_write(&sbi->gc_lock); in f2fs_enable_checkpoint()
3997 init_rwsem(&sbi->gc_lock); in f2fs_fill_super()
Dfile.c1676 down_write(&sbi->gc_lock); in expand_inode_data()
2444 if (!down_write_trylock(&sbi->gc_lock)) { in f2fs_ioc_gc()
2449 down_write(&sbi->gc_lock); in f2fs_ioc_gc()
2480 if (!down_write_trylock(&sbi->gc_lock)) { in __f2fs_ioc_gc_range()
2485 down_write(&sbi->gc_lock); in __f2fs_ioc_gc_range()
2935 if (!down_write_trylock(&sbi->gc_lock)) { in f2fs_ioc_flush_device()
Dsegment.c526 down_write(&sbi->gc_lock); in f2fs_balance_fs()
3163 down_write(&sbi->gc_lock); in f2fs_trim_fs()
3165 up_write(&sbi->gc_lock); in f2fs_trim_fs()
Df2fs.h1663 struct rw_semaphore gc_lock; /* member