Searched refs:insn_buf (Results 1 - 13 of 13) sorted by relevance

/linux-master/arch/riscv/kernel/
H A Dvector.c69 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 Dxskmap.c121 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 Dusbduxsigma.c149 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 Dusbdux.c186 __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/arch/x86/kernel/cpu/mce/
H A Dseverity.c225 u8 insn_buf[MAX_INSN_SIZE]; local
233 if (copy_from_kernel_nofault(insn_buf, (void *)regs->ip, MAX_INSN_SIZE))
236 ret = insn_decode_kernel(&insn, insn_buf);
/linux-master/net/core/
H A Dfilter.c299 struct bpf_insn *insn_buf)
301 struct bpf_insn *insn = insn_buf;
342 return insn - insn_buf;
7066 struct bpf_insn *insn_buf,
7069 struct bpf_insn *insn = insn_buf;
7184 return insn - insn_buf;
7260 struct bpf_insn *insn_buf,
7263 struct bpf_insn *insn = insn_buf;
7280 return insn - insn_buf;
8790 static int bpf_noop_prologue(struct bpf_insn *insn_buf, boo argument
298 convert_skb_access(int skb_field, int dst_reg, int src_reg, struct bpf_insn *insn_buf) argument
7064 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
7258 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
8799 bpf_unclone_prologue(struct bpf_insn *insn_buf, bool direct_write, const struct bpf_prog *prog, int drop_verdict) argument
8838 bpf_gen_ld_abs(const struct bpf_insn *orig, struct bpf_insn *insn_buf) argument
8873 tc_cls_act_prologue(struct bpf_insn *insn_buf, bool direct_write, const struct bpf_prog *prog) argument
9201 sk_skb_prologue(struct bpf_insn *insn_buf, bool direct_write, const struct bpf_prog *prog) argument
9323 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
9467 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
9833 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
10008 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
10032 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
10160 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
10249 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
10742 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
10782 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
11343 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
11503 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/kernel/bpf/
H A Darraymap.c205 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;
1334 struct bpf_insn *insn_buf)
1338 struct bpf_insn *insn = insn_buf;
1361 return insn - insn_buf;
1333 array_of_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) argument
H A Dverifier.c18909 struct bpf_insn insn_buf[16], *insn; local
18920 cnt = ops->gen_prologue(insn_buf, env->seen_direct_write,
18922 if (cnt >= ARRAY_SIZE(insn_buf)) {
18926 new_prog = bpf_patch_insn_data(env, 0, insn_buf, cnt);
19061 cnt = convert_ctx_access(type, insn, insn_buf, env->prog,
19063 if (cnt == 0 || cnt >= ARRAY_SIZE(insn_buf) ||
19072 if (shift && cnt + 1 >= ARRAY_SIZE(insn_buf)) {
19078 insn_buf[cnt++] = BPF_ALU32_IMM(BPF_RSH,
19081 insn_buf[cnt++] = BPF_ALU32_IMM(BPF_AND, insn->dst_reg,
19085 insn_buf[cn
19442 __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
19459 fixup_kfunc_call(struct bpf_verifier_env *env, struct bpf_insn *insn, struct bpf_insn *insn_buf, int insn_idx, int *cnt) argument
19595 struct bpf_insn insn_buf[16]; local
20260 struct bpf_insn insn_buf[] = { local
[all...]
H A Dhashtab.c717 static int htab_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) argument
719 struct bpf_insn *insn = insn_buf;
729 return insn - insn_buf;
757 struct bpf_insn *insn_buf)
759 struct bpf_insn *insn = insn_buf;
778 return insn - insn_buf;
2574 struct bpf_insn *insn_buf)
2576 struct bpf_insn *insn = insn_buf;
2588 return insn - insn_buf;
756 htab_lru_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) argument
2573 htab_of_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) argument
H A Dcgroup.c2224 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/include/linux/
H A Dbpf.h120 int (*map_gen_lookup)(struct bpf_map *map, struct bpf_insn *insn_buf);
959 struct bpf_insn *insn_buf);
3252 struct bpf_insn *insn_buf,
3272 struct bpf_insn *insn_buf,
3301 struct bpf_insn *insn_buf,
3310 struct bpf_insn *insn_buf,
3323 struct bpf_insn *insn_buf,
3338 struct bpf_insn *insn_buf,
3270 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
3321 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
3336 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 Dtraps.c501 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 Dbpf_trace.c2186 struct bpf_insn *insn_buf,
2189 struct bpf_insn *insn = insn_buf;
2217 return insn - insn_buf;
2184 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

Completed in 375 milliseconds