Lines Matching refs:used
79 size_t types_data_cap; /* used size stored in hdr->type_len */
87 size_t strs_data_cap; /* used size stored in hdr->str_len */
108 * are already used. At most *max_cnt* elements can be ever allocated.
1532 * ready to be used, only a simple btf->hdr->str_len increment away.
2391 /* If no records, return failure now so .BTF.ext won't be used. */
2681 * unit contains information about a subset of all the types that are used
2781 * `btf_dedup->map` array. This map is also used to record STRUCT/UNION that
2867 /* Hypothetical mapping, used during type graph equivalence checks */
2879 bool used;
2972 /* dedup_table_size is now used only to force collisions in tests */
3153 s->used = true;
3181 * strings as used. After that all used strings are deduped and compacted into
3217 strs.ptrs[strs.cnt].used = false;
3230 /* mark all used strings */
3231 strs.ptrs[0].used = true;
3245 grp_used = strs.ptrs[0].used;
3255 grp_used = grp_used || strs.ptrs[i].used;
3276 grp_used = strs.ptrs[i].used;
3751 * this mapping will be used to record FWD -> STRUCT/UNION mapping permanently.
3944 * If BTF_KIND_FWD resolution is allowed, this mapping is also used to record
4019 * is used to iterate over all potential canonical types, sharing same hash.
4025 * algorithm is used to record FWD -> STRUCT/UNION mapping. It's also used to
4256 * a map from original type ID to a new compacted type ID, which will be used