Lines Matching refs:decl_stack
105 __u32 *decl_stack; member
252 free(d->decl_stack); in btf_dump__free()
645 struct id_stack *decl_stack,
1214 new_stack = libbpf_reallocarray(d->decl_stack, new_cap, sizeof(new_stack[0])); in btf_dump_push_decl_stack_id()
1217 d->decl_stack = new_stack; in btf_dump_push_decl_stack_id()
1221 d->decl_stack[d->decl_stack_cnt++] = id; in btf_dump_push_decl_stack_id()
1291 struct id_stack decl_stack; in btf_dump_emit_type_decl() local
1355 decl_stack.ids = d->decl_stack + stack_start; in btf_dump_emit_type_decl()
1356 decl_stack.cnt = d->decl_stack_cnt - stack_start; in btf_dump_emit_type_decl()
1357 btf_dump_emit_type_chain(d, &decl_stack, fname, lvl); in btf_dump_emit_type_decl()
1369 static void btf_dump_emit_mods(struct btf_dump *d, struct id_stack *decl_stack) in btf_dump_emit_mods() argument
1374 while (decl_stack->cnt) { in btf_dump_emit_mods()
1375 id = decl_stack->ids[decl_stack->cnt - 1]; in btf_dump_emit_mods()
1391 decl_stack->cnt--; in btf_dump_emit_mods()
1395 static void btf_dump_drop_mods(struct btf_dump *d, struct id_stack *decl_stack) in btf_dump_drop_mods() argument
1400 while (decl_stack->cnt) { in btf_dump_drop_mods()
1401 id = decl_stack->ids[decl_stack->cnt - 1]; in btf_dump_drop_mods()
1405 decl_stack->cnt--; in btf_dump_drop_mods()