Home
last modified time | relevance | path

Searched full:code (Results 1 – 25 of 7875) sorted by relevance

12345678910>>...315

/linux-6.14.4/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.c3 * Common code for probe-based Dynamic events.
5 * This code was copied from kernel/trace/trace_kprobe.c written by
290 static int parse_trace_event_arg(char *arg, struct fetch_insn *code, in parse_trace_event_arg() argument
299 code->op = FETCH_OP_TP_ARG; in parse_trace_event_arg()
300 code->data = field; in parse_trace_event_arg()
366 struct fetch_insn *code = *pcode + 1; in check_prepare_btf_string_fetch() local
368 if (code->op == FETCH_OP_END) { in check_prepare_btf_string_fetch()
373 code->op = FETCH_OP_UDEREF; in check_prepare_btf_string_fetch()
375 code->op = FETCH_OP_DEREF; in check_prepare_btf_string_fetch()
376 code->offset = 0; in check_prepare_btf_string_fetch()
[all …]
/linux-6.14.4/drivers/media/platform/raspberrypi/rp1-cfe/
Dcfe-fmts.h17 .code = MEDIA_BUS_FMT_YUYV8_1X16,
23 .code = MEDIA_BUS_FMT_UYVY8_1X16,
29 .code = MEDIA_BUS_FMT_YVYU8_1X16,
35 .code = MEDIA_BUS_FMT_VYUY8_1X16,
42 .code = MEDIA_BUS_FMT_RGB565_2X8_LE,
47 .code = MEDIA_BUS_FMT_RGB565_2X8_BE,
53 .code = MEDIA_BUS_FMT_RGB555_2X8_PADHI_LE,
59 .code = MEDIA_BUS_FMT_RGB555_2X8_PADHI_BE,
65 .code = MEDIA_BUS_FMT_RGB888_1X24,
71 .code = MEDIA_BUS_FMT_BGR888_1X24,
[all …]
/linux-6.14.4/LICENSES/dual/
DMPL-1.122 Covered Code available to a third party.
28 Code, prior Modifications used by a Contributor, and the Modifications
31 1.3. "Covered Code" means the Original Code or Modifications or the
32 combination of the Original Code and Modifications, in each case
39 1.5. "Executable" means Covered Code in any form other than Source
40 Code.
43 as the Initial Developer in the Source Code notice required by Exhibit
46 1.7. "Larger Work" means a work which combines Covered Code or
47 portions thereof with code not governed by the terms of this License.
56 substance or structure of either the Original Code or any previous
[all …]
/linux-6.14.4/kernel/bpf/
Ddisasm.c143 insn->code, insn->dst_reg, in print_bpf_end_insn()
144 BPF_SRC(insn->code) == BPF_TO_BE ? "be" : "le", in print_bpf_end_insn()
153 insn->code, insn->dst_reg, in print_bpf_bswap_insn()
159 return (BPF_OP(insn->code) == BPF_DIV || BPF_OP(insn->code) == BPF_MOD) && in is_sdiv_smod()
165 return BPF_OP(insn->code) == BPF_MOV && in is_movsx()
171 return insn->code == (BPF_ALU64 | BPF_MOV | BPF_X) && in is_addr_space_cast()
183 return insn->code == (BPF_ALU64 | BPF_MOV | BPF_X) && insn->off == BPF_ADDR_PERCPU; in is_mov_percpu_addr()
191 u8 class = BPF_CLASS(insn->code); in print_bpf_insn()
194 if (BPF_OP(insn->code) == BPF_END) { in print_bpf_insn()
199 } else if (BPF_OP(insn->code) == BPF_NEG) { in print_bpf_insn()
[all …]
/linux-6.14.4/tools/testing/selftests/bpf/
Ddisasm.c143 insn->code, insn->dst_reg, in print_bpf_end_insn()
144 BPF_SRC(insn->code) == BPF_TO_BE ? "be" : "le", in print_bpf_end_insn()
153 insn->code, insn->dst_reg, in print_bpf_bswap_insn()
159 return (BPF_OP(insn->code) == BPF_DIV || BPF_OP(insn->code) == BPF_MOD) && in is_sdiv_smod()
165 return BPF_OP(insn->code) == BPF_MOV && in is_movsx()
171 return insn->code == (BPF_ALU64 | BPF_MOV | BPF_X) && in is_addr_space_cast()
183 return insn->code == (BPF_ALU64 | BPF_MOV | BPF_X) && insn->off == BPF_ADDR_PERCPU; in is_mov_percpu_addr()
191 u8 class = BPF_CLASS(insn->code); in print_bpf_insn()
194 if (BPF_OP(insn->code) == BPF_END) { in print_bpf_insn()
199 } else if (BPF_OP(insn->code) == BPF_NEG) { in print_bpf_insn()
[all …]
/linux-6.14.4/drivers/staging/media/atomisp/pci/
Dia_css_isp_params.h7 /* Generated code: do not edit or commmit. */
12 /* Code generated by genparam/gencode.c:gen_param_enum() */
64 /* Code generated by genparam/gencode.c:gen_param_offsets() */
137 /* Code generated by genparam/gencode.c:gen_param_process_table() */
146 /* Code generated by genparam/gencode.c:gen_set_function() */
152 /* Code generated by genparam/gencode.c:gen_set_function() */
158 /* Code generated by genparam/gencode.c:gen_set_function() */
164 /* Code generated by genparam/gencode.c:gen_set_function() */
170 /* Code generated by genparam/gencode.c:gen_set_function() */
176 /* Code generated by genparam/gencode.c:gen_set_function() */
[all …]
/linux-6.14.4/drivers/media/platform/qcom/camss/
Dcamss-format.c19 * @code: media bus format code
23 u8 camss_format_get_bpp(const struct camss_format_info *formats, unsigned int nformats, u32 code) in camss_format_get_bpp() argument
28 if (code == formats[i].code) in camss_format_get_bpp()
37 * camss_format_find_code - Find a format code in an array
38 * @code: a pointer to media bus format codes array
39 * @n_code: size of @code array
40 * @index: index of code in the array
41 * @req_code: required code
43 * Return media bus format code
45 u32 camss_format_find_code(u32 *code, unsigned int n_code, unsigned int index, u32 req_code) in camss_format_find_code() argument
[all …]
/linux-6.14.4/Documentation/process/
D1.Intro.rst11 encounter there. There are a great many reasons why kernel code should be
14 influence the direction of kernel development. Code contributed to the
53 The Linux kernel, at over 8 million lines of code and well over 1000
86 thousands of lines of code are being changed every day. So it is not
117 The importance of getting code into the mainline
121 learning how to work with the kernel community and get their code into the
124 contributing code can look like an avoidable expense; it seems easier to
125 just keep the code separate and support users directly. The truth of the
126 matter is that keeping code separate ("out of tree") is a false economy.
128 As a way of illustrating the costs of out-of-tree code, here are a few
[all …]
Dcode-of-conduct-interpretation.rst3 Linux Kernel Contributor Covenant Code of Conduct Interpretation
27 The Code of Conduct uses the term "maintainers" numerous times. In the
35 The Code of Conduct mentions rights and responsibilities for
44 responsibility is upon all of us, and ultimately the Code of Conduct
59 of problems. Enforcement of the code of conduct will only be a last
78 Code of Conduct.
83 the Code of Conduct. The kernel community is aware of that and provides
93 sent to those mailing lists are considered covered by the Code of
97 or bug tracking tools should follow the guidelines of the Code of
100 performed using a kernel.org email account must follow the Code of
[all …]
D4.Coding.rst3 Getting the code right
8 code. It is the code which will be examined by other developers and merged
9 (or not) into the mainline tree. So it is the quality of this code which
27 advisory. As a result, there is a substantial amount of code in the kernel
28 which does not meet the coding style guidelines. The presence of that code
33 code to the kernel is very difficult if that code is not coded according to
34 the standard; many developers will request that the code be reformatted
35 before they will even review it. A code base as large as the kernel
36 requires some uniformity of code to make it possible for developers to
38 strangely-formatted code.
[all …]
/linux-6.14.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfweh.c23 * @code: event code.
32 u32 code; member
41 * struct brcmf_fweh_event_name - code, name mapping entry.
44 enum brcmf_fweh_event_code code; member
52 /* array for mapping code to event name */
59 * brcmf_fweh_event_name() - returns name for given event code.
61 * @code: code to lookup.
63 const char *brcmf_fweh_event_name(enum brcmf_fweh_event_code code) in brcmf_fweh_event_name() argument
67 if (fweh_event_names[i].code == code) in brcmf_fweh_event_name()
73 const char *brcmf_fweh_event_name(enum brcmf_fweh_event_code code) in brcmf_fweh_event_name() argument
[all …]
/linux-6.14.4/tools/net/sunrpc/xdrgen/
DREADME1 xdrgen - Linux Kernel XDR code generator
12 code that implements the RPC portions of that protocol. This tool is
15 This RPC-level code is code that handles input directly from the
18 code can have significant impact on security and performance.
20 However, it is code that is repetitive and tedious to write by hand.
22 The C code generated by rpcgen makes extensive use of the facilities
24 of the generated code is very traditional K&R C.
33 2. rpcgen-generated code is believed to be less efficient than code
36 These days, gcc and its kin are capable of optimizing code better
38 XDR code by hand will make a measurable performance different.
[all …]
/linux-6.14.4/drivers/media/firewire/
Dfiredtv-rc.c21 /* code from device: 0x4501...0x451f */
55 /* code from device: 0x4540...0x4542 */
65 /* code from device: 0x0300...0x031f */
100 /* code from device: 0x0340...0x0354 */
169 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()
[all …]
/linux-6.14.4/scripts/
Ddecodecode3 # Disassemble the Code: line in Linux oopses
26 code=
32 *Code:*)
33 code=$i
40 code="$code $xdump"
50 if [ -z "$code" ]; then
55 echo $code
56 code=`echo $code | sed -e 's/.*Code: //'`
58 width=`expr index "$code" ' '`
121 # @op_bytes: The string of bytes from the Code: line
[all …]
/linux-6.14.4/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_X, \
[all …]
/linux-6.14.4/sound/pci/asihpi/
Dhpidspcd.h10 Functions for reading DSP code to load into DSP
28 /** File type tag "CODE" == 0x45444F43 */
48 /** Expected number of words in the whole dsp code,INCL header */
53 /** internal state of DSP code reader */
58 Code file name is obtained from HpiOs_GetDspCodePath
60 \return 0 for success, or error code if requested code is not available
63 /** Code identifier, usually adapter family */
65 /** Pointer to DSP code control structure */
67 /** Pointer to dword to receive OS specific error code */
70 /** Close the DSP code file */
[all …]
/linux-6.14.4/drivers/staging/greybus/
DKconfig11 To compile this code as a module, chose M here: the module
22 To compile this code as a module, chose M here: the module
32 To compile this code as a module, chose M here: the module
42 To compile this code as a module, chose M here: the module
52 To compile this code as a module, chose M here: the module
62 To compile this code as a module, chose M here: the module
72 To compile this code as a module, chose M here: the module
81 To compile this code as a module, chose M here: the module
90 To compile this code as a module, chose M here: the module
100 To compile this code as a module, chose M here: the module
[all …]
/linux-6.14.4/lib/zlib_inflate/
Dinftrees.c12 Build a set of tables to decode the provided canonical Huffman code.
13 The code lengths are lens[0..codes-1]. The result starts at *table,
15 lens shorts, which is used as a work area. type is the type of code
17 -1 is an invalid code, and +1 means that ENOUGH isn't enough. table
21 longest code or if it is less than the shortest code.
24 code **table, unsigned *bits, unsigned short *work) in zlib_inflate_table()
26 unsigned len; /* a code's length in bits */ in zlib_inflate_table()
27 unsigned sym; /* index of code symbols */ in zlib_inflate_table()
28 unsigned min, max; /* minimum and maximum code lengths */ in zlib_inflate_table()
31 unsigned drop; /* code bits to drop for sub-table */ in zlib_inflate_table()
[all …]
/linux-6.14.4/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-6.14.4/drivers/media/test-drivers/vimc/
Dvimc-common.c24 .code = {
33 .code = {
48 .code = { MEDIA_BUS_FMT_ARGB8888_1X32 },
56 .code = { MEDIA_BUS_FMT_SBGGR8_1X8 },
62 .code = { MEDIA_BUS_FMT_SGBRG8_1X8 },
68 .code = { MEDIA_BUS_FMT_SGRBG8_1X8 },
74 .code = { MEDIA_BUS_FMT_SRGGB8_1X8 },
80 .code = { MEDIA_BUS_FMT_SBGGR10_1X10 },
86 .code = { MEDIA_BUS_FMT_SGBRG10_1X10 },
92 .code = { MEDIA_BUS_FMT_SGRBG10_1X10 },
[all …]
Dvimc-debayer.c28 u32 code; member
60 .code = MEDIA_BUS_FMT_SRGGB8_1X8,
80 .code = MEDIA_BUS_FMT_SBGGR8_1X8,
85 .code = MEDIA_BUS_FMT_SGBRG8_1X8,
90 .code = MEDIA_BUS_FMT_SGRBG8_1X8,
95 .code = MEDIA_BUS_FMT_SRGGB8_1X8,
100 .code = MEDIA_BUS_FMT_SBGGR10_1X10,
105 .code = MEDIA_BUS_FMT_SGBRG10_1X10,
110 .code = MEDIA_BUS_FMT_SGRBG10_1X10,
115 .code = MEDIA_BUS_FMT_SRGGB10_1X10,
[all …]
/linux-6.14.4/Documentation/core-api/
Dentry.rst18 Non-instrumentable code - noinstr
22 for entry code before RCU starts watching and exit code after RCU stops
24 which means that (for example) a breakpoint in the breakpoint entry code would
27 Such code must be marked with the 'noinstr' attribute, placing that code into a
31 instrumentable ranges of code:
33 .. code-block:: c
41 handle_context(); // <-- instrumentable code
55 All non-instrumentable entry/exit code sections before and after the RCU
61 Syscall-entry code starts in assembly code and calls out into low-level C code
63 low-level C code must not be instrumented. A typical syscall handling function
[all …]
/linux-6.14.4/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-6.14.4/drivers/iio/amplifiers/
Dhmc425a.c56 int (*gain_dB_to_code)(int gain, int *code);
57 int (*code_to_gain_dB)(int code, int *val, int *val2);
68 static int gain_dB_to_code(struct hmc425a_state *st, int val, int val2, int *code) in gain_dB_to_code() argument
83 return st->chip_info->gain_dB_to_code(gain, code); in gain_dB_to_code()
86 static int hmc425a_gain_dB_to_code(int gain, int *code) in hmc425a_gain_dB_to_code() argument
88 *code = ~((abs(gain) / 500) & 0x3F); in hmc425a_gain_dB_to_code()
92 static int hmc540s_gain_dB_to_code(int gain, int *code) in hmc540s_gain_dB_to_code() argument
94 *code = ~((abs(gain) / 1000) & 0xF); in hmc540s_gain_dB_to_code()
98 static int adrf5740_gain_dB_to_code(int gain, int *code) in adrf5740_gain_dB_to_code() argument
103 *code = temp & BIT(3) ? temp | BIT(2) : temp; in adrf5740_gain_dB_to_code()
[all …]

12345678910>>...315