Home
last modified time | relevance | path

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

/Linux-v5.15/mm/
Dmemory-failure.c1848 struct memory_failure_cpu *mf_cpu; in memory_failure_queue() local
1855 mf_cpu = &get_cpu_var(memory_failure_cpu); in memory_failure_queue()
1856 spin_lock_irqsave(&mf_cpu->lock, proc_flags); in memory_failure_queue()
1857 if (kfifo_put(&mf_cpu->fifo, entry)) in memory_failure_queue()
1858 schedule_work_on(smp_processor_id(), &mf_cpu->work); in memory_failure_queue()
1862 spin_unlock_irqrestore(&mf_cpu->lock, proc_flags); in memory_failure_queue()
1869 struct memory_failure_cpu *mf_cpu; in memory_failure_work_func() local
1874 mf_cpu = container_of(work, struct memory_failure_cpu, work); in memory_failure_work_func()
1876 spin_lock_irqsave(&mf_cpu->lock, proc_flags); in memory_failure_work_func()
1877 gotten = kfifo_get(&mf_cpu->fifo, &entry); in memory_failure_work_func()
[all …]