Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dbpf_verifier.h302 int ctx_field_size; /* the ctx field size for load insn, maybe 0 */ member
Dbpf.h291 int ctx_field_size; member
297 aux->ctx_field_size = size; in bpf_ctx_record_field_size()
/Linux-v5.4/kernel/bpf/
Dverifier.c2351 env->insn_aux_data[insn_idx].ctx_field_size = info.ctx_field_size; in check_ctx_access()
2408 env->insn_aux_data[insn_idx].ctx_field_size = in check_sock_access()
2409 info.ctx_field_size; in check_sock_access()
8491 int i, cnt, size, ctx_field_size, delta = 0; in convert_ctx_accesses() local
8588 ctx_field_size = env->insn_aux_data[i + delta].ctx_field_size; in convert_ctx_accesses()
8596 is_narrower_load = size < ctx_field_size; in convert_ctx_accesses()
8597 size_default = bpf_ctx_off_adjust_machine(ctx_field_size); in convert_ctx_accesses()
8608 if (ctx_field_size == 4) in convert_ctx_accesses()
8610 else if (ctx_field_size == 8) in convert_ctx_accesses()
8621 (ctx_field_size && !target_size)) { in convert_ctx_accesses()
[all …]