Home
last modified time | relevance | path

Searched refs:ctx_field_size (Results 1 – 3 of 3) sorted by relevance

/linux/include/linux/
H A Dbpf_verifier.h572 int ctx_field_size; /* the ctx field size for load insn, maybe 0 */ member
H A Dbpf.h942 int ctx_field_size; member
955 aux->ctx_field_size = size; in bpf_ctx_record_field_size()
/linux/kernel/bpf/
H A Dverifier.c5724 env->insn_aux_data[insn_idx].ctx_field_size = info.ctx_field_size; in check_ctx_access()
5782 env->insn_aux_data[insn_idx].ctx_field_size = in check_sock_access()
5783 info.ctx_field_size; in check_sock_access()
19687 int i, cnt, size, ctx_field_size, delta = 0, epilogue_cnt = 0; in convert_ctx_accesses() local
19862 ctx_field_size = env->insn_aux_data[i + delta].ctx_field_size; in convert_ctx_accesses()
19871 is_narrower_load = size < ctx_field_size; in convert_ctx_accesses()
19872 size_default = bpf_ctx_off_adjust_machine(ctx_field_size); in convert_ctx_accesses()
19883 if (ctx_field_size == 4) in convert_ctx_accesses()
19885 else if (ctx_field_size == 8) in convert_ctx_accesses()
19896 (ctx_field_size && !target_size)) { in convert_ctx_accesses()
[all …]