/linux-master/arch/riscv/kernel/ |
H A D | vector.c | 69 static bool insn_is_vector(u32 insn_buf) argument 71 u32 opcode = insn_buf & __INSN_OPCODE_MASK; 78 if (unlikely(GET_INSN_LENGTH(insn_buf) != 4)) 86 width = RVV_EXRACT_VL_VS_WIDTH(insn_buf); 93 csr = RVG_EXTRACT_SYSTEM_CSR(insn_buf);
|
/linux-master/net/xdp/ |
H A D | xskmap.c | 121 static int xsk_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) argument 124 struct bpf_insn *insn = insn_buf; 134 return insn - insn_buf;
|
/linux-master/drivers/comedi/drivers/ |
H A D | usbduxsigma.c | 149 u8 *insn_buf; member in struct:usbduxsigma_private 576 devpriv->insn_buf, SIZEINSNBUF, 581 if (devpriv->insn_buf[0] == command) 739 *)(devpriv->insn_buf + 1))); 975 s->state = devpriv->insn_buf[1] | 976 (devpriv->insn_buf[2] << 8) | 977 (devpriv->insn_buf[3] << 16); 1252 val = be32_to_cpu(get_unaligned((__be32 *)(devpriv->insn_buf + 1))); 1338 devpriv->insn_buf = kzalloc(SIZEINSNBUF, GFP_KERNEL); 1341 if (!devpriv->dux_commands || !devpriv->in_buf || !devpriv->insn_buf || [all...] |
H A D | usbdux.c | 186 __le16 *insn_buf; member in struct:usbdux_private 617 devpriv->insn_buf, SIZEINSNBUF, 621 if (le16_to_cpu(devpriv->insn_buf[0]) == command) 765 val = le16_to_cpu(devpriv->insn_buf[1]); 1044 data[1] = le16_to_cpu(devpriv->insn_buf[1]); 1072 data[i] = le16_to_cpu(devpriv->insn_buf[chan + 1]); 1445 devpriv->insn_buf = kzalloc(SIZEINSNBUF, GFP_KERNEL); 1450 if (!devpriv->dux_commands || !devpriv->in_buf || !devpriv->insn_buf || 1550 kfree(devpriv->insn_buf);
|
/linux-master/kernel/bpf/ |
H A D | arraymap.c | 205 static int array_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) argument 208 struct bpf_insn *insn = insn_buf; 234 return insn - insn_buf; 250 static int percpu_array_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) argument 253 struct bpf_insn *insn = insn_buf; 278 return insn - insn_buf; 1372 struct bpf_insn *insn_buf) 1376 struct bpf_insn *insn = insn_buf; 1399 return insn - insn_buf; 1371 array_of_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) argument
|
H A D | verifier.c | 19090 struct bpf_insn insn_buf[16], *insn; local 19101 cnt = ops->gen_prologue(insn_buf, env->seen_direct_write, 19103 if (cnt >= ARRAY_SIZE(insn_buf)) { 19107 new_prog = bpf_patch_insn_data(env, 0, insn_buf, cnt); 19248 cnt = convert_ctx_access(type, insn, insn_buf, env->prog, 19250 if (cnt == 0 || cnt >= ARRAY_SIZE(insn_buf) || 19259 if (shift && cnt + 1 >= ARRAY_SIZE(insn_buf)) { 19265 insn_buf[cnt++] = BPF_ALU32_IMM(BPF_RSH, 19268 insn_buf[cnt++] = BPF_ALU32_IMM(BPF_AND, insn->dst_reg, 19272 insn_buf[cn 19644 __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) argument 19661 fixup_kfunc_call(struct bpf_verifier_env *env, struct bpf_insn *insn, struct bpf_insn *insn_buf, int insn_idx, int *cnt) argument 19804 struct bpf_insn insn_buf[16]; local 20583 struct bpf_insn insn_buf[] = { local [all...] |
H A D | hashtab.c | 720 static int htab_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) argument 722 struct bpf_insn *insn = insn_buf; 732 return insn - insn_buf; 760 struct bpf_insn *insn_buf) 762 struct bpf_insn *insn = insn_buf; 781 return insn - insn_buf; 2320 static int htab_percpu_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) argument 2322 struct bpf_insn *insn = insn_buf; 2336 return insn - insn_buf; 2604 struct bpf_insn *insn_buf) 759 htab_lru_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) argument 2603 htab_of_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) argument [all...] |
H A D | cgroup.c | 2224 struct bpf_insn *insn_buf, 2227 struct bpf_insn *insn = insn_buf; 2283 return insn - insn_buf; 2428 struct bpf_insn *insn_buf, 2432 struct bpf_insn *insn = insn_buf; 2501 return insn - insn_buf; 2504 static int cg_sockopt_get_prologue(struct bpf_insn *insn_buf, argument 2222 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) argument 2426 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) argument
|
/linux-master/arch/x86/kernel/cpu/mce/ |
H A D | severity.c | 237 u8 insn_buf[MAX_INSN_SIZE]; local 245 if (copy_from_kernel_nofault(insn_buf, (void *)regs->ip, MAX_INSN_SIZE)) 248 ret = insn_decode_kernel(&insn, insn_buf);
|
/linux-master/net/core/ |
H A D | filter.c | 302 struct bpf_insn *insn_buf) 304 struct bpf_insn *insn = insn_buf; 345 return insn - insn_buf; 7098 struct bpf_insn *insn_buf, 7101 struct bpf_insn *insn = insn_buf; 7216 return insn - insn_buf; 7292 struct bpf_insn *insn_buf, 7295 struct bpf_insn *insn = insn_buf; 7312 return insn - insn_buf; 8820 static int bpf_noop_prologue(struct bpf_insn *insn_buf, boo argument 301 convert_skb_access(int skb_field, int dst_reg, int src_reg, struct bpf_insn *insn_buf) argument 7096 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) argument 7290 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) argument 8829 bpf_unclone_prologue(struct bpf_insn *insn_buf, bool direct_write, const struct bpf_prog *prog, int drop_verdict) argument 8868 bpf_gen_ld_abs(const struct bpf_insn *orig, struct bpf_insn *insn_buf) argument 8903 tc_cls_act_prologue(struct bpf_insn *insn_buf, bool direct_write, const struct bpf_prog *prog) argument 9231 sk_skb_prologue(struct bpf_insn *insn_buf, bool direct_write, const struct bpf_prog *prog) argument 9353 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) argument 9497 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) argument 9863 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) argument 10038 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) argument 10062 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) argument 10190 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) argument 10279 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) argument 10772 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) argument 10812 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) argument 11373 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) argument 11533 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) argument [all...] |
/linux-master/include/linux/ |
H A D | bpf.h | 120 int (*map_gen_lookup)(struct bpf_map *map, struct bpf_insn *insn_buf); 969 struct bpf_insn *insn_buf); 3258 struct bpf_insn *insn_buf, 3278 struct bpf_insn *insn_buf, 3307 struct bpf_insn *insn_buf, 3316 struct bpf_insn *insn_buf, 3329 struct bpf_insn *insn_buf, 3344 struct bpf_insn *insn_buf, 3276 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) argument 3327 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) argument 3342 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) argument
|
/linux-master/arch/x86/kernel/ |
H A D | traps.c | 501 u8 insn_buf[MAX_INSN_SIZE]; local 505 if (copy_from_kernel_nofault(insn_buf, (void *)regs->ip, 509 ret = insn_decode_kernel(&insn, insn_buf);
|
/linux-master/kernel/trace/ |
H A D | bpf_trace.c | 2200 struct bpf_insn *insn_buf, 2203 struct bpf_insn *insn = insn_buf; 2231 return insn - insn_buf; 2198 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) argument
|