patch_instructions
int patch_instructions(u32 *addr, u32 *code, size_t len, bool repeat_instr);
ret = patch_instructions((u32 *)ool_stub, (u32 *)&ool_stub_template,
NOKPROBE_SYMBOL(patch_instructions);
check(!patch_instructions(addr32 + 1, &inst32, 12, true));
check(!patch_instructions((u32 *)(addr64 + 1), code, 24, true));
check(!patch_instructions(addr32 + 1, code, sizeof(code), false));
check(!patch_instructions(addr32 + 1, &inst32, 12, true));
check(!patch_instructions((u32 *)(addr64 + 1), code, 24, true));
check(!patch_instructions(addr32 + 1, code, sizeof(code), false));
err = patch_instructions(dst, src, len, false);
ret = patch_instructions(dst, &insn, len, true);