/kernel/linux/linux-6.6/arch/riscv/kernel/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
H 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...] |
H 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()
|
/kernel/linux/linux-6.6/drivers/comedi/drivers/ |
H A 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...] |
H A 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()
|
/kernel/linux/linux-5.10/net/xdp/ |
H A D | xskmap.c | 135 static int xsk_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) in xsk_map_gen_lookup() argument 138 struct bpf_insn *insn = insn_buf; in xsk_map_gen_lookup() 148 return insn - insn_buf; in xsk_map_gen_lookup()
|
/kernel/linux/linux-6.6/net/xdp/ |
H A 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()
|
/kernel/linux/linux-5.10/net/core/ |
H A D | filter.c | 296 struct bpf_insn *insn_buf) in convert_skb_access() 298 struct bpf_insn *insn = insn_buf; in convert_skb_access() 339 return insn - insn_buf; in convert_skb_access() 6367 struct bpf_insn *insn_buf, in bpf_tcp_sock_convert_ctx_access() 6370 struct bpf_insn *insn = insn_buf; in bpf_tcp_sock_convert_ctx_access() 6395 if (insn > insn_buf) in bpf_tcp_sock_convert_ctx_access() 6396 return insn - insn_buf; in bpf_tcp_sock_convert_ctx_access() 6486 return insn - insn_buf; in bpf_tcp_sock_convert_ctx_access() 6562 struct bpf_insn *insn_buf, in bpf_xdp_sock_convert_ctx_access() 6565 struct bpf_insn *insn = insn_buf; in bpf_xdp_sock_convert_ctx_access() 295 convert_skb_access(int skb_field, int dst_reg, int src_reg, struct bpf_insn *insn_buf) convert_skb_access() argument 6365 bpf_tcp_sock_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) bpf_tcp_sock_convert_ctx_access() argument 6560 bpf_xdp_sock_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) bpf_xdp_sock_convert_ctx_access() argument 7888 bpf_noop_prologue(struct bpf_insn *insn_buf, bool direct_write, const struct bpf_prog *prog) bpf_noop_prologue() argument 7897 bpf_unclone_prologue(struct bpf_insn *insn_buf, bool direct_write, const struct bpf_prog *prog, int drop_verdict) bpf_unclone_prologue() argument 7936 bpf_gen_ld_abs(const struct bpf_insn *orig, struct bpf_insn *insn_buf) bpf_gen_ld_abs() argument 7971 tc_cls_act_prologue(struct bpf_insn *insn_buf, bool direct_write, const struct bpf_prog *prog) tc_cls_act_prologue() argument 8250 sk_skb_prologue(struct bpf_insn *insn_buf, bool direct_write, const struct bpf_prog *prog) sk_skb_prologue() argument 8371 flow_dissector_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) flow_dissector_convert_ctx_access() argument 8424 bpf_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) bpf_convert_ctx_access() argument 8782 bpf_sock_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) bpf_sock_convert_ctx_access() argument 8957 tc_cls_act_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) tc_cls_act_convert_ctx_access() argument 8981 xdp_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) xdp_convert_ctx_access() argument 9107 sock_addr_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) sock_addr_convert_ctx_access() argument 9196 sock_ops_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) sock_ops_convert_ctx_access() argument 9624 sk_skb_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) sk_skb_convert_ctx_access() argument 9670 sk_msg_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) sk_msg_convert_ctx_access() argument 10215 sk_reuseport_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) sk_reuseport_convert_ctx_access() argument 10352 sk_lookup_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) sk_lookup_convert_ctx_access() argument [all...] |
/kernel/linux/linux-6.6/net/core/ |
H A D | filter.c | 296 struct bpf_insn *insn_buf) in convert_skb_access() 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() 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() 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, boo argument 295 convert_skb_access(int skb_field, int dst_reg, int src_reg, struct bpf_insn *insn_buf) convert_skb_access() argument 7038 bpf_tcp_sock_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) bpf_tcp_sock_convert_ctx_access() argument 7232 bpf_xdp_sock_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) bpf_xdp_sock_convert_ctx_access() argument 8770 bpf_unclone_prologue(struct bpf_insn *insn_buf, bool direct_write, const struct bpf_prog *prog, int drop_verdict) bpf_unclone_prologue() argument 8809 bpf_gen_ld_abs(const struct bpf_insn *orig, struct bpf_insn *insn_buf) bpf_gen_ld_abs() argument 8844 tc_cls_act_prologue(struct bpf_insn *insn_buf, bool direct_write, const struct bpf_prog *prog) tc_cls_act_prologue() argument 9172 sk_skb_prologue(struct bpf_insn *insn_buf, bool direct_write, const struct bpf_prog *prog) sk_skb_prologue() argument 9294 flow_dissector_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) flow_dissector_convert_ctx_access() argument 9438 bpf_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) bpf_convert_ctx_access() argument 9804 bpf_sock_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) bpf_sock_convert_ctx_access() argument 9979 tc_cls_act_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) tc_cls_act_convert_ctx_access() argument 10003 xdp_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) xdp_convert_ctx_access() argument 10131 sock_addr_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) sock_addr_convert_ctx_access() argument 10220 sock_ops_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) sock_ops_convert_ctx_access() argument 10713 sk_skb_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) sk_skb_convert_ctx_access() argument 10753 sk_msg_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) sk_msg_convert_ctx_access() argument 11314 sk_reuseport_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) sk_reuseport_convert_ctx_access() argument 11474 sk_lookup_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) sk_lookup_convert_ctx_access() argument [all...] |
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/ |
H A D | severity.c | 220 u8 insn_buf[MAX_INSN_SIZE]; in is_copy_from_user() local 224 if (copy_from_kernel_nofault(insn_buf, (void *)regs->ip, MAX_INSN_SIZE)) in is_copy_from_user() 227 kernel_insn_init(&insn, insn_buf, MAX_INSN_SIZE); in is_copy_from_user()
|
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/mce/ |
H A 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()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | arraymap.c | 217 static int array_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) in array_map_gen_lookup() argument 220 struct bpf_insn *insn = insn_buf; in array_map_gen_lookup() 246 return insn - insn_buf; in array_map_gen_lookup() 1269 struct bpf_insn *insn_buf) in array_of_map_gen_lookup() 1273 struct bpf_insn *insn = insn_buf; in array_of_map_gen_lookup() 1296 return insn - insn_buf; in array_of_map_gen_lookup() 1268 array_of_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) array_of_map_gen_lookup() argument
|
H A D | hashtab.c | 619 static int htab_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) in htab_map_gen_lookup() argument 621 struct bpf_insn *insn = insn_buf; in htab_map_gen_lookup() 631 return insn - insn_buf; in htab_map_gen_lookup() 659 struct bpf_insn *insn_buf) in htab_lru_map_gen_lookup() 661 struct bpf_insn *insn = insn_buf; in htab_lru_map_gen_lookup() 680 return insn - insn_buf; in htab_lru_map_gen_lookup() 2106 struct bpf_insn *insn_buf) in htab_of_map_gen_lookup() 2108 struct bpf_insn *insn = insn_buf; in htab_of_map_gen_lookup() 2120 return insn - insn_buf; in htab_of_map_gen_lookup() 658 htab_lru_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) htab_lru_map_gen_lookup() argument 2105 htab_of_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) htab_of_map_gen_lookup() argument
|
H A D | cgroup.c | 1795 struct bpf_insn *insn_buf, in sysctl_convert_ctx_access() 1798 struct bpf_insn *insn = insn_buf; in sysctl_convert_ctx_access() 1852 return insn - insn_buf; in sysctl_convert_ctx_access() 1952 struct bpf_insn *insn_buf, in cg_sockopt_convert_ctx_access() 1956 struct bpf_insn *insn = insn_buf; in cg_sockopt_convert_ctx_access() 1994 return insn - insn_buf; in cg_sockopt_convert_ctx_access() 1997 static int cg_sockopt_get_prologue(struct bpf_insn *insn_buf, in cg_sockopt_get_prologue() argument 1793 sysctl_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) sysctl_convert_ctx_access() argument 1950 cg_sockopt_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) cg_sockopt_convert_ctx_access() argument
|
H A D | verifier.c | 11198 struct bpf_insn insn_buf[16], *insn; in convert_ctx_accesses() local 11209 cnt = ops->gen_prologue(insn_buf, env->seen_direct_write, in convert_ctx_accesses() 11211 if (cnt >= ARRAY_SIZE(insn_buf)) { in convert_ctx_accesses() 11215 new_prog = bpf_patch_insn_data(env, 0, insn_buf, cnt); in convert_ctx_accesses() 11334 cnt = convert_ctx_access(type, insn, insn_buf, env->prog, in convert_ctx_accesses() 11336 if (cnt == 0 || cnt >= ARRAY_SIZE(insn_buf) || in convert_ctx_accesses() 11345 if (shift && cnt + 1 >= ARRAY_SIZE(insn_buf)) { in convert_ctx_accesses() 11351 insn_buf[cnt++] = BPF_ALU32_IMM(BPF_RSH, in convert_ctx_accesses() 11354 insn_buf[cnt++] = BPF_ALU32_IMM(BPF_AND, insn->dst_reg, in convert_ctx_accesses() 11358 insn_buf[cn in convert_ctx_accesses() 11646 struct bpf_insn insn_buf[16]; fixup_bpf_calls() local 11715 struct bpf_insn insn_buf[16]; fixup_bpf_calls() local [all...] |
/kernel/linux/linux-6.6/kernel/bpf/ |
H A 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() 1338 struct bpf_insn *insn = insn_buf; in array_of_map_gen_lookup() 1361 return insn - insn_buf; in array_of_map_gen_lookup() 1333 array_of_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) array_of_map_gen_lookup() argument
|
H A D | verifier.c | 18240 struct bpf_insn insn_buf[16], *insn; in convert_ctx_accesses() local 18251 cnt = ops->gen_prologue(insn_buf, env->seen_direct_write, in convert_ctx_accesses() 18253 if (cnt >= ARRAY_SIZE(insn_buf)) { in convert_ctx_accesses() 18257 new_prog = bpf_patch_insn_data(env, 0, insn_buf, cnt); in convert_ctx_accesses() 18384 cnt = convert_ctx_access(type, insn, insn_buf, env->prog, in convert_ctx_accesses() 18386 if (cnt == 0 || cnt >= ARRAY_SIZE(insn_buf) || in convert_ctx_accesses() 18395 if (shift && cnt + 1 >= ARRAY_SIZE(insn_buf)) { in convert_ctx_accesses() 18401 insn_buf[cnt++] = BPF_ALU32_IMM(BPF_RSH, in convert_ctx_accesses() 18404 insn_buf[cnt++] = BPF_ALU32_IMM(BPF_AND, insn->dst_reg, in convert_ctx_accesses() 18408 insn_buf[cn in convert_ctx_accesses() 18752 __fixup_collection_insert_kfunc(struct bpf_insn_aux_data *insn_aux, u16 struct_meta_reg, u16 node_offset_reg, struct bpf_insn *insn, struct bpf_insn *insn_buf, int *cnt) __fixup_collection_insert_kfunc() argument 18769 fixup_kfunc_call(struct bpf_verifier_env *env, struct bpf_insn *insn, struct bpf_insn *insn_buf, int insn_idx, int *cnt) fixup_kfunc_call() argument 18864 struct bpf_insn insn_buf[16]; do_misc_fixups() local 19402 struct bpf_insn insn_buf[] = { inline_bpf_loop() local [all...] |
H A D | cgroup.c | 2223 struct bpf_insn *insn_buf, in sysctl_convert_ctx_access() 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() 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 2221 sysctl_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) sysctl_convert_ctx_access() argument 2425 cg_sockopt_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) cg_sockopt_convert_ctx_access() argument
|
H A D | hashtab.c | 716 static int htab_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) in htab_map_gen_lookup() argument 718 struct bpf_insn *insn = insn_buf; in htab_map_gen_lookup() 728 return insn - insn_buf; in htab_map_gen_lookup() 756 struct bpf_insn *insn_buf) in htab_lru_map_gen_lookup() 758 struct bpf_insn *insn = insn_buf; in htab_lru_map_gen_lookup() 777 return insn - insn_buf; in htab_lru_map_gen_lookup() 2567 struct bpf_insn *insn_buf) in htab_of_map_gen_lookup() 2569 struct bpf_insn *insn = insn_buf; in htab_of_map_gen_lookup() 2581 return insn - insn_buf; in htab_of_map_gen_lookup() 755 htab_lru_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) htab_lru_map_gen_lookup() argument 2566 htab_of_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) htab_of_map_gen_lookup() argument
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | traps.c | 495 u8 insn_buf[MAX_INSN_SIZE]; in get_kernel_gp_address() local 498 if (copy_from_kernel_nofault(insn_buf, (void *)regs->ip, in get_kernel_gp_address() 502 kernel_insn_init(&insn, insn_buf, MAX_INSN_SIZE); in get_kernel_gp_address()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | bpf.h | 90 int (*map_gen_lookup)(struct bpf_map *map, struct bpf_insn *insn_buf); 516 struct bpf_insn *insn_buf); 2015 struct bpf_insn *insn_buf, 2033 struct bpf_insn *insn_buf, in bpf_sock_convert_ctx_access() 2056 struct bpf_insn *insn_buf, 2065 struct bpf_insn *insn_buf, 2078 struct bpf_insn *insn_buf, in bpf_tcp_sock_convert_ctx_access() 2093 struct bpf_insn *insn_buf, in bpf_xdp_sock_convert_ctx_access() 2031 bpf_sock_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) bpf_sock_convert_ctx_access() argument 2076 bpf_tcp_sock_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) bpf_tcp_sock_convert_ctx_access() argument 2091 bpf_xdp_sock_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) bpf_xdp_sock_convert_ctx_access() argument
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A 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()
|
/kernel/linux/linux-6.6/include/linux/ |
H A 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() 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() 3139 struct bpf_insn *insn_buf, in bpf_xdp_sock_convert_ctx_access() 3071 bpf_sock_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) bpf_sock_convert_ctx_access() argument 3122 bpf_tcp_sock_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) bpf_tcp_sock_convert_ctx_access() argument 3137 bpf_xdp_sock_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) bpf_xdp_sock_convert_ctx_access() argument
|
/kernel/linux/linux-5.10/kernel/trace/ |
H A D | bpf_trace.c | 1872 struct bpf_insn *insn_buf, in pe_prog_convert_ctx_access() 1875 struct bpf_insn *insn = insn_buf; in pe_prog_convert_ctx_access() 1903 return insn - insn_buf; in pe_prog_convert_ctx_access() 1870 pe_prog_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) pe_prog_convert_ctx_access() argument
|
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | bpf_trace.c | 2114 struct bpf_insn *insn_buf, in pe_prog_convert_ctx_access() 2117 struct bpf_insn *insn = insn_buf; in pe_prog_convert_ctx_access() 2145 return insn - insn_buf; in pe_prog_convert_ctx_access() 2112 pe_prog_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) pe_prog_convert_ctx_access() argument
|