Lines Matching refs:countbase
97 * by allocating an anchor and initializing countbase and countlimit
149 * countbase and countlimit are used to parcel out
153 * When countbase reaches countlimit, mcount() calls
158 * countbase/countlimit are now STATIC!
160 static char *countbase; /* addr of next pc,count cell to use in block */
235 * Init the grabba-cell externs (countbase/limit) for this block.
318 countbase = (char *)buffer + sizeof (struct hdr);
319 countlimit = countbase + (nfunc * sizeof (struct cnt));
426 * list, and resets the countbase/limit pointers.
476 countbase = (char *)hdrp + sizeof (struct hdr);
477 countlimit = countbase + (THISMANYFCNS * sizeof (struct cnt));
507 * in countbase.
517 * NOTE: countbase points at the next available entry, and
522 * if profiling is off // countbase==0
526 * if need more entries // because countbase points last valid entry
527 * link in a new block, resetting countbase and countlimit
543 if (countbase == 0)
546 if (countbase >= countlimit)
547 _mnewblock(); /* get a new block; set countbase */
549 if (countbase != 0) {
550 struct cnt *cur_countbase = (struct cnt *)(uintptr_t)countbase;
552 countbase += sizeof (struct cnt);