Lines Matching refs:lock
55 local_lock_t lock; member
59 .lock = INIT_LOCAL_LOCK(lock),
67 local_lock_t lock; member
77 .lock = INIT_LOCAL_LOCK(lock),
265 local_lock_irqsave(&lru_rotate.lock, flags); in folio_rotate_reclaimable()
268 local_unlock_irqrestore(&lru_rotate.lock, flags); in folio_rotate_reclaimable()
362 local_lock(&cpu_fbatches.lock); in folio_activate()
365 local_unlock(&cpu_fbatches.lock); in folio_activate()
392 local_lock(&cpu_fbatches.lock); in __lru_cache_activate_folio()
414 local_unlock(&cpu_fbatches.lock); in __lru_cache_activate_folio()
519 local_lock(&cpu_fbatches.lock); in folio_add_lru()
522 local_unlock(&cpu_fbatches.lock); in folio_add_lru()
664 local_lock_irqsave(&lru_rotate.lock, flags); in lru_add_drain_cpu()
666 local_unlock_irqrestore(&lru_rotate.lock, flags); in lru_add_drain_cpu()
703 local_lock(&cpu_fbatches.lock); in deactivate_file_folio()
706 local_unlock(&cpu_fbatches.lock); in deactivate_file_folio()
724 local_lock(&cpu_fbatches.lock); in folio_deactivate()
727 local_unlock(&cpu_fbatches.lock); in folio_deactivate()
746 local_lock(&cpu_fbatches.lock); in folio_mark_lazyfree()
749 local_unlock(&cpu_fbatches.lock); in folio_mark_lazyfree()
755 local_lock(&cpu_fbatches.lock); in lru_add_drain()
757 local_unlock(&cpu_fbatches.lock); in lru_add_drain()
769 local_lock(&cpu_fbatches.lock); in lru_add_and_bh_lrus_drain()
771 local_unlock(&cpu_fbatches.lock); in lru_add_and_bh_lrus_drain()
778 local_lock(&cpu_fbatches.lock); in lru_add_drain_cpu_zone()
781 local_unlock(&cpu_fbatches.lock); in lru_add_drain_cpu_zone()
830 static DEFINE_MUTEX(lock); in __lru_add_drain_all()
856 mutex_lock(&lock); in __lru_add_drain_all()
904 mutex_unlock(&lock); in __lru_add_drain_all()