/linux/drivers/comedi/drivers/ |
A D | usbduxsigma.c | 150 u8 *insn_buf; member 577 devpriv->insn_buf, SIZEINSNBUF, in usbduxsigma_receive_cmd() 582 if (devpriv->insn_buf[0] == command) in usbduxsigma_receive_cmd() 740 *)(devpriv->insn_buf + 1))); in usbduxsigma_ai_insn_read() 976 s->state = devpriv->insn_buf[1] | in usbduxsigma_dio_insn_bits() 977 (devpriv->insn_buf[2] << 8) | in usbduxsigma_dio_insn_bits() 978 (devpriv->insn_buf[3] << 16); in usbduxsigma_dio_insn_bits() 1253 val = be32_to_cpu(get_unaligned((__be32 *)(devpriv->insn_buf + 1))); in usbduxsigma_getstatusinfo() 1339 devpriv->insn_buf = kzalloc(SIZEINSNBUF, GFP_KERNEL); in usbduxsigma_alloc_usb_buffers() 1342 if (!devpriv->dux_commands || !devpriv->in_buf || !devpriv->insn_buf || in usbduxsigma_alloc_usb_buffers() [all …]
|
A D | usbdux.c | 187 __le16 *insn_buf; member 618 devpriv->insn_buf, SIZEINSNBUF, in receive_dux_commands() 622 if (le16_to_cpu(devpriv->insn_buf[0]) == command) in receive_dux_commands() 766 val = le16_to_cpu(devpriv->insn_buf[1]); in usbdux_ai_insn_read() 1045 data[1] = le16_to_cpu(devpriv->insn_buf[1]); in usbdux_dio_insn_bits() 1073 data[i] = le16_to_cpu(devpriv->insn_buf[chan + 1]); in usbdux_counter_read() 1446 devpriv->insn_buf = kzalloc(SIZEINSNBUF, GFP_KERNEL); in usbdux_alloc_usb_buffers() 1451 if (!devpriv->dux_commands || !devpriv->in_buf || !devpriv->insn_buf || in usbdux_alloc_usb_buffers() 1551 kfree(devpriv->insn_buf); in usbdux_free_usb_buffers()
|
/linux/net/xdp/ |
A D | xskmap.c | 111 static int xsk_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) in xsk_map_gen_lookup() argument 114 struct bpf_insn *insn = insn_buf; in xsk_map_gen_lookup() 124 return insn - insn_buf; in xsk_map_gen_lookup()
|
/linux/net/core/ |
A D | filter.c | 334 return insn - insn_buf; in convert_skb_access() 6500 if (insn > insn_buf) in bpf_tcp_sock_convert_ctx_access() 6591 return insn - insn_buf; in bpf_tcp_sock_convert_ctx_access() 6687 return insn - insn_buf; in bpf_xdp_sock_convert_ctx_access() 8054 return insn - insn_buf; in bpf_unclone_prologue() 8089 return insn - insn_buf; in bpf_gen_ld_abs() 8522 return insn - insn_buf; in flow_dissector_convert_ctx_access() 8912 return insn - insn_buf; in bpf_convert_ctx_access() 9087 return insn - insn_buf; in bpf_sock_convert_ctx_access() 9111 return insn - insn_buf; in tc_cls_act_convert_ctx_access() [all …]
|
/linux/arch/x86/kernel/cpu/mce/ |
A D | severity.c | 220 u8 insn_buf[MAX_INSN_SIZE]; in is_copy_from_user() local 225 if (copy_from_kernel_nofault(insn_buf, (void *)regs->ip, MAX_INSN_SIZE)) in is_copy_from_user() 228 ret = insn_decode_kernel(&insn, insn_buf); in is_copy_from_user()
|
/linux/kernel/bpf/ |
A D | arraymap.c | 201 static int array_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) in array_map_gen_lookup() argument 204 struct bpf_insn *insn = insn_buf; in array_map_gen_lookup() 230 return insn - insn_buf; in array_map_gen_lookup() 1307 struct bpf_insn *insn_buf) in array_of_map_gen_lookup() argument 1311 struct bpf_insn *insn = insn_buf; in array_of_map_gen_lookup() 1334 return insn - insn_buf; in array_of_map_gen_lookup()
|
A D | cgroup.c | 1848 struct bpf_insn *insn_buf, in sysctl_convert_ctx_access() argument 1851 struct bpf_insn *insn = insn_buf; in sysctl_convert_ctx_access() 1905 return insn - insn_buf; in sysctl_convert_ctx_access() 2031 struct bpf_insn *insn_buf, in cg_sockopt_convert_ctx_access() argument 2035 struct bpf_insn *insn = insn_buf; in cg_sockopt_convert_ctx_access() 2073 return insn - insn_buf; in cg_sockopt_convert_ctx_access() 2076 static int cg_sockopt_get_prologue(struct bpf_insn *insn_buf, in cg_sockopt_get_prologue() argument
|
A D | hashtab.c | 664 static int htab_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) in htab_map_gen_lookup() argument 666 struct bpf_insn *insn = insn_buf; in htab_map_gen_lookup() 676 return insn - insn_buf; in htab_map_gen_lookup() 704 struct bpf_insn *insn_buf) in htab_lru_map_gen_lookup() argument 706 struct bpf_insn *insn = insn_buf; in htab_lru_map_gen_lookup() 725 return insn - insn_buf; in htab_lru_map_gen_lookup() 2392 struct bpf_insn *insn_buf) in htab_of_map_gen_lookup() argument 2394 struct bpf_insn *insn = insn_buf; in htab_of_map_gen_lookup() 2406 return insn - insn_buf; in htab_of_map_gen_lookup()
|
A D | verifier.c | 12396 struct bpf_insn insn_buf[16], *insn; in convert_ctx_accesses() local 12409 if (cnt >= ARRAY_SIZE(insn_buf)) { in convert_ctx_accesses() 12894 struct bpf_insn insn_buf[16]; in do_misc_fixups() local 13002 cnt = patch - insn_buf; in do_misc_fixups() 13094 insn_buf[2] = *insn; in do_misc_fixups() 13124 insn_buf[0] = ld_addrs[0]; in do_misc_fixups() 13125 insn_buf[1] = ld_addrs[1]; in do_misc_fixups() 13126 insn_buf[2] = *insn; in do_misc_fixups() 13169 insn_buf, cnt); in do_misc_fixups() 13240 insn_buf[0] = ld_jiffies_addr[0]; in do_misc_fixups() [all …]
|
/linux/arch/x86/kernel/ |
A D | traps.c | 500 u8 insn_buf[MAX_INSN_SIZE]; in get_kernel_gp_address() local 504 if (copy_from_kernel_nofault(insn_buf, (void *)regs->ip, in get_kernel_gp_address() 508 ret = insn_decode_kernel(&insn, insn_buf); in get_kernel_gp_address()
|
/linux/include/linux/ |
A D | bpf.h | 96 int (*map_gen_lookup)(struct bpf_map *map, struct bpf_insn *insn_buf); 513 struct bpf_insn *insn_buf); 2173 struct bpf_insn *insn_buf, 2191 struct bpf_insn *insn_buf, in bpf_sock_convert_ctx_access() argument 2215 struct bpf_insn *insn_buf, 2224 struct bpf_insn *insn_buf, 2237 struct bpf_insn *insn_buf, in bpf_tcp_sock_convert_ctx_access() argument 2252 struct bpf_insn *insn_buf, in bpf_xdp_sock_convert_ctx_access() argument
|
/linux/kernel/trace/ |
A D | bpf_trace.c | 1746 struct bpf_insn *insn_buf, in pe_prog_convert_ctx_access() argument 1749 struct bpf_insn *insn = insn_buf; in pe_prog_convert_ctx_access() 1777 return insn - insn_buf; in pe_prog_convert_ctx_access()
|