Lines Matching refs:template
72 brl->quad0.template = 0x05; /* [MLX](stop) */
85 static void __kprobes update_kprobe_inst_flag(uint template, uint slot,
105 if (bundle_encoding[template][slot] == B) {
121 } else if (bundle_encoding[template][slot] == X) {
138 static uint __kprobes is_cmp_ctype_unc_inst(uint template, uint slot,
145 if (!((bundle_encoding[template][slot] == I) ||
146 (bundle_encoding[template][slot] == M)))
174 static int __kprobes unsupported_inst(uint template, uint slot,
182 if (is_cmp_ctype_unc_inst(template, slot, major_opcode, kprobe_inst)) {
192 else if (bundle_encoding[template][slot] == I) {
231 else if (bundle_encoding[template][slot] == B) {
253 else if (unlikely(bundle_encoding[template][slot] == F)) {
285 static void __kprobes prepare_break_inst(uint template, uint slot,
318 update_kprobe_inst_flag(template, slot, major_opcode, kprobe_inst, p);
325 unsigned int template;
327 template = bundle->quad0.template;
354 static int __kprobes valid_kprobe_addr(int template, int slot,
357 if ((slot > 2) || ((bundle_encoding[template][1] == L) && slot > 1)) {
425 unsigned int template = bundle->quad0.template;
429 if (slot == 1 && bundle_encoding[template][1] == L)
456 unsigned int template = bundle->quad0.template;
463 template &= 0x1e;
464 if (template >= 0x10 /* including B unit */ ||
465 template == 0x04 /* including X unit */ ||
466 template == 0x06) /* undefined */
497 unsigned int slot = addr & 0xf, template, major_opcode = 0;
502 template = bundle->quad0.template;
504 if(valid_kprobe_addr(template, slot, addr))
508 if (slot == 1 && bundle_encoding[template][1] == L)
514 qp = unsupported_inst(template, slot, major_opcode, kprobe_inst, addr);
524 prepare_break_inst(template, slot, major_opcode, kprobe_inst, p, qp);
601 unsigned long template;
604 template = p->ainsn.insn->bundle.quad0.template;
606 if (slot == 1 && bundle_encoding[template][1] == L)