• Home
  • Raw
  • Download

Lines Matching refs:bundle

307 	bundle_t *bundle = &p->opcode.bundle;  in prepare_break_inst()  local
317 bundle->quad0.slot0 = break_inst; in prepare_break_inst()
320 bundle->quad0.slot1_p0 = break_inst; in prepare_break_inst()
321 bundle->quad1.slot1_p1 = break_inst >> (64-46); in prepare_break_inst()
324 bundle->quad1.slot2 = break_inst; in prepare_break_inst()
336 static void __kprobes get_kprobe_inst(bundle_t *bundle, uint slot, in get_kprobe_inst() argument
342 template = bundle->quad0.template; in get_kprobe_inst()
346 *major_opcode = (bundle->quad0.slot0 >> SLOT0_OPCODE_SHIFT); in get_kprobe_inst()
347 *kprobe_inst = bundle->quad0.slot0; in get_kprobe_inst()
350 *major_opcode = (bundle->quad1.slot1_p1 >> SLOT1_p1_OPCODE_SHIFT); in get_kprobe_inst()
351 kprobe_inst_p0 = bundle->quad0.slot1_p0; in get_kprobe_inst()
352 kprobe_inst_p1 = bundle->quad1.slot1_p1; in get_kprobe_inst()
356 *major_opcode = (bundle->quad1.slot2 >> SLOT2_OPCODE_SHIFT); in get_kprobe_inst()
357 *kprobe_inst = bundle->quad1.slot2; in get_kprobe_inst()
512 static int __kprobes __is_ia64_break_inst(bundle_t *bundle, uint slot) in __is_ia64_break_inst() argument
515 unsigned int template = bundle->quad0.template; in __is_ia64_break_inst()
523 get_kprobe_inst(bundle, slot, &kprobe_inst, &major_opcode); in __is_ia64_break_inst()
543 static int __kprobes can_boost(bundle_t *bundle, uint slot, in can_boost() argument
546 unsigned int template = bundle->quad0.template; in can_boost()
550 __is_ia64_break_inst(bundle, slot)) in can_boost()
569 if (can_boost(&p->ainsn.insn[0].bundle, slot, addr)) { in prepare_booster()
570 set_brl_inst(&p->ainsn.insn[1].bundle, (bundle_t *)addr + 1); in prepare_booster()
588 bundle_t *bundle; in arch_prepare_kprobe() local
591 bundle = &((kprobe_opcode_t *)kprobe_addr)->bundle; in arch_prepare_kprobe()
592 template = bundle->quad0.template; in arch_prepare_kprobe()
602 get_kprobe_inst(bundle, slot, &kprobe_inst, &major_opcode); in arch_prepare_kprobe()
627 dest = &((kprobe_opcode_t *)arm_addr)->bundle; in arch_arm_kprobe()
628 src = &p->opcode.bundle; in arch_arm_kprobe()
654 dest = &((kprobe_opcode_t *)arm_addr)->bundle; in arch_disarm_kprobe()
656 src = &p->ainsn.insn->bundle; in arch_disarm_kprobe()
689 unsigned long bundle_addr = (unsigned long) (&p->ainsn.insn->bundle); in resume_execution()
694 template = p->ainsn.insn->bundle.quad0.template; in resume_execution()
757 unsigned long bundle_addr = (unsigned long) &p->ainsn.insn->bundle; in prepare_ss()
779 bundle_t bundle; in is_ia64_break_inst() local
781 memcpy(&bundle, kprobe_addr, sizeof(bundle_t)); in is_ia64_break_inst()
783 return __is_ia64_break_inst(&bundle, slot); in is_ia64_break_inst()
877 regs->cr_iip = (unsigned long)&p->ainsn.insn->bundle & ~0xFULL; in pre_kprobes_handler()