Searched refs:insn_buf (Results 1 - 2 of 2) sorted by relevance
/device/soc/rockchip/common/sdk_linux/include/linux/ |
H A D | bpf.h | 81 int (*map_gen_lookup)(struct bpf_map *map, struct bpf_insn *insn_buf); 478 int (*gen_ld_abs)(const struct bpf_insn *orig, struct bpf_insn *insn_buf); 1824 u32 bpf_sock_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, 1838 struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) in bpf_sock_convert_ctx_access() 1856 u32 bpf_tcp_sock_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, 1861 u32 bpf_xdp_sock_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, 1871 struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) in bpf_tcp_sock_convert_ctx_access() 1882 struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) in bpf_xdp_sock_convert_ctx_access() 1837 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 1870 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 1881 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
|
/device/soc/rockchip/common/sdk_linux/kernel/bpf/ |
H A D | verifier.c | 10791 struct bpf_insn insn_buf[VERIFIER_SIXTEEN], *insn;
in convert_ctx_accesses() local 10802 cnt = ops->gen_prologue(insn_buf, env->seen_direct_write, env->prog);
in convert_ctx_accesses() 10803 if (cnt >= ARRAY_SIZE(insn_buf)) {
in convert_ctx_accesses() 10807 new_prog = bpf_patch_insn_data(env, 0, insn_buf, cnt);
in convert_ctx_accesses() 10924 cnt = convert_ctx_access(type, insn, insn_buf, env->prog, &target_size);
in convert_ctx_accesses() 10925 if (cnt == 0 || cnt >= ARRAY_SIZE(insn_buf) || (ctx_field_size && !target_size)) {
in convert_ctx_accesses() 10932 if (shift && cnt + 1 >= ARRAY_SIZE(insn_buf)) {
in convert_ctx_accesses() 10938 insn_buf[cnt++] = BPF_ALU32_IMM(BPF_RSH, insn->dst_reg, shift);
in convert_ctx_accesses() 10940 insn_buf[cnt++] = BPF_ALU32_IMM(BPF_AND, insn->dst_reg, ((1 << size) * VERIFIER_EIGHT) - 1);
in convert_ctx_accesses() 10943 insn_buf[cn in convert_ctx_accesses() 11233 struct bpf_insn insn_buf[VERIFIER_SIXTEEN]; fixup_bpf_calls() local [all...] |
Completed in 28 milliseconds