/linux-master/net/core/ |
H A D | filter.c | 299 struct bpf_insn *insn_buf) 301 struct bpf_insn *insn = insn_buf; 342 return insn - insn_buf; 7088 struct bpf_insn *insn_buf, 7091 struct bpf_insn *insn = insn_buf; 7206 return insn - insn_buf; 7282 struct bpf_insn *insn_buf, 7285 struct bpf_insn *insn = insn_buf; 7302 return insn - insn_buf; 8812 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 7086 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 7280 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 8821 bpf_unclone_prologue(struct bpf_insn *insn_buf, bool direct_write, const struct bpf_prog *prog, int drop_verdict) argument 8860 bpf_gen_ld_abs(const struct bpf_insn *orig, struct bpf_insn *insn_buf) argument 8895 tc_cls_act_prologue(struct bpf_insn *insn_buf, bool direct_write, const struct bpf_prog *prog) argument 9223 sk_skb_prologue(struct bpf_insn *insn_buf, bool direct_write, const struct bpf_prog *prog) argument 9345 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 9489 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 9855 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 10030 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 10054 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 10182 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 10271 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 10764 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 10804 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 11365 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 11525 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 D | verifier.c | 18908 struct bpf_insn insn_buf[16], *insn; local 18919 cnt = ops->gen_prologue(insn_buf, env->seen_direct_write, 18921 if (cnt >= ARRAY_SIZE(insn_buf)) { 18925 new_prog = bpf_patch_insn_data(env, 0, insn_buf, cnt); 19060 cnt = convert_ctx_access(type, insn, insn_buf, env->prog, 19062 if (cnt == 0 || cnt >= ARRAY_SIZE(insn_buf) || 19071 if (shift && cnt + 1 >= ARRAY_SIZE(insn_buf)) { 19077 insn_buf[cnt++] = BPF_ALU32_IMM(BPF_RSH, 19080 insn_buf[cnt++] = BPF_ALU32_IMM(BPF_AND, insn->dst_reg, 19084 insn_buf[cn 19441 __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 19458 fixup_kfunc_call(struct bpf_verifier_env *env, struct bpf_insn *insn, struct bpf_insn *insn_buf, int insn_idx, int *cnt) argument 19594 struct bpf_insn insn_buf[16]; local 20289 struct bpf_insn insn_buf[] = { local [all...] |
H A D | hashtab.c | 717 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 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
|
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; 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
|
/linux-master/kernel/trace/ |
H A D | bpf_trace.c | 2186 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
|
/linux-master/include/linux/ |
H A D | bpf.h | 120 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 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/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/arch/x86/kernel/cpu/mce/ |
H A D | severity.c | 225 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/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);
|