Lines Matching refs:addr
19 void *addr;
26 static void __kprobes *patch_map(void *addr, int fixmap, unsigned long *flags,
29 unsigned long uintaddr = (uintptr_t) addr;
35 page = vmalloc_to_page(addr);
37 page = virt_to_page(addr);
39 return addr;
55 void __kprobes __patch_text_multiple(void *addr, u32 *insn, unsigned int len)
57 unsigned long start = (unsigned long)addr;
58 unsigned long end = (unsigned long)addr + len;
68 p = fixmap = patch_map(addr, FIX_TEXT_POKE0, &flags, &mapped);
72 addr += sizeof(u32);
74 if (len && offset_in_page(addr) == 0) {
85 p = fixmap = patch_map(addr, FIX_TEXT_POKE0, &flags,
96 void __kprobes __patch_text(void *addr, u32 insn)
98 __patch_text_multiple(addr, &insn, sizeof(insn));
105 __patch_text_multiple(patch->addr, patch->insn, patch->len);
109 void __kprobes patch_text(void *addr, unsigned int insn)
112 .addr = addr,
120 void __kprobes patch_text_multiple(void *addr, u32 *insn, unsigned int len)
124 .addr = addr,