Lines Matching full:hi
485 SM_HEAP_ITEM_T *hi; local
497 for (hi = SmHeapTable[i]; hi != NULL; hi = hi->hi_next)
499 if (hi->hi_ptr == ptr)
501 ptr, hi->hi_tag, hi->hi_num);
505 hi = (SM_HEAP_ITEM_T *) malloc(sizeof(SM_HEAP_ITEM_T));
507 if (hi == NULL)
509 hi->hi_ptr = ptr;
510 hi->hi_size = size;
511 hi->hi_tag = tag;
512 hi->hi_num = num;
513 hi->hi_group = group;
514 hi->hi_next = SmHeapTable[i];
515 SmHeapTable[i] = hi;
535 SM_HEAP_ITEM_T *hi, **hp; local
554 hi = *hp;
557 < SmHeapTotal - hi->hi_size + size)
566 SmHeapTotal = SmHeapTotal - hi->hi_size + size;
569 *hp = hi->hi_next;
570 hi->hi_ptr = newptr;
571 hi->hi_size = size;
573 hi->hi_next = *hp;
574 *hp = hi;
603 SM_HEAP_ITEM_T *hi, **hp; local
623 hi = *hp;
626 < SmHeapTotal - hi->hi_size + size)
635 SmHeapTotal = SmHeapTotal - hi->hi_size + size;
638 *hp = hi->hi_next;
639 hi->hi_ptr = newptr;
640 hi->hi_size = size;
642 hi->hi_next = *hp;
643 *hp = hi;
685 SM_HEAP_ITEM_T *hi = *hp; local
687 *hp = hi->hi_next;
699 (void) memset(ptr, 0, hi->hi_size);
700 SmHeapTotal -= hi->hi_size;
703 free(hi);
773 SM_HEAP_ITEM_T *hi = SmHeapTable[i]; local
775 while (hi != NULL)
778 || (verbosity > 1 && hi->hi_group != 0))
782 hi->hi_group,
784 (long)hi->hi_ptr,
785 (unsigned long)hi->hi_size);
786 if (hi->hi_tag != NULL)
790 hi->hi_tag);
791 if (hi->hi_num)
796 hi->hi_num);
801 switch (hi->hi_group)
804 group0total += hi->hi_size;
807 group1total += hi->hi_size;
810 otherstotal += hi->hi_size;
813 grandtotal += hi->hi_size;
814 hi = hi->hi_next;