/linux/kernel/bpf/ |
H A 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() 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/tools/testing/selftests/bpf/ |
H A 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() 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/raspberrypi/rp1-cfe/ |
H A D | cfe-fmts.h | 17 .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 [all...] |
/linux/drivers/scsi/ |
H A D | script_asm.pl | 179 @code = (); # Array of 32 bit words for SIOP 198 # &patch ($address, $offset, $length, $value) patches $code[$address] 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); 226 # Side effects are that the bytes are combined into the @code arra [all...] |
/linux/kernel/trace/ |
H A 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 317 static int parse_trace_event_arg(char *arg, struct fetch_insn *code, in parse_trace_event_arg() argument 326 code->op = FETCH_OP_TP_ARG; in parse_trace_event_arg() 327 code->data = field; in parse_trace_event_arg() 393 struct fetch_insn *code = *pcode + 1; in check_prepare_btf_string_fetch() local 395 if (code->op == FETCH_OP_END) { in check_prepare_btf_string_fetch() 400 code->op = FETCH_OP_UDEREF; in check_prepare_btf_string_fetch() 402 code->op = FETCH_OP_DEREF; in check_prepare_btf_string_fetch() 403 code in check_prepare_btf_string_fetch() 553 struct fetch_insn *code = *pcode; parse_btf_field() local 635 struct fetch_insn *code = *pcode; parse_btf_arg() local 741 struct fetch_insn *code = *pcode; parse_btf_bitfield() local 800 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/drivers/media/firewire/ |
H A 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 > in fdtv_handle_rc() [all...] |
/linux/arch/s390/kernel/diag/ |
H A D | diag.c | 29 int code; member 34 [DIAG_STAT_X008] = { .code = 0x008, .name = "Console Function" }, 35 [DIAG_STAT_X00C] = { .code = 0x00c, .name = "Pseudo Timer" }, 36 [DIAG_STAT_X010] = { .code = 0x010, .name = "Release Pages" }, 37 [DIAG_STAT_X014] = { .code = 0x014, .name = "Spool File Services" }, 38 [DIAG_STAT_X044] = { .code = 0x044, .name = "Voluntary Timeslice End" }, 39 [DIAG_STAT_X064] = { .code = 0x064, .name = "NSS Manipulation" }, 40 [DIAG_STAT_X08C] = { .code = 0x08c, .name = "Access 3270 Display Device Information" }, 41 [DIAG_STAT_X09C] = { .code = 0x09c, .name = "Relinquish Timeslice" }, 42 [DIAG_STAT_X0DC] = { .code [all...] |
/linux/tools/include/linux/ |
H A 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 [all...] |
/linux/drivers/media/test-drivers/vimc/ |
H A D | vimc-common.c | 24 .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 216 vimc_pix_map_by_code(u32 code) vimc_pix_map_by_code() argument [all...] |
H A D | vimc-debayer.c | 28 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 141 vimc_debayer_pix_map_by_code(u32 code) vimc_debayer_pix_map_by_code() argument 152 vimc_debayer_src_code_is_valid(u32 code) vimc_debayer_src_code_is_valid() argument 180 vimc_debayer_enum_mbus_code(struct v4l2_subdev * sd,struct v4l2_subdev_state * sd_state,struct v4l2_subdev_mbus_code_enum * code) vimc_debayer_enum_mbus_code() argument [all...] |
/linux/drivers/media/platform/qcom/camss/ |
H A D | camss-format.c | 19 * @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 45 camss_format_find_code(u32 * code,unsigned int n_code,unsigned int index,u32 req_code) camss_format_find_code() argument 74 camss_format_find_format(u32 code,u32 pixelformat,const struct camss_format_info * formats,unsigned int nformats) camss_format_find_format() argument [all...] |
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | fweh.c | 23 * @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 73 brcmf_fweh_event_name(enum brcmf_fweh_event_code code) brcmf_fweh_event_name() argument 189 brcmf_fweh_map_event_code(struct brcmf_fweh_info * fweh,enum brcmf_fweh_event_code code,u32 * fw_code) brcmf_fweh_map_event_code() argument 209 brcmf_fweh_map_fwevt_code(struct brcmf_fweh_info * fweh,u32 fw_code,enum brcmf_fweh_event_code * code) brcmf_fweh_map_fwevt_code() argument 268 enum brcmf_fweh_event_code code; brcmf_fweh_event_worker() local 391 brcmf_fweh_register(struct brcmf_pub * drvr,enum brcmf_fweh_event_code code,brcmf_fweh_handler_t handler) brcmf_fweh_register() argument 418 brcmf_fweh_unregister(struct brcmf_pub * drvr,enum brcmf_fweh_event_code code) brcmf_fweh_unregister() argument 436 enum brcmf_fweh_event_code code; brcmf_fweh_activate_events() local [all...] |
/linux/include/linux/ |
H A D | icmpv6.h | 18 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, inf in icmpv6_ndo_send() 68 icmpv6_send(struct sk_buff * skb,u8 type,u8 code,__u32 info) icmpv6_send() argument 73 icmpv6_ndo_send(struct sk_buff * skb,u8 type,u8 code,__u32 info) icmpv6_ndo_send() argument 93 icmpv6_param_prob(struct sk_buff * skb,u8 code,int pos) icmpv6_param_prob() argument [all...] |
/linux/samples/bpf/ |
H A D | bpf_insn.h | 12 .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 [all...] |
/linux/tools/include/uapi/linux/ |
H A D | bpf_common.h | 6 #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) argument [all...] |
H A D | filter.h | 14 * Current version of the filter code architecture. 21 * the BPF code definitions which need to match so you can share filters 25 __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), argument 52 BPF_JUMP(code,k,jt,jf) global() argument [all...] |
/linux/include/uapi/linux/ |
H A D | bpf_common.h | 6 #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) argument [all...] |
H A D | filter.h | 14 * Current version of the filter code architecture. 21 * the BPF code definitions which need to match so you can share filters 25 __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), argument 52 BPF_JUMP(code,k,jt,jf) global() argument [all...] |
/linux/arch/sh/boards/mach-x3proto/ |
H A D | setup.c | 129 .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 [all...] |
/linux/arch/arm/probes/kprobes/ |
H A D | opt-arm.c | 184 kprobe_opcode_t *code; in NOKPROBE_SYMBOL() local 192 code = get_optinsn_slot(); in NOKPROBE_SYMBOL() 193 if (!code) in NOKPROBE_SYMBOL() 221 rel_chk = (unsigned long)((long)code - in NOKPROBE_SYMBOL() 226 * Different from x86, we free code buf directly instead of in NOKPROBE_SYMBOL() 230 free_optinsn_slot(code, 0); in NOKPROBE_SYMBOL() 235 memcpy(code, (unsigned long *)optprobe_template_entry, in NOKPROBE_SYMBOL() 247 code[TMPL_SUB_SP] = __opcode_to_mem_arm(0xe24dd000 | stack_protect); in NOKPROBE_SYMBOL() 249 code[TMPL_ADD_SP] = __opcode_to_mem_arm(0xe28d3000 | stack_protect); in NOKPROBE_SYMBOL() 253 code[TMPL_VAL_ID in NOKPROBE_SYMBOL() [all...] |
/linux/lib/zstd/common/ |
H A D | zstd_common.c | 6 * This source code is licensed under both the BSD-style license (found in the 35 * tells if a return value is an error code 37 unsigned ZSTD_isError(size_t code) { return ERR_isError(code); } in ZSTD_isError() argument 40 * provides error code string from function result (useful for debugging) */ 41 const char* ZSTD_getErrorName(size_t code) { return ERR_getErrorName(code); } in ZSTD_getErrorName() argument 45 ZSTD_ErrorCode ZSTD_getErrorCode(size_t code) { return ERR_getErrorCode(code); } in ZSTD_getErrorCode() argument 48 * provides error code strin 49 ZSTD_getErrorString(ZSTD_ErrorCode code) ZSTD_getErrorString() argument [all...] |
/linux/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_rwpf.c | 26 struct v4l2_subdev_mbus_code_enum *code) in vsp1_rwpf_enum_mbus_code() argument 34 if (code->index >= ARRAY_SIZE(codes)) in vsp1_rwpf_enum_mbus_code() 37 code->code = codes[code->index]; in vsp1_rwpf_enum_mbus_code() 39 if (code->pad == RWPF_PAD_SOURCE && in vsp1_rwpf_enum_mbus_code() 40 code->code == MEDIA_BUS_FMT_AYUV8_1X32) in vsp1_rwpf_enum_mbus_code() 41 code->flags = V4L2_SUBDEV_MBUS_CODE_CSC_YCBCR_ENC in vsp1_rwpf_enum_mbus_code() 77 if (fmt->format.code ! in vsp1_rwpf_set_format() [all...] |
/linux/drivers/usb/serial/ |
H A D | io_ionsp.h | 52 specific to the cmd or status code. This may include a length 165 #define IOSP_EXT_CMD 0x09 // P1 = Command code (defined below) 354 // 0C-0D 4-byte status. P1 = extended status code and P2,P3 = params 402 #define IOSP_EXT_STATUS 0x09 // P1 is status/response code, param in P2. 433 #define IOSP_EXT4_STATUS 0x0C // Extended status code in P1, 446 #define IOSP_GET_STATUS_LEN(code) ((code) < 8 ? 2 : ((code) < 0x0A ? 3 : 4)) argument 448 #define IOSP_STATUS_IS_2BYTE(code) ((code) < argument 449 IOSP_STATUS_IS_3BYTE(code) global() argument 450 IOSP_STATUS_IS_4BYTE(code) global() argument [all...] |
/linux/Documentation/driver-api/cxl/linux/ |
H A D | early-boot.rst | 51 While the kernel parses the EFI memory map, if :code:`Specific Purpose` memory 53 :code:`SOFT_RESERVED`. 55 If :code:`EFI_MEMORY_SP=0`, :code:`CONFIG_EFI_SOFT_RESERVE=n`, or 56 :code:`nosoftreserve=y` - Linux will default a CXL device memory region to 58 :code:`ZONE_NORMAL`, making it available for use for most allocations (including 59 :code:`struct page` and page tables). 61 If `Specific Purpose` is set and supported, :code:`CONFIG_MHP_DEFAULT_ONLINE_TYPE_*` 62 dictates whether the memory is onlined by default (:code:`_OFFLINE` or 63 :code [all...] |
/linux/Documentation/translations/zh_CN/process/ |
H A D | coding-style.rst | 52 .. code-block:: c 73 .. code-block:: c 80 .. code-block:: c 87 .. code-block:: c 128 .. code-block:: c 136 .. code-block:: c 151 .. code-block:: c 165 .. code-block:: c 173 .. code-block:: c 191 .. code [all...] |