Lines Matching refs:start_id
217 u32 start_id; /* first type ID in this BTF (0 for base BTF) */ member
730 while (type_id < btf->start_id) in btf_type_by_id()
733 type_id -= btf->start_id; in btf_type_by_id()
1460 if (btf->start_id + btf->types_size == BTF_MAX_TYPE) { in btf_add_type()
1631 if (type_id < env->btf->start_id) in env_type_is_resolved()
1634 return env->visit_states[type_id - env->btf->start_id] == RESOLVED; in env_type_is_resolved()
1646 if (type_id < btf->start_id in env_stack_push()
1647 || env->visit_states[type_id - btf->start_id] != NOT_VISITED) in env_stack_push()
1650 env->visit_states[type_id - btf->start_id] = VISITED; in env_stack_push()
1680 type_id -= btf->start_id; /* adjust to local type id */ in env_stack_pop_resolved()
1788 while (type_id < btf->start_id) in btf_resolved_type_id()
1791 return btf->resolved_ids[type_id - btf->start_id]; in btf_resolved_type_id()
1804 while (type_id < btf->start_id) in btf_resolved_type_size()
1807 return btf->resolved_sizes[type_id - btf->start_id]; in btf_resolved_type_size()
4116 env->log_type_id = btf->base_btf ? btf->start_id : 1; in btf_check_all_metas()
4220 type_id = btf->start_id + i; in btf_check_all_types()
4764 btf->start_id = base_btf->nr_types; in btf_parse_module()