Home
last modified time | relevance | path

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

/Linux-v5.10/mm/
Dmemory-failure.c1507 struct memory_failure_cpu *mf_cpu; in memory_failure_queue() local
1514 mf_cpu = &get_cpu_var(memory_failure_cpu); in memory_failure_queue()
1515 spin_lock_irqsave(&mf_cpu->lock, proc_flags); in memory_failure_queue()
1516 if (kfifo_put(&mf_cpu->fifo, entry)) in memory_failure_queue()
1517 schedule_work_on(smp_processor_id(), &mf_cpu->work); in memory_failure_queue()
1521 spin_unlock_irqrestore(&mf_cpu->lock, proc_flags); in memory_failure_queue()
1528 struct memory_failure_cpu *mf_cpu; in memory_failure_work_func() local
1533 mf_cpu = container_of(work, struct memory_failure_cpu, work); in memory_failure_work_func()
1535 spin_lock_irqsave(&mf_cpu->lock, proc_flags); in memory_failure_work_func()
1536 gotten = kfifo_get(&mf_cpu->fifo, &entry); in memory_failure_work_func()
[all …]