Lines Matching refs:tstate
416 struct btf_dump_type_aux_state *tstate = &d->type_states[id]; in btf_dump_order_type() local
422 if (tstate->order_state == ORDERED) in btf_dump_order_type()
427 if (tstate->order_state == ORDERING) { in btf_dump_order_type()
437 tstate->order_state = ORDERED; in btf_dump_order_type()
442 tstate->order_state = ORDERED; in btf_dump_order_type()
459 tstate->order_state = ORDERING; in btf_dump_order_type()
474 tstate->order_state = ORDERED; in btf_dump_order_type()
484 if (t->name_off != 0 || !tstate->referenced) { in btf_dump_order_type()
489 tstate->order_state = ORDERED; in btf_dump_order_type()
614 struct btf_dump_type_aux_state *tstate = &d->type_states[id]; in btf_dump_emit_type() local
619 if (tstate->emit_state == EMITTED) in btf_dump_emit_type()
625 if (tstate->emit_state == EMITTING) { in btf_dump_emit_type()
626 if (tstate->fwd_emitted) in btf_dump_emit_type()
645 tstate->fwd_emitted = 1; in btf_dump_emit_type()
657 tstate->fwd_emitted = 1; in btf_dump_emit_type()
668 tstate->emit_state = EMITTED; in btf_dump_emit_type()
675 tstate->emit_state = EMITTED; in btf_dump_emit_type()
689 tstate->emit_state = EMITTED; in btf_dump_emit_type()
692 tstate->emit_state = EMITTING; in btf_dump_emit_type()
701 if (!tstate->fwd_emitted && !btf_dump_is_blacklisted(d, id)) { in btf_dump_emit_type()
705 tstate->emit_state = EMITTED; in btf_dump_emit_type()
709 tstate->emit_state = EMITTING; in btf_dump_emit_type()
725 } else if (!tstate->fwd_emitted && id != cont_id) { in btf_dump_emit_type()
728 tstate->fwd_emitted = 1; in btf_dump_emit_type()
734 tstate->emit_state = EMITTED; in btf_dump_emit_type()
736 tstate->emit_state = NOT_EMITTED; in btf_dump_emit_type()