Lines Matching refs:addr
15 void *addr;
22 static void __kprobes *patch_map(void *addr, int fixmap, unsigned long *flags)
24 unsigned int uintaddr = (uintptr_t) addr;
29 page = vmalloc_to_page(addr);
31 page = virt_to_page(addr);
33 return addr;
51 static void __kprobes *patch_map(void *addr, int fixmap, unsigned long *flags)
53 return addr;
58 void __kprobes __patch_text_real(void *addr, unsigned int insn, bool remap)
61 unsigned int uintaddr = (uintptr_t) addr;
64 void *waddr = addr;
68 waddr = patch_map(addr, FIX_TEXT_POKE0, &flags);
81 addrh1 = patch_map(addr + 2, FIX_TEXT_POKE1, NULL);
86 if (twopage && addrh1 != addr + 2) {
102 if (waddr != addr) {
107 flush_icache_range((uintptr_t)(addr),
108 (uintptr_t)(addr) + size);
115 __patch_text(patch->addr, patch->insn);
120 void __kprobes patch_text(void *addr, unsigned int insn)
123 .addr = addr,