Lines Matching refs:decl_stack
75 __u32 *decl_stack; member
171 free(d->decl_stack); in btf_dump__free()
571 struct id_stack *decl_stack,
989 new_stack = realloc(d->decl_stack, in btf_dump_push_decl_stack_id()
993 d->decl_stack = new_stack; in btf_dump_push_decl_stack_id()
997 d->decl_stack[d->decl_stack_cnt++] = id; in btf_dump_push_decl_stack_id()
1046 struct id_stack decl_stack; in btf_dump_emit_type_decl() local
1104 decl_stack.ids = d->decl_stack + stack_start; in btf_dump_emit_type_decl()
1105 decl_stack.cnt = d->decl_stack_cnt - stack_start; in btf_dump_emit_type_decl()
1106 btf_dump_emit_type_chain(d, &decl_stack, fname, lvl); in btf_dump_emit_type_decl()
1118 static void btf_dump_emit_mods(struct btf_dump *d, struct id_stack *decl_stack) in btf_dump_emit_mods() argument
1123 while (decl_stack->cnt) { in btf_dump_emit_mods()
1124 id = decl_stack->ids[decl_stack->cnt - 1]; in btf_dump_emit_mods()
1140 decl_stack->cnt--; in btf_dump_emit_mods()