Home
last modified time | relevance | path

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

12345678910>>...96

/linux-5.19.10/kernel/bpf/
Ddisasm.c126 insn->code, insn->dst_reg, in print_bpf_end_insn()
127 BPF_SRC(insn->code) == BPF_TO_BE ? "be" : "le", in print_bpf_end_insn()
136 u8 class = BPF_CLASS(insn->code); in print_bpf_insn()
139 if (BPF_OP(insn->code) == BPF_END) { in print_bpf_insn()
141 verbose(cbs->private_data, "BUG_alu64_%02x\n", insn->code); in print_bpf_insn()
144 } else if (BPF_OP(insn->code) == BPF_NEG) { in print_bpf_insn()
146 insn->code, class == BPF_ALU ? 'w' : 'r', in print_bpf_insn()
149 } else if (BPF_SRC(insn->code) == BPF_X) { in print_bpf_insn()
151 insn->code, class == BPF_ALU ? 'w' : 'r', in print_bpf_insn()
153 bpf_alu_string[BPF_OP(insn->code) >> 4], in print_bpf_insn()
[all …]
/linux-5.19.10/kernel/trace/
Dtrace_probe_tmpl.h7 fetch_store_raw(unsigned long val, struct fetch_insn *code, void *buf) in fetch_store_raw() argument
9 switch (code->size) { in fetch_store_raw()
29 fetch_apply_bitfield(struct fetch_insn *code, void *buf) in fetch_apply_bitfield() argument
31 switch (code->basesize) { in fetch_apply_bitfield()
33 *(u8 *)buf <<= code->lshift; in fetch_apply_bitfield()
34 *(u8 *)buf >>= code->rshift; in fetch_apply_bitfield()
37 *(u16 *)buf <<= code->lshift; in fetch_apply_bitfield()
38 *(u16 *)buf >>= code->rshift; in fetch_apply_bitfield()
41 *(u32 *)buf <<= code->lshift; in fetch_apply_bitfield()
42 *(u32 *)buf >>= code->rshift; in fetch_apply_bitfield()
[all …]
Dtrace_probe.c276 struct fetch_insn *code, unsigned int flags, int offs) in parse_probe_vars() argument
283 if (code->data) in parse_probe_vars()
285 code->data = kstrdup(arg, GFP_KERNEL); in parse_probe_vars()
286 if (!code->data) in parse_probe_vars()
288 code->op = FETCH_OP_TP_ARG; in parse_probe_vars()
291 code->op = FETCH_OP_RETVAL; in parse_probe_vars()
298 code->op = FETCH_OP_STACKP; in parse_probe_vars()
308 code->op = FETCH_OP_STACK; in parse_probe_vars()
309 code->param = (unsigned int)param; in parse_probe_vars()
314 code->op = FETCH_OP_COMM; in parse_probe_vars()
[all …]
/linux-5.19.10/drivers/scsi/
Dscript_asm.pl179 @code = (); # Array of 32 bit words for SIOP
209 printf STDERR "Old code : %08x\n", $code[$address];
214 $code[$address] = ($code[$address] & ~$mask) |
215 (($code[$address] & $mask) + ($value << ($offset * 8)) &
218 printf STDERR "New code : %08x\n", $code[$address] if ($debug);
277 $code[$address] |= 0x00_01_00_00;
296 $code[$address] |= 0x00_08_00_00;
306 $code[$address] |= 0x00_02_00_00;
312 $code[$address] |= $p | 0x00_02_00_00;
341 $code[$address] |= 0x00_04_00_00;
[all …]
/linux-5.19.10/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 …]
/linux-5.19.10/arch/s390/kernel/
Ddiag.c27 int code; member
32 [DIAG_STAT_X008] = { .code = 0x008, .name = "Console Function" },
33 [DIAG_STAT_X00C] = { .code = 0x00c, .name = "Pseudo Timer" },
34 [DIAG_STAT_X010] = { .code = 0x010, .name = "Release Pages" },
35 [DIAG_STAT_X014] = { .code = 0x014, .name = "Spool File Services" },
36 [DIAG_STAT_X044] = { .code = 0x044, .name = "Voluntary Timeslice End" },
37 [DIAG_STAT_X064] = { .code = 0x064, .name = "NSS Manipulation" },
38 [DIAG_STAT_X09C] = { .code = 0x09c, .name = "Relinquish Timeslice" },
39 [DIAG_STAT_X0DC] = { .code = 0x0dc, .name = "Appldata Control" },
40 [DIAG_STAT_X204] = { .code = 0x204, .name = "Logical-CPU Utilization" },
[all …]
/linux-5.19.10/drivers/media/firewire/
Dfiredtv-rc.c169 void fdtv_handle_rc(struct firedtv *fdtv, unsigned int code) in fdtv_handle_rc() argument
174 if (code >= 0x0300 && code <= 0x031f) in fdtv_handle_rc()
175 code = keycode[code - 0x0300]; in fdtv_handle_rc()
176 else if (code >= 0x0340 && code <= 0x0354) in fdtv_handle_rc()
177 code = keycode[code - 0x0320]; in fdtv_handle_rc()
178 else if (code >= 0x4501 && code <= 0x451f) in fdtv_handle_rc()
179 code = oldtable[code - 0x4501]; in fdtv_handle_rc()
180 else if (code >= 0x4540 && code <= 0x4542) in fdtv_handle_rc()
181 code = oldtable[code - 0x4521]; in fdtv_handle_rc()
185 code); in fdtv_handle_rc()
[all …]
/linux-5.19.10/scripts/
Ddecodecode24 code=
31 code=$i
38 code="$code $xdump"
48 if [ -z "$code" ]; then
53 echo $code
54 code=`echo $code | sed -e 's/.*Code: //'`
56 width=`expr index "$code" ' '`
105 marker=`expr index "$code" "\<"`
107 marker=`expr index "$code" "\("`
115 echo All code >> $T.oo
[all …]
/linux-5.19.10/drivers/media/test-drivers/vimc/
Dvimc-common.c22 .code = {
31 .code = {
46 .code = { MEDIA_BUS_FMT_ARGB8888_1X32 },
54 .code = { MEDIA_BUS_FMT_SBGGR8_1X8 },
60 .code = { MEDIA_BUS_FMT_SGBRG8_1X8 },
66 .code = { MEDIA_BUS_FMT_SGRBG8_1X8 },
72 .code = { MEDIA_BUS_FMT_SRGGB8_1X8 },
78 .code = { MEDIA_BUS_FMT_SBGGR10_1X10 },
84 .code = { MEDIA_BUS_FMT_SGBRG10_1X10 },
90 .code = { MEDIA_BUS_FMT_SGRBG10_1X10 },
[all …]
Dvimc-debayer.c25 u32 code; member
49 .code = MEDIA_BUS_FMT_SRGGB8_1X8,
69 .code = MEDIA_BUS_FMT_SBGGR8_1X8,
74 .code = MEDIA_BUS_FMT_SGBRG8_1X8,
79 .code = MEDIA_BUS_FMT_SGRBG8_1X8,
84 .code = MEDIA_BUS_FMT_SRGGB8_1X8,
89 .code = MEDIA_BUS_FMT_SBGGR10_1X10,
94 .code = MEDIA_BUS_FMT_SGBRG10_1X10,
99 .code = MEDIA_BUS_FMT_SGRBG10_1X10,
104 .code = MEDIA_BUS_FMT_SRGGB10_1X10,
[all …]
/linux-5.19.10/tools/include/linux/
Dfilter.h36 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \
44 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \
54 .code = BPF_ALU64 | BPF_OP(OP) | BPF_K, \
62 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \
72 .code = BPF_ALU | BPF_END | BPF_SRC(TYPE), \
82 .code = BPF_ALU64 | BPF_MOV | BPF_X, \
90 .code = BPF_ALU | BPF_MOV | BPF_X, \
100 .code = BPF_ALU64 | BPF_MOV | BPF_K, \
108 .code = BPF_ALU | BPF_MOV | BPF_K, \
118 .code = BPF_ALU64 | BPF_MOV | BPF_SRC(TYPE), \
[all …]
/linux-5.19.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfweh.c31 enum brcmf_fweh_event_code code; member
43 enum brcmf_fweh_event_code code; member
62 const char *brcmf_fweh_event_name(enum brcmf_fweh_event_code code) in brcmf_fweh_event_name() argument
66 if (fweh_event_names[i].code == code) in brcmf_fweh_event_name()
72 const char *brcmf_fweh_event_name(enum brcmf_fweh_event_code code) in brcmf_fweh_event_name() argument
97 enum brcmf_fweh_event_code code, in brcmf_fweh_call_event_handler() argument
108 if (fweh->evt_handler[code]) in brcmf_fweh_call_event_handler()
109 err = fweh->evt_handler[code](ifp, emsg, data); in brcmf_fweh_call_event_handler()
111 bphy_err(drvr, "unhandled event %d ignored\n", code); in brcmf_fweh_call_event_handler()
228 brcmf_fweh_event_name(event->code), event->code, in brcmf_fweh_event_worker()
[all …]
/linux-5.19.10/include/linux/
Dicmpv6.h18 typedef void ip6_icmp_send_t(struct sk_buff *skb, u8 type, u8 code, __u32 info,
21 void icmp6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info,
25 static inline void __icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info, in __icmpv6_send() argument
28 icmp6_send(skb, type, code, info, NULL, parm); in __icmpv6_send()
41 extern void __icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info,
47 static inline void icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info) in icmpv6_send() argument
49 __icmpv6_send(skb, type, code, info, IP6CB(skb)); in icmpv6_send()
56 void icmpv6_ndo_send(struct sk_buff *skb_in, u8 type, u8 code, __u32 info);
58 static inline void icmpv6_ndo_send(struct sk_buff *skb_in, u8 type, u8 code, __u32 info) in icmpv6_ndo_send() argument
61 __icmpv6_send(skb_in, type, code, info, &parm); in icmpv6_ndo_send()
[all …]
/linux-5.19.10/samples/bpf/
Dbpf_insn.h12 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \
20 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \
30 .code = BPF_ALU64 | BPF_OP(OP) | BPF_K, \
38 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \
48 .code = BPF_ALU64 | BPF_MOV | BPF_X, \
56 .code = BPF_ALU | BPF_MOV | BPF_X, \
66 .code = BPF_ALU64 | BPF_MOV | BPF_K, \
74 .code = BPF_ALU | BPF_MOV | BPF_K, \
86 .code = BPF_LD | BPF_DW | BPF_IMM, \
92 .code = 0, /* zero is reserved opcode */ \
[all …]
/linux-5.19.10/tools/include/uapi/linux/
Dbpf_common.h6 #define BPF_CLASS(code) ((code) & 0x07) argument
17 #define BPF_SIZE(code) ((code) & 0x18) argument
22 #define BPF_MODE(code) ((code) & 0xe0) argument
31 #define BPF_OP(code) ((code) & 0xf0) argument
49 #define BPF_SRC(code) ((code) & 0x08) argument
Dfilter.h25 __u16 code; /* Actual filter code */ member
37 #define BPF_RVAL(code) ((code) & 0x18) argument
41 #define BPF_MISCOP(code) ((code) & 0xf8) argument
49 #define BPF_STMT(code, k) { (unsigned short)(code), 0, 0, k } argument
52 #define BPF_JUMP(code, k, jt, jf) { (unsigned short)(code), jt, jf, k } argument
/linux-5.19.10/include/uapi/linux/
Dbpf_common.h6 #define BPF_CLASS(code) ((code) & 0x07) argument
17 #define BPF_SIZE(code) ((code) & 0x18) argument
22 #define BPF_MODE(code) ((code) & 0xe0) argument
31 #define BPF_OP(code) ((code) & 0xf0) argument
49 #define BPF_SRC(code) ((code) & 0x08) argument
Dfilter.h25 __u16 code; /* Actual filter code */ member
37 #define BPF_RVAL(code) ((code) & 0x18) argument
41 #define BPF_MISCOP(code) ((code) & 0xf8) argument
49 #define BPF_STMT(code, k) { (unsigned short)(code), 0, 0, k } argument
52 #define BPF_JUMP(code, k, jt, jf) { (unsigned short)(code), jt, jf, k } argument
/linux-5.19.10/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 …]
/linux-5.19.10/arch/arm/probes/kprobes/
Dopt-arm.c186 kprobe_opcode_t *code; in NOKPROBE_SYMBOL() local
194 code = get_optinsn_slot(); in NOKPROBE_SYMBOL()
195 if (!code) in NOKPROBE_SYMBOL()
223 rel_chk = (unsigned long)((long)code - in NOKPROBE_SYMBOL()
232 free_optinsn_slot(code, 0); in NOKPROBE_SYMBOL()
237 memcpy(code, (unsigned long *)optprobe_template_entry, in NOKPROBE_SYMBOL()
249 code[TMPL_SUB_SP] = __opcode_to_mem_arm(0xe24dd000 | stack_protect); in NOKPROBE_SYMBOL()
251 code[TMPL_ADD_SP] = __opcode_to_mem_arm(0xe28d3000 | stack_protect); in NOKPROBE_SYMBOL()
255 code[TMPL_VAL_IDX] = val; in NOKPROBE_SYMBOL()
259 code[TMPL_CALL_IDX] = val; in NOKPROBE_SYMBOL()
[all …]
/linux-5.19.10/Documentation/translations/zh_CN/process/
Dcoding-style.rst50 .. code-block:: c
71 .. code-block:: c
105 .. code-block:: c
113 .. code-block:: c
128 .. code-block:: c
142 .. code-block:: c
150 .. code-block:: c
168 .. code-block:: c
175 .. code-block:: c
184 .. code-block:: c
[all …]
/linux-5.19.10/Documentation/translations/zh_TW/process/
Dcoding-style.rst53 .. code-block:: c
74 .. code-block:: c
108 .. code-block:: c
116 .. code-block:: c
131 .. code-block:: c
145 .. code-block:: c
153 .. code-block:: c
171 .. code-block:: c
178 .. code-block:: c
187 .. code-block:: c
[all …]
/linux-5.19.10/drivers/usb/serial/
Dio_ionsp.h446 #define IOSP_GET_STATUS_LEN(code) ((code) < 8 ? 2 : ((code) < 0x0A ? 3 : 4)) argument
448 #define IOSP_STATUS_IS_2BYTE(code) ((code) < 0x08) argument
449 #define IOSP_STATUS_IS_3BYTE(code) (((code) >= 0x08) && ((code) <= 0x0B)) argument
450 #define IOSP_STATUS_IS_4BYTE(code) (((code) >= 0x0C) && ((code) <= 0x0D)) argument
/linux-5.19.10/arch/x86/kernel/
Dstatic_call.c33 const void *code; in __static_call_transform() local
37 code = text_gen_insn(CALL_INSN_OPCODE, insn, func); in __static_call_transform()
39 emulate = code; in __static_call_transform()
40 code = &xor5rax; in __static_call_transform()
46 code = x86_nops[5]; in __static_call_transform()
50 code = text_gen_insn(JMP32_INSN_OPCODE, insn, func); in __static_call_transform()
55 code = text_gen_insn(JMP32_INSN_OPCODE, insn, &__x86_return_thunk); in __static_call_transform()
57 code = &retinsn; in __static_call_transform()
61 if (memcmp(insn, code, size) == 0) in __static_call_transform()
65 return text_poke_early(insn, code, size); in __static_call_transform()
[all …]
/linux-5.19.10/lib/zstd/common/
Derror_private.h45 ERR_STATIC unsigned ERR_isError(size_t code) { return (code > ERROR(maxCode)); } in ERR_isError() argument
47 …ATIC ERR_enum ERR_getErrorCode(size_t code) { if (!ERR_isError(code)) return (ERR_enum)0; return (… in ERR_getErrorCode() argument
58 const char* ERR_getErrorString(ERR_enum code); /* error_private.c */
60 ERR_STATIC const char* ERR_getErrorName(size_t code) in ERR_getErrorName() argument
62 return ERR_getErrorString(ERR_getErrorCode(code)); in ERR_getErrorName()

12345678910>>...96