Home
last modified time | relevance | path

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

12345678910>>...47

/arch/x86/kernel/
Djump_label.c22 char code[JUMP_LABEL_NOP_SIZE]; member
45 union jump_code_union code; in __jump_label_transform() local
55 if (unlikely(memcmp((void *)entry->code, default_nop, 5) in __jump_label_transform()
57 bug_at((void *)entry->code, __LINE__); in __jump_label_transform()
63 if (unlikely(memcmp((void *)entry->code, ideal_nop, 5) in __jump_label_transform()
65 bug_at((void *)entry->code, __LINE__); in __jump_label_transform()
68 code.jump = 0xe9; in __jump_label_transform()
69 code.offset = entry->target - in __jump_label_transform()
70 (entry->code + JUMP_LABEL_NOP_SIZE); in __jump_label_transform()
79 if (unlikely(memcmp((void *)entry->code, default_nop, 5) != 0)) in __jump_label_transform()
[all …]
/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.c104 int sig, code; in ia64_bad_break() local
119 sig = SIGILL; code = ILL_ILLOPC; in ia64_bad_break()
123 sig = SIGFPE; code = FPE_INTDIV; in ia64_bad_break()
127 sig = SIGFPE; code = FPE_INTOVF; in ia64_bad_break()
131 sig = SIGFPE; code = FPE_FLTSUB; in ia64_bad_break()
135 sig = SIGSEGV; code = SEGV_MAPERR; in ia64_bad_break()
139 sig = SIGSEGV; code = BUS_ADRALN; in ia64_bad_break()
143 sig = SIGFPE; code = __FPE_DECOVF; in ia64_bad_break()
147 sig = SIGFPE; code = __FPE_DECDIV; in ia64_bad_break()
151 sig = SIGFPE; code = __FPE_DECERR; in ia64_bad_break()
[all …]
Dvmlinux.lds.S15 code PT_LOAD;
37 code : { section
38 } :code
70 NOTES :code :note /* put .notes in text and mark in PT_NOTE */
72 } : code /* switch back to regular program... */
104 } :code :unwind
106 } : code
223 code : { section
224 } :code
/arch/s390/kernel/
Ddiag.c24 int code; member
29 [DIAG_STAT_X008] = { .code = 0x008, .name = "Console Function" },
30 [DIAG_STAT_X00C] = { .code = 0x00c, .name = "Pseudo Timer" },
31 [DIAG_STAT_X010] = { .code = 0x010, .name = "Release Pages" },
32 [DIAG_STAT_X014] = { .code = 0x014, .name = "Spool File Services" },
33 [DIAG_STAT_X044] = { .code = 0x044, .name = "Voluntary Timeslice End" },
34 [DIAG_STAT_X064] = { .code = 0x064, .name = "NSS Manipulation" },
35 [DIAG_STAT_X09C] = { .code = 0x09c, .name = "Relinquish Timeslice" },
36 [DIAG_STAT_X0DC] = { .code = 0x0dc, .name = "Appldata Control" },
37 [DIAG_STAT_X204] = { .code = 0x204, .name = "Logical-CPU Utilization" },
[all …]
Dirq.c200 u16 code; member
206 static inline int ext_hash(u16 code) in ext_hash() argument
210 return (code + (code >> 9)) & (ARRAY_SIZE(ext_int_hash) - 1); in ext_hash()
213 int register_external_irq(u16 code, ext_int_handler_t handler) in register_external_irq() argument
222 p->code = code; in register_external_irq()
224 index = ext_hash(code); in register_external_irq()
233 int unregister_external_irq(u16 code, ext_int_handler_t handler) in unregister_external_irq() argument
237 int index = ext_hash(code); in unregister_external_irq()
241 if (p->code == code && p->handler == handler) { in unregister_external_irq()
259 if (ext_code.code != EXT_IRQ_CLK_COMP) in do_ext_interrupt()
[all …]
/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/arm/probes/kprobes/
Dopt-arm.c199 kprobe_opcode_t *code; in NOKPROBE_SYMBOL() local
207 code = get_optinsn_slot(); in NOKPROBE_SYMBOL()
208 if (!code) in NOKPROBE_SYMBOL()
236 rel_chk = (unsigned long)((long)code - in NOKPROBE_SYMBOL()
245 free_optinsn_slot(code, 0); in NOKPROBE_SYMBOL()
250 memcpy(code, (unsigned long *)&optprobe_template_entry, in NOKPROBE_SYMBOL()
262 code[TMPL_SUB_SP] = __opcode_to_mem_arm(0xe24dd000 | stack_protect); in NOKPROBE_SYMBOL()
264 code[TMPL_ADD_SP] = __opcode_to_mem_arm(0xe28d3000 | stack_protect); in NOKPROBE_SYMBOL()
268 code[TMPL_VAL_IDX] = val; in NOKPROBE_SYMBOL()
272 code[TMPL_CALL_IDX] = val; in NOKPROBE_SYMBOL()
[all …]
Dtest-core.h216 #define TEST(code) \ argument
217 TESTCASE_START(code) \
219 TEST_INSTRUCTION(code) \
222 #define TEST_UNSUPPORTED(code) \ argument
223 TESTCASE_START(code) \
225 TEST_INSTRUCTION(code) \
228 #define TEST_SUPPORTED(code) \ argument
229 TESTCASE_START(code) \
231 TEST_INSTRUCTION(code) \
325 #define TEST_BF(code) \ argument
[all …]
/arch/s390/include/asm/
Ddis.h39 static inline int insn_length(unsigned char code) in insn_length() argument
41 return ((((int) code + 64) >> 7) + 1) << 1; in insn_length()
47 void print_fn_code(unsigned char *code, unsigned long len);
49 struct s390_insn *find_insn(unsigned char *code);
51 static inline int is_known_insn(unsigned char *code) in is_known_insn() argument
53 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/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()
218 const char *trap_name(unsigned long code) in trap_name() argument
222 if (code < ARRAY_SIZE(trap_description)) in trap_name()
223 t = trap_description[code]; in trap_name()
233 show_signal_msg(struct pt_regs *regs, unsigned long code, in show_signal_msg() argument
245 tsk->comm, code, address); in show_signal_msg()
248 pr_cont("\ntrap #%lu: %s%c", code, trap_name(code), in show_signal_msg()
258 void do_page_fault(struct pt_regs *regs, unsigned long code, in do_page_fault() argument
280 acc_type = parisc_acctyp(code, regs->iir); in do_page_fault()
[all …]
/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/tile/kernel/
Dtraps.c116 int sig, code, maxcode; in special_ill() local
185 code = (get_Imm16_X0(bundle) >> 6) & 0xf; in special_ill()
186 if (code <= 0 || code > maxcode) in special_ill()
191 *codep = code; in special_ill()
260 int signo, code; in do_trap() local
305 code = BUS_OBJERR; in do_trap()
314 if (!special_ill(instr, &signo, &code)) { in do_trap()
316 code = ILL_ILLOPC; in do_trap()
332 code = ILL_PRVREG; in do_trap()
339 code = ILL_ILLTRP; in do_trap()
[all …]
Djump_label.c33 unsigned long pc_wr = ktext_writable_addr(e->code); in __jump_label_transform()
36 opcode = tilegx_gen_branch(e->code, e->target, false); in __jump_label_transform()
51 flush_icache_range(e->code, e->code + sizeof(tilegx_bundle_bits)); in arch_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.dts58 linux,code = <2>;
64 linux,code = <3>;
70 linux,code = <4>;
76 linux,code = <5>;
82 linux,code = <6>;
88 linux,code = <30>;
94 linux,code = <48>;
100 linux,code = <46>;
106 linux,code = <32>;
112 linux,code = <18>;
Dsun4i-a10-inet9f-rev03.dts72 linux,code = <ABS_X>;
80 linux,code = <ABS_X>;
88 linux,code = <ABS_Y>;
96 linux,code = <ABS_Y>;
104 linux,code = <ABS_Z>;
112 linux,code = <ABS_Z>;
120 linux,code = <ABS_RZ>;
128 linux,code = <ABS_RZ>;
136 linux,code = <ABS_HAT0X>;
144 linux,code = <ABS_HAT0X>;
[all …]
Dexynos4210-smdkv310.dts79 linux,code = <2>;
85 linux,code = <3>;
91 linux,code = <4>;
97 linux,code = <5>;
103 linux,code = <6>;
109 linux,code = <30>;
115 linux,code = <48>;
121 linux,code = <46>;
127 linux,code = <32>;
133 linux,code = <18>;
/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.c127 enum exception_code code) in die_if_no_fixup() argument
135 peripheral_leds_display_exception(code); in die_if_no_fixup()
137 signo = exception_to_signal_map[code >> 3].signo; in die_if_no_fixup()
138 si_code = exception_to_signal_map[code >> 3].si_code; in die_if_no_fixup()
140 switch (code) { in die_if_no_fixup()
163 if (notify_die(DIE_BREAKPOINT, str, regs, code, 0, 0)) in die_if_no_fixup()
189 if (debugger_intercept(code, signo, si_code, regs) == 0) in die_if_no_fixup()
192 if (notify_die(DIE_GPF, str, regs, code, 0, 0)) in die_if_no_fixup()
196 die(str, regs, code); in die_if_no_fixup()
221 asmlinkage void nmi(struct pt_regs *regs, enum exception_code code) in nmi() argument
[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/arm/mach-s3c64xx/
Dmach-smartq7.c66 .code = KEY_POWER,
74 .code = KEY_FN,
82 .code = KEY_KPMINUS,
90 .code = KEY_KPPLUS,
98 .code = KEY_ENTER,
106 .code = KEY_ESC,
/arch/parisc/include/asm/
Dtraps.h10 int code, unsigned long offset) __noreturn __cold;
15 const char *trap_name(unsigned long code);
16 void do_page_fault(struct pt_regs *regs, unsigned long code,

12345678910>>...47