Home
last modified time | relevance | path

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

/arch/arm/kernel/
Dpatch.c64 void *waddr = addr; in __patch_text_real() local
68 waddr = patch_map(addr, FIX_TEXT_POKE0, &flags); in __patch_text_real()
71 *(u16 *)waddr = __opcode_to_mem_thumb16(insn); in __patch_text_real()
76 u16 *addrh0 = waddr; in __patch_text_real()
77 u16 *addrh1 = waddr + 2; in __patch_text_real()
98 *(u32 *)waddr = insn; in __patch_text_real()
102 if (waddr != addr) { in __patch_text_real()
103 flush_kernel_vmap_range(waddr, twopage ? size / 2 : size); in __patch_text_real()
/arch/riscv/kernel/
Dpatch.c53 void *waddr = addr; in patch_insn_write() local
74 waddr = patch_map(addr, FIX_TEXT_POKE0); in patch_insn_write()
76 ret = copy_to_kernel_nofault(waddr, insn, len); in patch_insn_write()
/arch/arm64/kernel/
Dinsn.c141 void *waddr = addr; in __aarch64_insn_write() local
146 waddr = patch_map(addr, FIX_TEXT_POKE0); in __aarch64_insn_write()
148 ret = copy_to_kernel_nofault(waddr, &insn, AARCH64_INSN_SIZE); in __aarch64_insn_write()