Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dbpf_verifier.h505 int ctx_field_size; /* the ctx field size for load insn, maybe 0 */ member
Dbpf.h900 int ctx_field_size; member
912 aux->ctx_field_size = size; in bpf_ctx_record_field_size()
/linux-6.6.21/kernel/bpf/
Dverifier.c5566 env->insn_aux_data[insn_idx].ctx_field_size = info.ctx_field_size; in check_ctx_access()
5624 env->insn_aux_data[insn_idx].ctx_field_size = in check_sock_access()
5625 info.ctx_field_size; in check_sock_access()
18235 int i, cnt, size, ctx_field_size, delta = 0; in convert_ctx_accesses() local
18350 ctx_field_size = env->insn_aux_data[i + delta].ctx_field_size; in convert_ctx_accesses()
18359 is_narrower_load = size < ctx_field_size; in convert_ctx_accesses()
18360 size_default = bpf_ctx_off_adjust_machine(ctx_field_size); in convert_ctx_accesses()
18371 if (ctx_field_size == 4) in convert_ctx_accesses()
18373 else if (ctx_field_size == 8) in convert_ctx_accesses()
18384 (ctx_field_size && !target_size)) { in convert_ctx_accesses()
[all …]