Home
last modified time | relevance | path

Searched refs:CONST_PTR_TO_MAP (Results 1 – 5 of 5) sorted by relevance

/linux/kernel/bpf/
H A Dlog.c406 [CONST_PTR_TO_MAP] = "map_ptr", in reg_type_str()
H A Dverifier.c363 type == CONST_PTR_TO_MAP; in reg_not_null()
1917 reg->type = CONST_PTR_TO_MAP | maybe_null; in refine_map_lookup_value()
5070 [CONST_PTR_TO_MAP] = btf_bpf_map_id,
6516 } else if (reg->type == CONST_PTR_TO_MAP) { in check_mem_access()
8129 static const struct bpf_reg_types const_map_ptr_types = { .types = { CONST_PTR_TO_MAP } };
10064 callee->regs[BPF_REG_1].type = CONST_PTR_TO_MAP; in set_timer_callback_state()
10178 callee->regs[BPF_REG_1].type = CONST_PTR_TO_MAP; in set_task_work_schedule_callback_state()
12658 ref_id = *reg2btf_ids[CONST_PTR_TO_MAP]; in check_kfunc_args()
12955 if (base_type(reg->type) != CONST_PTR_TO_MAP || in check_kfunc_args()
14512 case CONST_PTR_TO_MAP: in adjust_ptr_min_max_vals()
[all …]
H A Ddiagnostics.c2139 if (base_type(snapshot->type) == CONST_PTR_TO_MAP) { in diag_reg_snapshot()
/linux/include/linux/
H A Dbpf_verifier.h1383 case CONST_PTR_TO_MAP: in type_is_map_ptr()
H A Dbpf.h1052 CONST_PTR_TO_MAP, /* reg points to struct bpf_map */ enumerator