Home
last modified time | relevance | path

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

/arch/arm/kernel/
Dpatch.c61 void *waddr = addr; in __patch_text_real() local
65 waddr = patch_map(addr, FIX_TEXT_POKE0, &flags); in __patch_text_real()
70 *(u16 *)waddr = __opcode_to_mem_thumb16(insn); in __patch_text_real()
75 u16 *addrh0 = waddr; in __patch_text_real()
76 u16 *addrh1 = waddr + 2; in __patch_text_real()
97 *(u32 *)waddr = insn; in __patch_text_real()
101 if (waddr != addr) { in __patch_text_real()
102 flush_kernel_vmap_range(waddr, twopage ? size / 2 : size); in __patch_text_real()
/arch/arm64/kernel/
Dinsn.c131 void *waddr = addr; in __aarch64_insn_write() local
136 waddr = patch_map(addr, FIX_TEXT_POKE0); in __aarch64_insn_write()
138 ret = probe_kernel_write(waddr, &insn, AARCH64_INSN_SIZE); in __aarch64_insn_write()