Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dbpf_verifier.h330 int ctx_field_size; /* the ctx field size for load insn, maybe 0 */ member
Dbpf.h480 int ctx_field_size; member
489 aux->ctx_field_size = size; in bpf_ctx_record_field_size()
/kernel/linux/linux-5.10/kernel/bpf/
Dverifier.c3018 env->insn_aux_data[insn_idx].ctx_field_size = info.ctx_field_size; in check_ctx_access()
3075 env->insn_aux_data[insn_idx].ctx_field_size = in check_sock_access()
3076 info.ctx_field_size; in check_sock_access()
10958 int i, cnt, size, ctx_field_size, delta = 0; in convert_ctx_accesses() local
11066 ctx_field_size = env->insn_aux_data[i + delta].ctx_field_size; in convert_ctx_accesses()
11074 is_narrower_load = size < ctx_field_size; in convert_ctx_accesses()
11075 size_default = bpf_ctx_off_adjust_machine(ctx_field_size); in convert_ctx_accesses()
11086 if (ctx_field_size == 4) in convert_ctx_accesses()
11088 else if (ctx_field_size == 8) in convert_ctx_accesses()
11099 (ctx_field_size && !target_size)) { in convert_ctx_accesses()
[all …]