Home
last modified time | relevance | path

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

12345678910>>...38

/arch/x86/kernel/
Djump_label.c20 char code[JUMP_LABEL_NOP_SIZE]; member
44 union jump_code_union code; in __jump_label_transform() local
54 if (unlikely(memcmp((void *)entry->code, default_nop, 5) in __jump_label_transform()
56 bug_at((void *)entry->code, __LINE__); in __jump_label_transform()
62 if (unlikely(memcmp((void *)entry->code, ideal_nop, 5) in __jump_label_transform()
64 bug_at((void *)entry->code, __LINE__); in __jump_label_transform()
67 code.jump = 0xe9; in __jump_label_transform()
68 code.offset = entry->target - in __jump_label_transform()
69 (entry->code + JUMP_LABEL_NOP_SIZE); in __jump_label_transform()
78 if (unlikely(memcmp((void *)entry->code, default_nop, 5) != 0)) in __jump_label_transform()
[all …]
/arch/ia64/kernel/
Dunwind_decoder.c85 unw_decode_x1 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x1() argument
102 unw_decode_x2 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x2() argument
120 unw_decode_x3 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x3() argument
140 unw_decode_x4 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x4() argument
161 unw_decode_r1 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_r1() argument
163 int body = (code & 0x20) != 0; in unw_decode_r1()
166 rlen = (code & 0x1f); in unw_decode_r1()
172 unw_decode_r2 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_r2() argument
179 mask = ((code & 0x7) << 1) | ((byte1 >> 7) & 1); in unw_decode_r2()
187 unw_decode_r3 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_r3() argument
[all …]
Dtraps.c100 int sig, code; in ia64_bad_break() local
115 sig = SIGILL; code = ILL_ILLOPC; in ia64_bad_break()
119 sig = SIGFPE; code = FPE_INTDIV; in ia64_bad_break()
123 sig = SIGFPE; code = FPE_INTOVF; in ia64_bad_break()
127 sig = SIGFPE; code = FPE_FLTSUB; in ia64_bad_break()
131 sig = SIGSEGV; code = SEGV_MAPERR; in ia64_bad_break()
135 sig = SIGSEGV; code = BUS_ADRALN; in ia64_bad_break()
139 sig = SIGFPE; code = __FPE_DECOVF; in ia64_bad_break()
143 sig = SIGFPE; code = __FPE_DECDIV; in ia64_bad_break()
147 sig = SIGFPE; code = __FPE_DECERR; in ia64_bad_break()
[all …]
Dvmlinux.lds.S14 code PT_LOAD;
36 code : { section
37 } :code
68 NOTES :code :note /* put .notes in text and mark in PT_NOTE */
70 } : code /* switch back to regular program... */
102 } :code :unwind
104 } : code
240 code : { section
241 } :code
/arch/arm/mach-imx/
Dmach-pcm037_eet.c70 .code = KEY_L,
76 .code = KEY_A,
82 .code = KEY_V,
88 .code = KEY_M,
94 .code = KEY_UP,
100 .code = KEY_RIGHT,
106 .code = KEY_DOWN,
112 .code = KEY_LEFT,
118 .code = KEY_ENTER,
124 .code = KEY_O,
[all …]
/arch/sh/boards/mach-x3proto/
Dsetup.c132 .code = KEY_POWER,
137 .code = KEY_SUSPEND,
142 .code = KEY_KATAKANAHIRAGANA,
146 .code = KEY_SWITCHVIDEOMODE,
150 .code = KEY_F12,
154 .code = KEY_F11,
158 .code = KEY_F10,
162 .code = KEY_F9,
166 .code = KEY_F8,
170 .code = KEY_F7,
[all …]
/arch/s390/include/asm/
Ddis.h38 static inline int insn_length(unsigned char code) in insn_length() argument
40 return ((((int) code + 64) >> 7) + 1) << 1; in insn_length()
44 void print_fn_code(unsigned char *code, unsigned long len);
46 struct s390_insn *find_insn(unsigned char *code);
48 static inline int is_known_insn(unsigned char *code) in is_known_insn() argument
50 return !!find_insn(code); in is_known_insn()
/arch/arm/nwfpe/
Dfpa11.c99 unsigned int code; in EmulateAll() local
104 code = opcode & 0x00000f00; in EmulateAll()
105 if (code == 0x00000100 || code == 0x00000200) { in EmulateAll()
107 code = opcode & 0x0e000000; in EmulateAll()
108 if (code == 0x0e000000) { in EmulateAll()
119 } else if (code == 0x0c000000) { in EmulateAll()
/arch/arm/mach-s3c24xx/
Dmach-n30.c98 .code = KEY_POWER,
104 .code = KEY_UP,
110 .code = KEY_DOWN,
116 .code = KEY_ENTER,
122 .code = KEY_HOMEPAGE,
128 .code = KEY_CALENDAR,
134 .code = KEY_ADDRESSBOOK,
140 .code = KEY_MAIL,
162 .code = KEY_POWER,
170 .code = KEY_UP,
[all …]
/arch/arm/kernel/
Dkprobes-test.h209 #define TEST(code) \ argument
210 TESTCASE_START(code) \
212 TEST_INSTRUCTION(code) \
215 #define TEST_UNSUPPORTED(code) \ argument
216 TESTCASE_START(code) \
218 TEST_INSTRUCTION(code) \
221 #define TEST_SUPPORTED(code) \ argument
222 TESTCASE_START(code) \
224 TEST_INSTRUCTION(code) \
318 #define TEST_BF(code) \ argument
[all …]
/arch/tile/kernel/
Dtraps.c113 int sig, code, maxcode; in special_ill() local
182 code = (get_Imm16_X0(bundle) >> 6) & 0xf; in special_ill()
183 if (code <= 0 || code > maxcode) in special_ill()
188 *codep = code | __SI_FAULT; in special_ill()
257 int signo, code; in do_trap() local
303 code = BUS_OBJERR; in do_trap()
313 if (!special_ill(instr, &signo, &code)) { in do_trap()
315 code = ILL_ILLOPC; in do_trap()
331 code = ILL_PRVREG; in do_trap()
338 code = ILL_ILLTRP; in do_trap()
[all …]
/arch/x86/um/
Dsyscalls_64.c12 long arch_prctl(struct task_struct *task, int code, unsigned long __user *addr) in arch_prctl() argument
31 switch (code) { in arch_prctl()
51 ret = os_arch_prctl(pid, code, ptr); in arch_prctl()
55 switch (code) { in arch_prctl()
74 long sys_arch_prctl(int code, unsigned long addr) in sys_arch_prctl() argument
76 return arch_prctl(current, code, (unsigned long __user *) addr); in sys_arch_prctl()
/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()
180 show_signal_msg(struct pt_regs *regs, unsigned long code, in show_signal_msg() argument
192 tsk->comm, code, address); in show_signal_msg()
201 void do_page_fault(struct pt_regs *regs, unsigned long code, in do_page_fault() argument
223 acc_type = parisc_acctyp(code, regs->iir); in do_page_fault()
300 show_signal_msg(regs, code, address, tsk, vma); in do_page_fault()
302 switch (code) { in do_page_fault()
324 si.si_code = (code == 18) ? BUS_ADRALN : BUS_ADRERR; in do_page_fault()
330 si.si_code = (code == 26) ? SEGV_ACCERR : SEGV_MAPERR; in do_page_fault()
[all …]
/arch/s390/kernel/
Dirq.c202 u16 code; member
208 static inline int ext_hash(u16 code) in ext_hash() argument
212 return (code + (code >> 9)) & (ARRAY_SIZE(ext_int_hash) - 1); in ext_hash()
215 int register_external_irq(u16 code, ext_int_handler_t handler) in register_external_irq() argument
224 p->code = code; in register_external_irq()
226 index = ext_hash(code); in register_external_irq()
235 int unregister_external_irq(u16 code, ext_int_handler_t handler) in unregister_external_irq() argument
239 int index = ext_hash(code); in unregister_external_irq()
243 if (p->code == code && p->handler == handler) { in unregister_external_irq()
261 if (ext_code.code != EXT_IRQ_CLK_COMP) in do_ext_interrupt()
[all …]
/arch/arm/boot/dts/
Dexynos4412-smdk4412.dts63 linux,code = <2>;
69 linux,code = <3>;
75 linux,code = <4>;
81 linux,code = <5>;
87 linux,code = <6>;
93 linux,code = <30>;
99 linux,code = <48>;
105 linux,code = <46>;
111 linux,code = <32>;
117 linux,code = <18>;
Dexynos4210-smdkv310.dts94 linux,code = <2>;
100 linux,code = <3>;
106 linux,code = <4>;
112 linux,code = <5>;
118 linux,code = <6>;
124 linux,code = <30>;
130 linux,code = <48>;
136 linux,code = <46>;
142 linux,code = <32>;
148 linux,code = <18>;
Dea3250.dts6 * The code contained herein is licensed under the GNU General Public
170 linux,code = <103>;
175 linux,code = <1>;
180 linux,code = <2>;
185 linux,code = <3>;
190 linux,code = <4>;
195 linux,code = <10>;
200 linux,code = <11>;
205 linux,code = <12>;
210 linux,code = <13>;
[all …]
/arch/mn10300/unit-asb2364/
Dleds.c72 void peripheral_leds_display_exception(enum exception_code code) in peripheral_leds_display_exception() argument
76 leds = asb2364_led_hex_tbl[(code/0x100) % 0x10]; in peripheral_leds_display_exception()
78 leds |= asb2364_led_hex_tbl[(code/0x10) % 0x10]; in peripheral_leds_display_exception()
80 leds |= asb2364_led_hex_tbl[code % 0x10]; in peripheral_leds_display_exception()
96 void peripheral_leds_display_exception(enum exception_code code) { } in peripheral_leds_display_exception() argument
/arch/mn10300/kernel/
Dtraps.c126 enum exception_code code) in die_if_no_fixup() argument
134 peripheral_leds_display_exception(code); in die_if_no_fixup()
136 signo = exception_to_signal_map[code >> 3].signo; in die_if_no_fixup()
137 si_code = exception_to_signal_map[code >> 3].si_code; in die_if_no_fixup()
139 switch (code) { in die_if_no_fixup()
162 if (notify_die(DIE_BREAKPOINT, str, regs, code, 0, 0)) in die_if_no_fixup()
188 if (debugger_intercept(code, signo, si_code, regs) == 0) in die_if_no_fixup()
191 if (notify_die(DIE_GPF, str, regs, code, 0, 0)) in die_if_no_fixup()
195 die(str, regs, code); in die_if_no_fixup()
220 asmlinkage void nmi(struct pt_regs *regs, enum exception_code code) in nmi() argument
[all …]
/arch/arm/mach-s3c64xx/
Dmach-smartq7.c65 .code = KEY_POWER,
73 .code = KEY_FN,
81 .code = KEY_KPMINUS,
89 .code = KEY_KPPLUS,
97 .code = KEY_ENTER,
105 .code = KEY_ESC,
/arch/sparc/mm/
Dfault_32.c106 show_signal_msg(struct pt_regs *regs, int sig, int code, in show_signal_msg() argument
119 (void *)regs->u_regs[UREG_FP], code); in show_signal_msg()
126 static void __do_fault_siginfo(int code, int sig, struct pt_regs *regs, in __do_fault_siginfo() argument
132 info.si_code = code; in __do_fault_siginfo()
159 static noinline void do_fault_siginfo(int code, int sig, struct pt_regs *regs, in do_fault_siginfo() argument
164 __do_fault_siginfo(code, sig, regs, addr); in do_fault_siginfo()
176 int fault, code; in do_sparc_fault() local
191 code = SEGV_MAPERR; in do_sparc_fault()
224 code = SEGV_ACCERR; in do_sparc_fault()
295 do_fault_siginfo(code, SIGSEGV, regs, text_fault); in do_sparc_fault()
[all …]
/arch/alpha/kernel/
Dcore_lca.c131 unsigned long flags, code, stat0; in conf_read() local
147 code = ((stat0 >> LCA_IOC_STAT0_CODE_SHIFT) in conf_read()
149 if (code != 1) { in conf_read()
169 unsigned long flags, code, stat0; in conf_write() local
184 code = ((stat0 >> LCA_IOC_STAT0_CODE_SHIFT) in conf_write()
186 if (code != 1) { in conf_write()
373 unsigned code = (stat0 & IOC_CODE) >> IOC_CODE_SHIFT; in ioc_error() local
378 code > 3 ? "PCI" : "CPU", pci_cmd[cmd], stat1, err_name[code]); in ioc_error()
380 if (code == 5 || code == 6) { in ioc_error()
400 vector, get_irq_regs()->pc, (unsigned int) el.c->code); in lca_machine_check()
[all …]
/arch/arm/include/asm/
Dunwind.h56 #define UNWIND(code...) code argument
58 #define UNWIND(code...) argument
/arch/s390/kvm/
Dtrace.h175 TP_PROTO(VCPU_PROTO_COMMON, __u16 code),
176 TP_ARGS(VCPU_ARGS_COMMON, code),
180 __field(__u16, code)
185 __entry->code = code;
189 __entry->code)
266 TP_PROTO(VCPU_PROTO_COMMON, __u16 code),
267 TP_ARGS(VCPU_ARGS_COMMON, code),
271 __field(__u16, code)
276 __entry->code = code;
279 VCPU_TP_PRINTK("handle diagnose call %04x (%s)", __entry->code,
[all …]
/arch/arm/mm/
Dfault.c162 unsigned int fsr, unsigned int sig, int code, in __do_user_fault() argument
182 si.si_code = code; in __do_user_fault()
263 int fault, sig, code; in do_page_fault() local
381 code = BUS_ADRERR; in do_page_fault()
388 code = fault == VM_FAULT_BADACCESS ? in do_page_fault()
392 __do_user_fault(tsk, addr, fsr, sig, code, regs); in do_page_fault()
521 int code; member
534 int sig, int code, const char *name) in hook_fault_code() argument
541 fsr_info[nr].code = code; in hook_fault_code()
562 info.si_code = inf->code; in do_DataAbort()
[all …]

12345678910>>...38