Lines Matching refs:lp
46 void *lp; in findptr() local
57 *lpp = (lp = ptr - ALLOC_SIZE); in findptr()
59 while (ap->next != lp) in findptr()
87 ALLOC_ITEM *lp = NULL; in aresize() local
93 pp = findptr(&lp, ptr, ap); in aresize()
94 pp->next = lp->next; in aresize()
98 (lp = remalloc(lp, numb + ALLOC_SIZE)) == NULL in aresize()
100 || ALLOC_ISUNALIGNED(lp) in aresize()
105 lp->next = ap->next; in aresize()
106 ap->next = lp; in aresize()
108 return ((char *)lp + ALLOC_SIZE); in aresize()
115 ALLOC_ITEM *lp, *pp; in afree() local
117 pp = findptr(&lp, ptr, ap); in afree()
119 pp->next = lp->next; in afree()
121 free_osimalloc(lp); in afree()
128 ALLOC_ITEM *lp; in afreeall() local
131 while ((lp = ap->next) != NULL) { in afreeall()
133 ap->next = lp->next; in afreeall()
135 free_osimalloc(lp); in afreeall()