Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm/kernel/
Dpatch.c19 static DEFINE_RAW_SPINLOCK(patch_lock);
22 __acquires(&patch_lock) in patch_map()
36 raw_spin_lock_irqsave(&patch_lock, *flags); in patch_map()
38 __acquire(&patch_lock); in patch_map()
46 __releases(&patch_lock) in patch_unmap()
51 raw_spin_unlock_irqrestore(&patch_lock, *flags); in patch_unmap()
53 __release(&patch_lock); in patch_unmap()
68 __acquire(&patch_lock); in __patch_text_real()
106 __release(&patch_lock); in __patch_text_real()
/Linux-v5.4/arch/parisc/kernel/
Dpatch.c24 static DEFINE_RAW_SPINLOCK(patch_lock);
44 raw_spin_lock_irqsave(&patch_lock, *flags); in patch_map()
46 __acquire(&patch_lock); in patch_map()
56 raw_spin_unlock_irqrestore(&patch_lock, *flags); in patch_unmap()
58 __release(&patch_lock); in patch_unmap()
/Linux-v5.4/arch/x86/kernel/
Dparavirt_patch.c70 struct patch_lock { struct
75 static const struct patch_lock patch_data_lock = { argument
/Linux-v5.4/arch/arm64/kernel/
Dinsn.c79 static DEFINE_RAW_SPINLOCK(patch_lock);
125 raw_spin_lock_irqsave(&patch_lock, flags); in __aarch64_insn_write()
131 raw_spin_unlock_irqrestore(&patch_lock, flags); in __aarch64_insn_write()