Home
last modified time | relevance | path

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

12345678910>>...238

/linux/kernel/trace/
H A 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 …]
H A Dtrace_probe.c3 * Common code for probe-based Dynamic events.
5 * This code was copied from kernel/trace/trace_kprobe.c written by
318 static int parse_trace_event_arg(char *arg, struct fetch_insn *code, in parse_trace_event_arg() argument
327 code->op = FETCH_OP_TP_ARG; in parse_trace_event_arg()
328 code->data = field; in parse_trace_event_arg()
394 struct fetch_insn *code = *pcode + 1; in check_prepare_btf_string_fetch() local
396 if (code->op == FETCH_OP_END) { in check_prepare_btf_string_fetch()
401 code->op = FETCH_OP_UDEREF; in check_prepare_btf_string_fetch()
403 code->op = FETCH_OP_DEREF; in check_prepare_btf_string_fetch()
404 code in check_prepare_btf_string_fetch()
554 struct fetch_insn *code = *pcode; parse_btf_field() local
636 struct fetch_insn *code = *pcode; parse_btf_arg() local
742 struct fetch_insn *code = *pcode; parse_btf_bitfield() local
801 store_entry_arg_at(struct fetch_insn * code,int argnum,int offset) store_entry_arg_at() argument
919 struct fetch_insn *code = &earg->code[i]; store_trace_entry_data() local
948 struct fetch_insn *code = *pcode; NOKPROBE_SYMBOL() local
1087 struct fetch_insn *code = *pcode; parse_probe_arg() local
1258 struct fetch_insn *code = *pcode; __parse_bitfield_probe_arg() local
1353 finalize_fetch_insn(struct fetch_insn * code,struct probe_arg * parg,char * type,int type_offset,struct traceprobe_parse_context * ctx) finalize_fetch_insn() argument
1476 struct fetch_insn *code, *tmp = NULL; traceprobe_parse_probe_arg_body() local
1647 struct fetch_insn *code = arg->code; traceprobe_free_probe_arg() local
1862 struct fetch_insn *code = arg->code; traceprobe_update_arg() local
[all...]
/linux/LICENSES/dual/
H A 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/tools/testing/selftests/bpf/
H A 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) in print_bpf_insn()
[all...]
/linux/drivers/media/platform/qcom/camss/
H A 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/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A 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/drivers/media/firewire/
H A 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/scripts/
H A Ddecodecode3 # Disassemble the Code: line in Linux oopses
25 code=
31 *Code:*)
32 code=$i
39 code="$code $xdump"
49 if [ -z "$code" ]; then
51 die "Code line not found"
54 echo $code
55 code
[all...]
/linux/Documentation/driver-api/cxl/linux/
H A Dmemory-hotplug.rst22 - :code:`CONFIG_MHP_DEFAULT_ONLINE_TYPE` Build Configuration
23 - :code:`memhp_default_state` Boot parameter
24 - :code:`/sys/devices/system/memory/auto_online_blocks` value
29 2) Online in :code:`ZONE_NORMAL`
30 3) Online in :code:`ZONE_MOVABLE`
32 :code:`ZONE_NORMAL` implies this capacity may be used for almost any allocation,
33 while :code:`ZONE_MOVABLE` implies this capacity should only be used for
36 :code:`ZONE_MOVABLE` attempts to retain the hotplug-ability of a memory block
38 onlined into :code:`ZONE_NORMAL` should be considered permanently attached to
51 The location of :code:`struct folio` allocations to represent the hotplugged
[all …]
/linux/tools/include/linux/
H A 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/sound/pci/asihpi/
H A 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/lib/zlib_inflate/
H A 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 …]
H A Dinftrees.h15 information needed to do the operation requested by the code that
17 table that indexes more bits of the code. op indicates whether
19 distance, an end-of-block, or an invalid code. For a table
22 is the number of extra bits to get after the code. bits is
23 the number of bits in this code or part of the code to drop off
29 unsigned char bits; /* bits in this part of the code */
30 unsigned short val; /* offset in table or code value */
31 } code; typedef
38 01000000 - invalid code
42 exhaustive search was 1444 code structures (852 for length/literals
[all …]
H A Dinflate.h34 LENLENS, /* i: waiting for code length code lengths */
35 CODELENS, /* i: waiting for length/lit and distance code lengths */
36 LEN, /* i: waiting for length/lit code */
38 DIST, /* i: waiting for distance code */
96 /* for table and code decoding */
98 /* fixed and dynamic code tables */
99 code const *lencode; /* starting table for length/literal codes */
100 code const *distcode; /* starting table for distance codes */
104 unsigned ncode; /* number of code length code lengths */
105 unsigned nlen; /* number of length code lengths */
[all …]
/linux/drivers/media/test-drivers/vimc/
H A 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 …]
H A 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 …]
/linux/drivers/iio/amplifiers/
H A 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 …]
/linux/samples/bpf/
H A 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/Documentation/rust/
H A Dcoding-guidelines.rst6 This document describes how to write Rust code in the kernel.
12 The code should be formatted using ``rustfmt``. In this way, a person
39 even work with broken code.
48 .. code-block:: rust
60 .. code-block:: rust
82 .. code-block:: rust
97 .. code-block:: rust
109 a hard rule. There is also code that is not migrated to this style yet, but
110 please do not introduce code in other styles.
120 "Normal" comments (i.e. ``//``, rather than code documentation which starts
[all …]
/linux/Documentation/driver-api/cxl/linux/example-configurations/
H A Dmulti-interleave.rst14 This output is generated by :code:`cxl list -v` and describes the relationships
15 between objects exposed in :code:`/sys/bus/cxl/devices/`.
81 Bridge :code:`port1`. In this case, :code:`port1` has 3 available downstream
82 ports: :code:`dport0`, :code:`dport2`, and :code:`dport113`.
141 This chunk shows the endpoints attached to the host bridge :code:`port1`.
143 :code:`endpoint5` contains a single configured decoder :code:`decoder5.0`
144 which has the same interleave configuration as :code:`region0` (shown later).
146 :code:`endpoint6` contains a single configured decoder :code:`decoder5.0`
147 which has the same interleave configuration as :code:`region0` (shown later).
180 Host Bridge :code:`port1` has a single decoder (:code:`decoder1.0`), whose
[all …]
H A Dsingle-device.rst13 This output is generated by :code:`cxl list -v` and describes the relationships
14 between objects exposed in :code:`/sys/bus/cxl/devices/`.
80 Bridge :code:`port1`. In this case, :code:`port1` has 3 available downstream
81 ports: :code:`dport1`, :code:`dport2`, and :code:`dport113`..
113 This chunk shows the endpoints attached to the host bridge :code:`port1`.
115 :code:`endpoint5` contains a single configured decoder :code:`decoder5.0`
116 which has the same interleave configuration as :code:`region0` (shown later).
142 Host Bridge :code:`port1` has a single decoder (:code:`decoder1.0`), whose only
143 target is :code:`dport1` - which is attached to :code:`endpoint5`.
195 Next we have the `Root Decoders` belonging to :code:`root0`. This root decoder
[all …]
H A Dintra-hb-interleave.rst13 This output is generated by :code:`cxl list -v` and describes the relationships
14 between objects exposed in :code:`/sys/bus/cxl/devices/`.
80 Bridge :code:`port1`. In this case, :code:`port1` has 3 available downstream
81 ports: :code:`dport1`, :code:`dport2`, and :code:`dport113`..
140 This chunk shows the endpoints attached to the host bridge :code:`port1`.
142 :code:`endpoint5` contains a single configured decoder :code:`decoder5.0`
177 Host Bridge :code:`port1` has a single decoder (:code:`decoder1.0`) with two
178 targets: :code:`dport1` and :code:`dport3` - which are attached to
179 :code:`endpoint5` and :code:`endpoint6` respectively.
233 Next we have the `Root Decoders` belonging to :code:`root0`. This root decoder
[all …]
H A Dhb-interleave.rst13 This output is generated by :code:`cxl list -v` and describes the relationships
14 between objects exposed in :code:`/sys/bus/cxl/devices/`.
80 Bridge :code:`port1`. In this case, :code:`port1` has 3 available downstream
81 ports: :code:`dport1`, :code:`dport2`, and :code:`dport113`..
114 This chunk shows the endpoints attached to the host bridge :code:`port1`.
116 :code:`endpoint5` contains a single configured decoder :code:`decoder5.0`
117 which has the same interleave configuration as :code:`region0` (shown later).
143 Host Bridge :code:`port1` has a single decoder (:code:`decoder1.0`), whose only
144 target is :code:`dport1` - which is attached to :code:`endpoint5`.
146 The following chunk shows a similar configuration for Host Bridge :code:`port3`,
[all …]
/linux/arch/arm/kernel/
H A Dsigreturn_codes.S3 * sigreturn_codes.S - code sinpets for sigreturn syscalls
21 * Please note sigreturn_codes code are not executed in place. Instead
22 * they just copied by kernel into appropriate places. Code inside of
23 * arch/arm/kernel/signal.c is very sensitive to layout of these code
33 #define ARM_OK(code...) code argument
35 #define ARM_OK(code...) argument
64 * lower arch variants, since these code snippets are only
78 /* ARM sigreturn syscall code snippet */
83 /* Thumb sigreturn syscall code snippet */
88 /* ARM sigreturn_rt syscall code snippet */
[all …]
/linux/net/sched/
H A DKconfig23 This code is considered to be experimental.
59 To compile this code as a module, choose M here: the
68 To compile this code as a module, choose M here: the
77 To compile this code as a module, choose M here: the
86 To compile this code as a module, choose M here: the
97 To compile this code as a module, choose M here: the
108 To compile this code as a module, choose M here: the
119 To compile this code as a module, choose M here: the
131 To compile this code as a module, choose M here: the
142 To compile this code as a module, choose M here: the
[all …]

12345678910>>...238