Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/
Dbpf_verifier.h378 int ctx_field_size; /* the ctx field size for load insn, maybe 0 */ member
Dbpf.h625 int ctx_field_size; member
637 aux->ctx_field_size = size; in bpf_ctx_record_field_size()
/linux-5.19.10/kernel/bpf/
Dverifier.c3963 env->insn_aux_data[insn_idx].ctx_field_size = info.ctx_field_size; in check_ctx_access()
4021 env->insn_aux_data[insn_idx].ctx_field_size = in check_sock_access()
4022 info.ctx_field_size; in check_sock_access()
13299 int i, cnt, size, ctx_field_size, delta = 0; in convert_ctx_accesses() local
13408 ctx_field_size = env->insn_aux_data[i + delta].ctx_field_size; in convert_ctx_accesses()
13416 is_narrower_load = size < ctx_field_size; in convert_ctx_accesses()
13417 size_default = bpf_ctx_off_adjust_machine(ctx_field_size); in convert_ctx_accesses()
13428 if (ctx_field_size == 4) in convert_ctx_accesses()
13430 else if (ctx_field_size == 8) in convert_ctx_accesses()
13441 (ctx_field_size && !target_size)) { in convert_ctx_accesses()
[all …]