/linux-6.6.21/arch/riscv/kernel/ |
D | vector.c | 50 static bool insn_is_vector(u32 insn_buf) in insn_is_vector() argument 52 u32 opcode = insn_buf & __INSN_OPCODE_MASK; in insn_is_vector() 59 if (unlikely(GET_INSN_LENGTH(insn_buf) != 4)) in insn_is_vector() 67 width = RVV_EXRACT_VL_VS_WIDTH(insn_buf); in insn_is_vector() 74 csr = RVG_EXTRACT_SYSTEM_CSR(insn_buf); in insn_is_vector()
|
/linux-6.6.21/drivers/comedi/drivers/ |
D | usbduxsigma.c | 149 u8 *insn_buf; member 576 devpriv->insn_buf, SIZEINSNBUF, in usbduxsigma_receive_cmd() 581 if (devpriv->insn_buf[0] == command) in usbduxsigma_receive_cmd() 739 *)(devpriv->insn_buf + 1))); in usbduxsigma_ai_insn_read() 975 s->state = devpriv->insn_buf[1] | in usbduxsigma_dio_insn_bits() 976 (devpriv->insn_buf[2] << 8) | in usbduxsigma_dio_insn_bits() 977 (devpriv->insn_buf[3] << 16); in usbduxsigma_dio_insn_bits() 1252 val = be32_to_cpu(get_unaligned((__be32 *)(devpriv->insn_buf + 1))); in usbduxsigma_getstatusinfo() 1338 devpriv->insn_buf = kzalloc(SIZEINSNBUF, GFP_KERNEL); in usbduxsigma_alloc_usb_buffers() 1341 if (!devpriv->dux_commands || !devpriv->in_buf || !devpriv->insn_buf || in usbduxsigma_alloc_usb_buffers() [all …]
|
D | usbdux.c | 186 __le16 *insn_buf; member 617 devpriv->insn_buf, SIZEINSNBUF, in receive_dux_commands() 621 if (le16_to_cpu(devpriv->insn_buf[0]) == command) in receive_dux_commands() 765 val = le16_to_cpu(devpriv->insn_buf[1]); in usbdux_ai_insn_read() 1044 data[1] = le16_to_cpu(devpriv->insn_buf[1]); in usbdux_dio_insn_bits() 1072 data[i] = le16_to_cpu(devpriv->insn_buf[chan + 1]); in usbdux_counter_read() 1445 devpriv->insn_buf = kzalloc(SIZEINSNBUF, GFP_KERNEL); in usbdux_alloc_usb_buffers() 1450 if (!devpriv->dux_commands || !devpriv->in_buf || !devpriv->insn_buf || in usbdux_alloc_usb_buffers() 1550 kfree(devpriv->insn_buf); in usbdux_free_usb_buffers()
|
/linux-6.6.21/net/xdp/ |
D | xskmap.c | 121 static int xsk_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) in xsk_map_gen_lookup() argument 124 struct bpf_insn *insn = insn_buf; in xsk_map_gen_lookup() 134 return insn - insn_buf; in xsk_map_gen_lookup()
|
/linux-6.6.21/arch/x86/kernel/cpu/mce/ |
D | severity.c | 225 u8 insn_buf[MAX_INSN_SIZE]; in is_copy_from_user() local 233 if (copy_from_kernel_nofault(insn_buf, (void *)regs->ip, MAX_INSN_SIZE)) in is_copy_from_user() 236 ret = insn_decode_kernel(&insn, insn_buf); in is_copy_from_user()
|
/linux-6.6.21/net/core/ |
D | filter.c | 296 struct bpf_insn *insn_buf) in convert_skb_access() argument 298 struct bpf_insn *insn = insn_buf; in convert_skb_access() 339 return insn - insn_buf; in convert_skb_access() 7040 struct bpf_insn *insn_buf, in bpf_tcp_sock_convert_ctx_access() argument 7043 struct bpf_insn *insn = insn_buf; in bpf_tcp_sock_convert_ctx_access() 7158 return insn - insn_buf; in bpf_tcp_sock_convert_ctx_access() 7234 struct bpf_insn *insn_buf, in bpf_xdp_sock_convert_ctx_access() argument 7237 struct bpf_insn *insn = insn_buf; in bpf_xdp_sock_convert_ctx_access() 7254 return insn - insn_buf; in bpf_xdp_sock_convert_ctx_access() 8761 static int bpf_noop_prologue(struct bpf_insn *insn_buf, bool direct_write, in bpf_noop_prologue() argument [all …]
|
/linux-6.6.21/kernel/bpf/ |
D | verifier.c | 18237 struct bpf_insn insn_buf[16], *insn; in convert_ctx_accesses() local 18248 cnt = ops->gen_prologue(insn_buf, env->seen_direct_write, in convert_ctx_accesses() 18250 if (cnt >= ARRAY_SIZE(insn_buf)) { in convert_ctx_accesses() 18254 new_prog = bpf_patch_insn_data(env, 0, insn_buf, cnt); in convert_ctx_accesses() 18381 cnt = convert_ctx_access(type, insn, insn_buf, env->prog, in convert_ctx_accesses() 18383 if (cnt == 0 || cnt >= ARRAY_SIZE(insn_buf) || in convert_ctx_accesses() 18392 if (shift && cnt + 1 >= ARRAY_SIZE(insn_buf)) { in convert_ctx_accesses() 18398 insn_buf[cnt++] = BPF_ALU32_IMM(BPF_RSH, in convert_ctx_accesses() 18401 insn_buf[cnt++] = BPF_ALU32_IMM(BPF_AND, insn->dst_reg, in convert_ctx_accesses() 18405 insn_buf[cnt++] = BPF_ALU64_IMM(BPF_RSH, in convert_ctx_accesses() [all …]
|
D | arraymap.c | 205 static int array_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) in array_map_gen_lookup() argument 208 struct bpf_insn *insn = insn_buf; in array_map_gen_lookup() 234 return insn - insn_buf; in array_map_gen_lookup() 1334 struct bpf_insn *insn_buf) in array_of_map_gen_lookup() argument 1338 struct bpf_insn *insn = insn_buf; in array_of_map_gen_lookup() 1361 return insn - insn_buf; in array_of_map_gen_lookup()
|
D | hashtab.c | 712 static int htab_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) in htab_map_gen_lookup() argument 714 struct bpf_insn *insn = insn_buf; in htab_map_gen_lookup() 724 return insn - insn_buf; in htab_map_gen_lookup() 752 struct bpf_insn *insn_buf) in htab_lru_map_gen_lookup() argument 754 struct bpf_insn *insn = insn_buf; in htab_lru_map_gen_lookup() 773 return insn - insn_buf; in htab_lru_map_gen_lookup() 2563 struct bpf_insn *insn_buf) in htab_of_map_gen_lookup() argument 2565 struct bpf_insn *insn = insn_buf; in htab_of_map_gen_lookup() 2577 return insn - insn_buf; in htab_of_map_gen_lookup()
|
D | cgroup.c | 2223 struct bpf_insn *insn_buf, in sysctl_convert_ctx_access() argument 2226 struct bpf_insn *insn = insn_buf; in sysctl_convert_ctx_access() 2282 return insn - insn_buf; in sysctl_convert_ctx_access() 2427 struct bpf_insn *insn_buf, in cg_sockopt_convert_ctx_access() argument 2431 struct bpf_insn *insn = insn_buf; in cg_sockopt_convert_ctx_access() 2500 return insn - insn_buf; in cg_sockopt_convert_ctx_access() 2503 static int cg_sockopt_get_prologue(struct bpf_insn *insn_buf, in cg_sockopt_get_prologue() argument
|
/linux-6.6.21/arch/x86/kernel/ |
D | traps.c | 499 u8 insn_buf[MAX_INSN_SIZE]; in get_kernel_gp_address() local 503 if (copy_from_kernel_nofault(insn_buf, (void *)regs->ip, in get_kernel_gp_address() 507 ret = insn_decode_kernel(&insn, insn_buf); in get_kernel_gp_address()
|
/linux-6.6.21/include/linux/ |
D | bpf.h | 114 int (*map_gen_lookup)(struct bpf_map *map, struct bpf_insn *insn_buf); 946 struct bpf_insn *insn_buf); 3053 struct bpf_insn *insn_buf, 3073 struct bpf_insn *insn_buf, in bpf_sock_convert_ctx_access() argument 3102 struct bpf_insn *insn_buf, 3111 struct bpf_insn *insn_buf, 3124 struct bpf_insn *insn_buf, in bpf_tcp_sock_convert_ctx_access() argument 3139 struct bpf_insn *insn_buf, in bpf_xdp_sock_convert_ctx_access() argument
|
/linux-6.6.21/kernel/trace/ |
D | bpf_trace.c | 2114 struct bpf_insn *insn_buf, in pe_prog_convert_ctx_access() argument 2117 struct bpf_insn *insn = insn_buf; in pe_prog_convert_ctx_access() 2145 return insn - insn_buf; in pe_prog_convert_ctx_access()
|