| /kernel/linux/linux-6.6/kernel/trace/ |
| D | trace_probe_tmpl.h | 7 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 …]
|
| D | trace_probe.c | 3 * Common code for probe-based Dynamic events. 5 * This code was copied from kernel/trace/trace_kprobe.c written by 289 static int parse_trace_event_arg(char *arg, struct fetch_insn *code, in parse_trace_event_arg() argument 298 code->op = FETCH_OP_TP_ARG; in parse_trace_event_arg() 299 code->data = field; in parse_trace_event_arg() 365 struct fetch_insn *code = *pcode + 1; in check_prepare_btf_string_fetch() local 367 if (code->op == FETCH_OP_END) { in check_prepare_btf_string_fetch() 372 code->op = FETCH_OP_UDEREF; in check_prepare_btf_string_fetch() 374 code->op = FETCH_OP_DEREF; in check_prepare_btf_string_fetch() 375 code->offset = 0; in check_prepare_btf_string_fetch() [all …]
|
| /kernel/linux/linux-6.6/LICENSES/dual/ |
| D | MPL-1.1 | 22 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 …]
|
| /kernel/linux/linux-5.10/LICENSES/dual/ |
| D | MPL-1.1 | 22 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 …]
|
| /kernel/linux/linux-5.10/kernel/trace/ |
| D | trace_probe_tmpl.h | 7 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 …]
|
| D | trace_probe.c | 3 * Common code for probe-based Dynamic events. 5 * This code was copied from kernel/trace/trace_kprobe.c written by 273 struct fetch_insn *code, unsigned int flags, int offs) in parse_probe_vars() argument 281 code->op = FETCH_OP_RETVAL; in parse_probe_vars() 288 code->op = FETCH_OP_STACKP; in parse_probe_vars() 298 code->op = FETCH_OP_STACK; in parse_probe_vars() 299 code->param = (unsigned int)param; in parse_probe_vars() 304 code->op = FETCH_OP_COMM; in parse_probe_vars() 316 code->op = FETCH_OP_ARG; in parse_probe_vars() 317 code->param = (unsigned int)param - 1; in parse_probe_vars() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
| D | disasm.c | 143 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() 174 u8 class = BPF_CLASS(insn->code); in print_bpf_insn() 177 if (BPF_OP(insn->code) == BPF_END) { in print_bpf_insn() 182 } else if (BPF_OP(insn->code) == BPF_NEG) { in print_bpf_insn() 184 insn->code, class == BPF_ALU ? 'w' : 'r', in print_bpf_insn() 187 } else if (BPF_SRC(insn->code) == BPF_X) { in print_bpf_insn() [all …]
|
| /kernel/linux/linux-6.6/kernel/bpf/ |
| D | disasm.c | 143 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() 174 u8 class = BPF_CLASS(insn->code); in print_bpf_insn() 177 if (BPF_OP(insn->code) == BPF_END) { in print_bpf_insn() 182 } else if (BPF_OP(insn->code) == BPF_NEG) { in print_bpf_insn() 184 insn->code, class == BPF_ALU ? 'w' : 'r', in print_bpf_insn() 187 } else if (BPF_SRC(insn->code) == BPF_X) { in print_bpf_insn() [all …]
|
| /kernel/linux/linux-5.10/kernel/bpf/ |
| D | disasm.c | 112 insn->code, insn->dst_reg, in print_bpf_end_insn() 113 BPF_SRC(insn->code) == BPF_TO_BE ? "be" : "le", in print_bpf_end_insn() 122 u8 class = BPF_CLASS(insn->code); in print_bpf_insn() 125 if (BPF_OP(insn->code) == BPF_END) { in print_bpf_insn() 127 verbose(cbs->private_data, "BUG_alu64_%02x\n", insn->code); in print_bpf_insn() 130 } else if (BPF_OP(insn->code) == BPF_NEG) { in print_bpf_insn() 132 insn->code, class == BPF_ALU ? 'w' : 'r', in print_bpf_insn() 135 } else if (BPF_SRC(insn->code) == BPF_X) { in print_bpf_insn() 137 insn->code, class == BPF_ALU ? 'w' : 'r', in print_bpf_insn() 139 bpf_alu_string[BPF_OP(insn->code) >> 4], in print_bpf_insn() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
| D | ia_css_isp_params.h | 16 /* Generated code: do not edit or commmit. */ 21 /* Code generated by genparam/gencode.c:gen_param_enum() */ 73 /* Code generated by genparam/gencode.c:gen_param_offsets() */ 149 /* Code generated by genparam/gencode.c:gen_param_process_table() */ 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() */ 182 /* Code generated by genparam/gencode.c:gen_set_function() */ 188 /* Code generated by genparam/gencode.c:gen_set_function() */ [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/ |
| D | ia_css_isp_params.h | 16 /* Generated code: do not edit or commmit. */ 21 /* Code generated by genparam/gencode.c:gen_param_enum() */ 73 /* Code generated by genparam/gencode.c:gen_param_offsets() */ 146 /* Code generated by genparam/gencode.c:gen_param_process_table() */ 155 /* Code generated by genparam/gencode.c:gen_set_function() */ 161 /* Code generated by genparam/gencode.c:gen_set_function() */ 167 /* Code generated by genparam/gencode.c:gen_set_function() */ 173 /* Code generated by genparam/gencode.c:gen_set_function() */ 179 /* Code generated by genparam/gencode.c:gen_set_function() */ 185 /* Code generated by genparam/gencode.c:gen_set_function() */ [all …]
|
| /kernel/linux/linux-5.10/Documentation/process/ |
| D | 1.Intro.rst | 11 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 …]
|
| D | 4.Coding.rst | 3 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 …]
|
| /kernel/linux/linux-6.6/Documentation/process/ |
| D | 1.Intro.rst | 11 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 …]
|
| D | 4.Coding.rst | 3 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| D | fweh.c | 22 * @code: event code. 31 enum brcmf_fweh_event_code code; member 40 * struct brcmf_fweh_event_name - code, name mapping entry. 43 enum brcmf_fweh_event_code code; member 51 /* array for mapping code to event name */ 58 * brcmf_fweh_event_name() - returns name for given event code. 60 * @code: code to lookup. 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 [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| D | fweh.c | 22 * @code: event code. 31 enum brcmf_fweh_event_code code; member 40 * struct brcmf_fweh_event_name - code, name mapping entry. 43 enum brcmf_fweh_event_code code; member 51 /* array for mapping code to event name */ 58 * brcmf_fweh_event_name() - returns name for given event code. 60 * @code: code to lookup. 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 [all …]
|
| /kernel/linux/linux-6.6/arch/ia64/kernel/ |
| D | unwind_decoder.c | 30 * UNW_DEC_BAD_CODE(code) 86 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() [all …]
|
| /kernel/linux/linux-5.10/arch/ia64/kernel/ |
| D | unwind_decoder.c | 30 * UNW_DEC_BAD_CODE(code) 86 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() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/firewire/ |
| D | firedtv-rc.c | 21 /* 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 …]
|
| /kernel/linux/linux-5.10/drivers/media/firewire/ |
| D | firedtv-rc.c | 21 /* 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 …]
|
| /kernel/linux/linux-5.10/scripts/ |
| D | decodecode | 3 # Disassemble the Code: line in Linux oopses 24 code= 30 *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" "\<"` [all …]
|
| /kernel/linux/linux-6.6/scripts/ |
| D | decodecode | 3 # 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" ' '` 116 # @op_bytes: The string of bytes from the Code: line [all …]
|
| /kernel/linux/linux-5.10/tools/include/linux/ |
| D | filter.h | 36 .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 …]
|
| /kernel/linux/linux-5.10/arch/s390/kernel/ |
| D | diag.c | 25 int code; member 30 [DIAG_STAT_X008] = { .code = 0x008, .name = "Console Function" }, 31 [DIAG_STAT_X00C] = { .code = 0x00c, .name = "Pseudo Timer" }, 32 [DIAG_STAT_X010] = { .code = 0x010, .name = "Release Pages" }, 33 [DIAG_STAT_X014] = { .code = 0x014, .name = "Spool File Services" }, 34 [DIAG_STAT_X044] = { .code = 0x044, .name = "Voluntary Timeslice End" }, 35 [DIAG_STAT_X064] = { .code = 0x064, .name = "NSS Manipulation" }, 36 [DIAG_STAT_X09C] = { .code = 0x09c, .name = "Relinquish Timeslice" }, 37 [DIAG_STAT_X0DC] = { .code = 0x0dc, .name = "Appldata Control" }, 38 [DIAG_STAT_X204] = { .code = 0x204, .name = "Logical-CPU Utilization" }, [all …]
|