Lines Matching defs:dbg
57 us to 'delete' a memory block without needing the dbg structure.
58 We still need the dbg structure on allocation so that we know which
61 Only the allocation of the dbg structure itself cannot use _dwarf_p_get_alloc.
72 dbg should be NULL only when allocating dbg itself. In that
77 _dwarf_p_get_alloc(Dwarf_P_Debug dbg, Dwarf_Unsigned size)
95 if (dbg == NULL) {
100 dbglp = BLOCK_TO_LIST(dbg);
136 The dbg structure is not needed here anymore.
140 _dwarf_p_dealloc(Dwarf_P_Debug dbg, Dwarf_Small * ptr) /* ARGSUSED */
150 This should only happen when we deallocate the dbg structure itself.
161 This routine deallocates all the nodes on the dbg list,
162 and then deallocates the dbg structure itself.
166 _dwarf_p_dealloc_all(Dwarf_P_Debug dbg)
170 if (dbg == NULL) {
175 dbglp = BLOCK_TO_LIST(dbg);
177 _dwarf_p_dealloc(dbg, LIST_TO_BLOCK(dbglp->next));
186 _dwarf_p_dealloc(NULL, (void*)dbg);