Home
last modified time | relevance | path

Searched refs:insns (Results 1 – 25 of 31) sorted by relevance

12

/arch/arm/crypto/
Dsha256-armv4.pl302 my @insns = (&$body,&$body,&$body,&$body);
306 eval(shift(@insns));
307 eval(shift(@insns));
308 eval(shift(@insns));
310 eval(shift(@insns));
311 eval(shift(@insns));
312 eval(shift(@insns));
314 eval(shift(@insns));
315 eval(shift(@insns));
317 eval(shift(@insns));
[all …]
/arch/s390/kernel/
Dalternative.c35 static void __init_or_module add_jump_padding(void *insns, unsigned int len) in add_jump_padding() argument
42 memcpy(insns, &brcl, sizeof(brcl)); in add_jump_padding()
43 insns += sizeof(brcl); in add_jump_padding()
47 memcpy(insns, &nop16, 2); in add_jump_padding()
48 insns += 2; in add_jump_padding()
53 static void __init_or_module add_padding(void *insns, unsigned int len) in add_padding() argument
56 add_jump_padding(insns, len); in add_padding()
58 memcpy(insns, nops[len / 2 - 1], len); in add_padding()
/arch/sparc/kernel/
Dsetup_64.c188 unsigned int *insns; in per_cpu_patch() local
192 insns = &p->starfire[0]; in per_cpu_patch()
197 insns = &p->cheetah_jbus[0]; in per_cpu_patch()
199 insns = &p->cheetah_safari[0]; in per_cpu_patch()
202 insns = &p->sun4v[0]; in per_cpu_patch()
209 *(unsigned int *) (addr + 0) = insns[0]; in per_cpu_patch()
213 *(unsigned int *) (addr + 4) = insns[1]; in per_cpu_patch()
217 *(unsigned int *) (addr + 8) = insns[2]; in per_cpu_patch()
221 *(unsigned int *) (addr + 12) = insns[3]; in per_cpu_patch()
249 *(unsigned int *) (addr + 0) = start->insns[0]; in sun4v_patch_2insn_range()
[all …]
Dsetup_32.c215 unsigned int *insns; in per_cpu_patch() local
219 insns = &p->sun4d[0]; in per_cpu_patch()
223 insns = &p->leon[0]; in per_cpu_patch()
229 *(unsigned int *) (addr + 0) = insns[0]; in per_cpu_patch()
231 *(unsigned int *) (addr + 4) = insns[1]; in per_cpu_patch()
233 *(unsigned int *) (addr + 8) = insns[2]; in per_cpu_patch()
Dsignal_32.c41 unsigned long insns[2] __attribute__ ((aligned (8))); member
53 unsigned int insns[2]; member
305 regs->u_regs[UREG_I7] = (unsigned long)(&(sf->insns[0]) - 2); in setup_frame()
308 err |= __put_user(0x821020d8, &sf->insns[0]); in setup_frame()
311 err |= __put_user(0x91d02010, &sf->insns[1]); in setup_frame()
316 flush_sig_insns(current->mm, (unsigned long) &(sf->insns[0])); in setup_frame()
402 regs->u_regs[UREG_I7] = (unsigned long)(&(sf->insns[0]) - 2); in setup_rt_frame()
405 err |= __put_user(0x821020d8, &sf->insns[0]); in setup_rt_frame()
408 err |= __put_user(0x91d02010, &sf->insns[1]); in setup_rt_frame()
413 flush_sig_insns(current->mm, (unsigned long) &(sf->insns[0])); in setup_rt_frame()
Dentry.h49 unsigned int insns[3]; member
56 unsigned int insns[6]; member
63 unsigned int insns[3]; member
Dsignal32.c50 unsigned int insns[2]; member
64 unsigned int insns[2]; member
536 unsigned long address = ((unsigned long)&(sf->insns[0])); in setup_frame32()
538 regs->u_regs[UREG_I7] = (unsigned long) (&(sf->insns[0]) - 2); in setup_frame32()
540 err = __put_user(0x821020d8, &sf->insns[0]); /*mov __NR_sigreturn, %g1*/ in setup_frame32()
541 err |= __put_user(0x91d02010, &sf->insns[1]); /*t 0x10*/ in setup_frame32()
667 unsigned long address = ((unsigned long)&(sf->insns[0])); in setup_rt_frame32()
669 regs->u_regs[UREG_I7] = (unsigned long) (&(sf->insns[0]) - 2); in setup_rt_frame32()
672 err |= __put_user(0x82102065, &sf->insns[0]); in setup_rt_frame32()
675 err |= __put_user(0x91d02010, &sf->insns[1]); in setup_rt_frame32()
/arch/x86/tools/
Dtest_get_len.c116 int insns = 0; in main() local
132 insns++; in main()
137 malformed_line(line, insns); in main()
142 malformed_line(line, insns); in main()
168 " instructions with %d warnings\n", insns, warnings); in main()
171 " instructions\n", insns); in main()
Dinsn_sanity.c239 int insns = 0; in main() local
269 insns++; in main()
275 insns, in main()
/arch/parisc/kernel/
Dmodule.c124 Elf32_Word insns[2]; /* each stub entry has two insns */ member
132 Elf64_Word insns[4]; /* each stub entry has four insns */ member
471 stub->insns[0] = 0x20200000; /* ldil L'XXX,%r1 */ in get_stub()
472 stub->insns[1] = 0xe0202002; /* be,n R'XXX(%sr4,%r1) */ in get_stub()
474 stub->insns[0] |= reassemble_21(lrsel(value, addend)); in get_stub()
475 stub->insns[1] |= reassemble_17(rrsel(value, addend) / 4); in get_stub()
502 stub->insns[0] = 0x0f6010db; /* ldd 0(%dp),%dp */ in get_stub()
503 stub->insns[0] |= low_sign_unext(d, 5) << 16; in get_stub()
506 stub->insns[0] = 0x537b0000; /* ldd 0(%dp),%dp */ in get_stub()
507 stub->insns[0] |= reassemble_16a(d); in get_stub()
[all …]
/arch/x86/lguest/
Dhead_32.S58 #define LGUEST_PATCH(name, insns...) \ argument
59 lgstart_##name: insns; lgend_##name:; \
/arch/tile/kernel/
Dbacktrace.c57 insns[TILE_MAX_INSTRUCTIONS_PER_BUNDLE]; member
76 &bundle->insns[i]; in find_matching_insn()
139 &bundle->insns[i]; in bt_get_info_ops()
170 &bundle->insns[i]; in bt_modifies_reg()
218 &bundle->insns[i]; in bt_update_moveli()
347 parse_insn_tile(bundle.bits, pc, bundle.insns); in find_caller_pc_and_caller_sp()
/arch/mips/kernel/
Dftrace.c341 int faulted, insns; in prepare_ftrace_return() local
397 insns = in_kernel_space(self_ra) ? 2 : MCOUNT_OFFSET_INSNS + 1; in prepare_ftrace_return()
398 trace.func = self_ra - (MCOUNT_INSN_SIZE * insns); in prepare_ftrace_return()
/arch/alpha/lib/
Dstrlen.S34 nop # helps dual issue last two insns
/arch/m32r/
DMakefile14 KBUILD_CFLAGS += -pipe -fno-schedule-insns
/arch/arm64/kernel/
Dinsn.c258 int __kprobes aarch64_insn_patch_text_sync(void *addrs[], u32 insns[], int cnt) in aarch64_insn_patch_text_sync() argument
262 .new_insns = insns, in aarch64_insn_patch_text_sync()
274 int __kprobes aarch64_insn_patch_text(void *addrs[], u32 insns[], int cnt) in aarch64_insn_patch_text() argument
285 if (aarch64_insn_hotpatch_safe(insn, insns[0])) { in aarch64_insn_patch_text()
293 ret = aarch64_insn_patch_text_nosync(addrs[0], insns[0]); in aarch64_insn_patch_text()
299 return aarch64_insn_patch_text_sync(addrs, insns, cnt); in aarch64_insn_patch_text()
/arch/arm64/kernel/probes/
Dkprobes.c123 u32 insns[1]; in patch_text() local
126 insns[0] = (u32)opcode; in patch_text()
128 return aarch64_insn_patch_text(addrs, insns, 1); in patch_text()
/arch/arm/nwfpe/
Dentry.S102 and r2, r6, #0x0F000000 @ test for FP insns
/arch/arm64/include/asm/
Dinsn.h404 int aarch64_insn_patch_text_sync(void *addrs[], u32 insns[], int cnt);
405 int aarch64_insn_patch_text(void *addrs[], u32 insns[], int cnt);
/arch/x86/kernel/
Dalternative.c248 static void __init_or_module add_nops(void *insns, unsigned int len) in add_nops() argument
254 memcpy(insns, ideal_nops[noplen], noplen); in add_nops()
255 insns += noplen; in add_nops()
/arch/mn10300/lib/
Dmemset.S109 setlb # setlb requires the next insns
Dmemcpy.S122 setlb # setlb requires the next insns
Dmemmove.S144 setlb # setlb requires the next insns
/arch/sparc/include/asm/
Dtrap_block.h79 unsigned int insns[2]; member
/arch/c6x/lib/
Ddivremu.S32 ;; is a trick to allow us to leave the following insns in the jump

12