Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 1119) sorted by relevance

12345678910>>...45

/arch/ia64/kernel/
Dunwind_decoder.c86 unw_decode_x1 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x1() argument
103 unw_decode_x2 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x2() argument
121 unw_decode_x3 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x3() argument
141 unw_decode_x4 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x4() argument
162 unw_decode_r1 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_r1() argument
164 int body = (code & 0x20) != 0; in unw_decode_r1()
167 rlen = (code & 0x1f); in unw_decode_r1()
173 unw_decode_r2 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_r2() argument
180 mask = ((code & 0x7) << 1) | ((byte1 >> 7) & 1); in unw_decode_r2()
188 unw_decode_r3 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_r3() argument
[all …]
Dtraps.c103 int sig, code; in ia64_bad_break() local
112 sig = SIGILL; code = ILL_ILLOPC; in ia64_bad_break()
116 sig = SIGFPE; code = FPE_INTDIV; in ia64_bad_break()
120 sig = SIGFPE; code = FPE_INTOVF; in ia64_bad_break()
124 sig = SIGFPE; code = FPE_FLTSUB; in ia64_bad_break()
128 sig = SIGSEGV; code = SEGV_MAPERR; in ia64_bad_break()
132 sig = SIGSEGV; code = BUS_ADRALN; in ia64_bad_break()
136 sig = SIGFPE; code = __FPE_DECOVF; in ia64_bad_break()
140 sig = SIGFPE; code = __FPE_DECDIV; in ia64_bad_break()
144 sig = SIGFPE; code = __FPE_DECERR; in ia64_bad_break()
[all …]
Dvmlinux.lds.S16 code PT_LOAD;
38 code : { section
39 } :code
71 NOTES :code :note /* put .notes in text and mark in PT_NOTE */
73 } : code /* switch back to regular program... */
105 } :code :unwind
107 } : code
216 code : { section
217 } :code
/arch/s390/kernel/
Ddiag.c25 int code; member
30 [DIAG_STAT_X008] = { .code = 0x008, .name = "Console Function" },
31 [DIAG_STAT_X00C] = { .code = 0x00c, .name = "Pseudo Timer" },
32 [DIAG_STAT_X010] = { .code = 0x010, .name = "Release Pages" },
33 [DIAG_STAT_X014] = { .code = 0x014, .name = "Spool File Services" },
34 [DIAG_STAT_X044] = { .code = 0x044, .name = "Voluntary Timeslice End" },
35 [DIAG_STAT_X064] = { .code = 0x064, .name = "NSS Manipulation" },
36 [DIAG_STAT_X09C] = { .code = 0x09c, .name = "Relinquish Timeslice" },
37 [DIAG_STAT_X0DC] = { .code = 0x0dc, .name = "Appldata Control" },
38 [DIAG_STAT_X204] = { .code = 0x204, .name = "Logical-CPU Utilization" },
[all …]
Dirq.c224 u16 code; member
230 static inline int ext_hash(u16 code) in ext_hash() argument
234 return (code + (code >> 9)) & (ARRAY_SIZE(ext_int_hash) - 1); in ext_hash()
237 int register_external_irq(u16 code, ext_int_handler_t handler) in register_external_irq() argument
246 p->code = code; in register_external_irq()
248 index = ext_hash(code); in register_external_irq()
257 int unregister_external_irq(u16 code, ext_int_handler_t handler) in unregister_external_irq() argument
261 int index = ext_hash(code); in unregister_external_irq()
265 if (p->code == code && p->handler == handler) { in unregister_external_irq()
283 if (ext_code.code != EXT_IRQ_CLK_COMP) in do_ext_interrupt()
[all …]
/arch/arm/mach-imx/
Dmach-pcm037_eet.c64 .code = KEY_L,
70 .code = KEY_A,
76 .code = KEY_V,
82 .code = KEY_M,
88 .code = KEY_UP,
94 .code = KEY_RIGHT,
100 .code = KEY_DOWN,
106 .code = KEY_LEFT,
112 .code = KEY_ENTER,
118 .code = KEY_O,
[all …]
/arch/sh/boards/mach-x3proto/
Dsetup.c129 .code = KEY_POWER,
134 .code = KEY_SUSPEND,
139 .code = KEY_KATAKANAHIRAGANA,
143 .code = KEY_SWITCHVIDEOMODE,
147 .code = KEY_F12,
151 .code = KEY_F11,
155 .code = KEY_F10,
159 .code = KEY_F9,
163 .code = KEY_F8,
167 .code = KEY_F7,
[all …]
/arch/s390/include/asm/
Ddis.h14 static inline int insn_length(unsigned char code) in insn_length() argument
16 return ((((int) code + 64) >> 7) + 1) << 1; in insn_length()
22 void print_fn_code(unsigned char *code, unsigned long len);
23 struct s390_insn *find_insn(unsigned char *code);
25 static inline int is_known_insn(unsigned char *code) in is_known_insn() argument
27 return !!find_insn(code); in is_known_insn()
/arch/arm/probes/kprobes/
Dopt-arm.c184 kprobe_opcode_t *code; in NOKPROBE_SYMBOL() local
192 code = get_optinsn_slot(); in NOKPROBE_SYMBOL()
193 if (!code) in NOKPROBE_SYMBOL()
221 rel_chk = (unsigned long)((long)code - in NOKPROBE_SYMBOL()
230 free_optinsn_slot(code, 0); in NOKPROBE_SYMBOL()
235 memcpy(code, (unsigned long *)optprobe_template_entry, in NOKPROBE_SYMBOL()
247 code[TMPL_SUB_SP] = __opcode_to_mem_arm(0xe24dd000 | stack_protect); in NOKPROBE_SYMBOL()
249 code[TMPL_ADD_SP] = __opcode_to_mem_arm(0xe28d3000 | stack_protect); in NOKPROBE_SYMBOL()
253 code[TMPL_VAL_IDX] = val; in NOKPROBE_SYMBOL()
257 code[TMPL_CALL_IDX] = val; in NOKPROBE_SYMBOL()
[all …]
Dtest-core.h213 #define TEST(code) \ argument
214 TESTCASE_START(code) \
216 TEST_INSTRUCTION(code) \
219 #define TEST_UNSUPPORTED(code) \ argument
220 TESTCASE_START(code) \
222 TEST_INSTRUCTION(code) \
225 #define TEST_SUPPORTED(code) \ argument
226 TESTCASE_START(code) \
228 TEST_INSTRUCTION(code) \
322 #define TEST_BF(code) \ argument
[all …]
/arch/parisc/mm/
Dfault.c51 parisc_acctyp(unsigned long code, unsigned int inst) in parisc_acctyp() argument
53 if (code == 6 || code == 16) in parisc_acctyp()
219 const char *trap_name(unsigned long code) in trap_name() argument
223 if (code < ARRAY_SIZE(trap_description)) in trap_name()
224 t = trap_description[code]; in trap_name()
234 show_signal_msg(struct pt_regs *regs, unsigned long code, in show_signal_msg() argument
246 tsk->comm, code, address); in show_signal_msg()
249 pr_cont("\ntrap #%lu: %s%c", code, trap_name(code), in show_signal_msg()
259 void do_page_fault(struct pt_regs *regs, unsigned long code, in do_page_fault() argument
281 acc_type = parisc_acctyp(code, regs->iir); in do_page_fault()
[all …]
/arch/arm/nwfpe/
Dfpa11.c87 unsigned int code; in EmulateAll() local
92 code = opcode & 0x00000f00; in EmulateAll()
93 if (code == 0x00000100 || code == 0x00000200) { in EmulateAll()
95 code = opcode & 0x0e000000; in EmulateAll()
96 if (code == 0x0e000000) { in EmulateAll()
107 } else if (code == 0x0c000000) { in EmulateAll()
/arch/arm/mach-s3c24xx/
Dmach-n30.c96 .code = KEY_POWER,
102 .code = KEY_UP,
108 .code = KEY_DOWN,
114 .code = KEY_ENTER,
120 .code = KEY_HOMEPAGE,
126 .code = KEY_CALENDAR,
132 .code = KEY_ADDRESSBOOK,
138 .code = KEY_MAIL,
160 .code = KEY_POWER,
168 .code = KEY_UP,
[all …]
/arch/x86/kernel/
Djump_label.c20 char code[JUMP_LABEL_NOP_SIZE]; member
40 union jump_code_union *code, in __jump_label_set_jump_code() argument
48 code->jump = 0xe9; in __jump_label_set_jump_code()
49 code->offset = jump_entry_target(entry) - in __jump_label_set_jump_code()
57 expect = code->code; line = __LINE__; in __jump_label_set_jump_code()
64 memcpy(code, ideal_nop, JUMP_LABEL_NOP_SIZE); in __jump_label_set_jump_code()
71 union jump_code_union code; in __jump_label_transform() local
73 __jump_label_set_jump_code(entry, type, &code, init); in __jump_label_transform()
87 text_poke_early((void *)jump_entry_code(entry), &code, in __jump_label_transform()
92 text_poke_bp((void *)jump_entry_code(entry), &code, JUMP_LABEL_NOP_SIZE, in __jump_label_transform()
/arch/s390/kvm/
Dtrace.h176 TP_PROTO(VCPU_PROTO_COMMON, __u16 code),
177 TP_ARGS(VCPU_ARGS_COMMON, code),
181 __field(__u16, code)
186 __entry->code = code;
190 __entry->code,
191 __print_symbolic(__entry->code,
269 TP_PROTO(VCPU_PROTO_COMMON, __u16 code),
270 TP_ARGS(VCPU_ARGS_COMMON, code),
274 __field(__u16, code)
279 __entry->code = code;
[all …]
/arch/arm/boot/dts/
Dexynos4412-smdk4412.dts55 linux,code = <2>;
61 linux,code = <3>;
67 linux,code = <4>;
73 linux,code = <5>;
79 linux,code = <6>;
85 linux,code = <30>;
91 linux,code = <48>;
97 linux,code = <46>;
103 linux,code = <32>;
109 linux,code = <18>;
Dsun4i-a10-inet9f-rev03.dts68 linux,code = <ABS_X>;
76 linux,code = <ABS_X>;
84 linux,code = <ABS_Y>;
92 linux,code = <ABS_Y>;
100 linux,code = <ABS_Z>;
108 linux,code = <ABS_Z>;
116 linux,code = <ABS_RZ>;
124 linux,code = <ABS_RZ>;
132 linux,code = <ABS_HAT0X>;
140 linux,code = <ABS_HAT0X>;
[all …]
Dexynos4210-smdkv310.dts76 linux,code = <2>;
82 linux,code = <3>;
88 linux,code = <4>;
94 linux,code = <5>;
100 linux,code = <6>;
106 linux,code = <30>;
112 linux,code = <48>;
118 linux,code = <46>;
124 linux,code = <32>;
130 linux,code = <18>;
/arch/csky/abiv2/
Dfpu.c94 int sig, code; in fpu_fpe() local
100 code = FPE_FLTUNK; in fpu_fpe()
104 code = ILL_ILLOPC; in fpu_fpe()
107 code = ILL_ILLOPN; in fpu_fpe()
111 code = FPE_FLTINV; in fpu_fpe()
113 code = FPE_FLTDIV; in fpu_fpe()
115 code = FPE_FLTUND; in fpu_fpe()
117 code = FPE_FLTOVF; in fpu_fpe()
119 code = FPE_FLTRES; in fpu_fpe()
122 force_sig_fault(sig, code, (void __user *)regs->pc); in fpu_fpe()
/arch/sparc/mm/
Dfault_32.c107 show_signal_msg(struct pt_regs *regs, int sig, int code, in show_signal_msg() argument
120 (void *)regs->u_regs[UREG_FP], code); in show_signal_msg()
127 static void __do_fault_siginfo(int code, int sig, struct pt_regs *regs, in __do_fault_siginfo() argument
131 show_signal_msg(regs, sig, code, in __do_fault_siginfo()
134 force_sig_fault(sig, code, (void __user *) addr, 0); in __do_fault_siginfo()
152 static noinline void do_fault_siginfo(int code, int sig, struct pt_regs *regs, in do_fault_siginfo() argument
157 __do_fault_siginfo(code, sig, regs, addr); in do_fault_siginfo()
169 int code; in do_sparc_fault() local
185 code = SEGV_MAPERR; in do_sparc_fault()
218 code = SEGV_ACCERR; in do_sparc_fault()
[all …]
/arch/mips/kvm/
Dhypcall.c20 unsigned int code = (inst.co_format.code >> 5) & 0x3ff; in kvm_mips_emul_hypcall() local
22 kvm_debug("[%#lx] HYPCALL %#03x\n", vcpu->arch.pc, code); in kvm_mips_emul_hypcall()
24 switch (code) { in kvm_mips_emul_hypcall()
/arch/parisc/kernel/
Dtraps.c325 static void default_trap(int code, struct pt_regs *regs) in default_trap() argument
327 printk(KERN_ERR "Trap %d on CPU %d\n", code, smp_processor_id()); in default_trap()
331 void (*cpu_lpmc) (int code, struct pt_regs *regs) __read_mostly = default_trap;
414 void parisc_terminate(char *msg, struct pt_regs *regs, int code, unsigned long offset) in parisc_terminate() argument
418 (void)notify_die(DIE_OOPS, msg, regs, 0, code, SIGTRAP); in parisc_terminate()
433 switch(code){ in parisc_terminate()
454 msg, code, trap_name(code), offset); in parisc_terminate()
476 void notrace handle_interruption(int code, struct pt_regs *regs) in handle_interruption() argument
482 if (code == 1) in handle_interruption()
518 printk(KERN_CRIT "Interruption # %d\n", code); in handle_interruption()
[all …]
/arch/arm/mach-s3c64xx/
Dmach-smartq7.c59 .code = KEY_POWER,
67 .code = KEY_FN,
75 .code = KEY_KPMINUS,
83 .code = KEY_KPPLUS,
91 .code = KEY_ENTER,
99 .code = KEY_ESC,
/arch/arm64/crypto/
Dsha512-armv8.pl112 $code.=<<___ if ($i<16);
117 $code.=<<___ if ($i<13 && ($i&1));
120 $code.=<<___ if ($i==13);
123 $code.=<<___ if ($i>=14);
126 $code.=<<___ if ($i>0 && $i<16);
129 $code.=<<___ if ($i>=11);
139 $code.=<<___ if ($i<15);
161 $code.=<<___ if ($i>=15);
195 $code.=<<___;
208 $code.=<<___ if ($SZ==4);
[all …]
/arch/riscv/kernel/
Dtraps.c63 void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr) in do_trap() argument
70 tsk->comm, task_pid_nr(tsk), signo, code, addr); in do_trap()
76 force_sig_fault(signo, code, (void __user *)addr); in do_trap()
79 static void do_trap_error(struct pt_regs *regs, int signo, int code, in do_trap_error() argument
83 do_trap(regs, signo, code, addr); in do_trap_error()
90 #define DO_ERROR_INFO(name, signo, code, str) \ argument
93 do_trap_error(regs, signo, code, regs->sepc, "Oops - " str); \

12345678910>>...45