Lines Matching refs:patch_instruction
192 int patch_instruction(unsigned int *addr, unsigned int instr) in patch_instruction() function
201 NOKPROBE_SYMBOL(patch_instruction);
205 return patch_instruction(addr, create_branch(addr, target, flags)); in patch_branch()
213 return patch_instruction(addr, create_branch(addr, target, flags)); in patch_branch_site()
221 return patch_instruction(addr, instr); in patch_instruction_site()
509 patch_instruction(iptr, create_branch(iptr, dest, BRANCH_SET_LINK)); in test_create_function_call()
600 patch_instruction(q, translate_branch(q, p)); in test_translate_branch()
608 patch_instruction(q, translate_branch(q, p)); in test_translate_branch()
618 patch_instruction(q, translate_branch(q, p)); in test_translate_branch()
628 patch_instruction(q, translate_branch(q, p)); in test_translate_branch()
637 patch_instruction(q, translate_branch(q, p)); in test_translate_branch()
647 patch_instruction(p, create_cond_branch(p, addr, 0)); in test_translate_branch()
650 patch_instruction(q, translate_branch(q, p)); in test_translate_branch()
656 patch_instruction(p, create_cond_branch(p, addr, 0xFFFFFFFC)); in test_translate_branch()
658 patch_instruction(q, translate_branch(q, p)); in test_translate_branch()
666 patch_instruction(p, create_cond_branch(p, addr, 0xFFFFFFFC)); in test_translate_branch()
668 patch_instruction(q, translate_branch(q, p)); in test_translate_branch()
676 patch_instruction(p, create_cond_branch(p, addr, BRANCH_SET_LINK)); in test_translate_branch()
678 patch_instruction(q, translate_branch(q, p)); in test_translate_branch()
685 patch_instruction(p, create_cond_branch(p, addr, 0)); in test_translate_branch()
687 patch_instruction(q, translate_branch(q, p)); in test_translate_branch()