Lines Matching refs:p
112 CNT_List *p, *next; in __ghs_prof_clear_callcounts() local
115 for (p = __cntHead__; p; p = next) { in __ghs_prof_clear_callcounts()
116 next = p->next; in __ghs_prof_clear_callcounts()
120 for (i=0; i<p->numUsed; i++) { in __ghs_prof_clear_callcounts()
121 p->counts[i].pc = 0; in __ghs_prof_clear_callcounts()
122 *(p->counts[i].countPtr) = 0; in __ghs_prof_clear_callcounts()
126 p->next = __cntFreeList__; in __ghs_prof_clear_callcounts()
127 __cntFreeList__ = p; in __ghs_prof_clear_callcounts()
153 CNT_List *p; in __ghs_prof_dump_callcounts() local
160 for (totalUsed = 0, p = __cntHead__; p; p = p->next) in __ghs_prof_dump_callcounts()
161 totalUsed += p->numUsed; in __ghs_prof_dump_callcounts()
228 for (p = __cntHead__; p; p = p->next) { in __ghs_prof_dump_callcounts()
229 for (i=0;i<p->numUsed;i++) { in __ghs_prof_dump_callcounts()
232 temp->counts[i].pc = p->counts[i].pc; in __ghs_prof_dump_callcounts()
237 tpc = (pc_overlay *)(&p->counts[i].pc); in __ghs_prof_dump_callcounts()
243 temp->counts[i].countPtr = (int *)(short)(*p->counts[i].countPtr); in __ghs_prof_dump_callcounts()
246 temp->counts[i].countPtr = (int *)(*p->counts[i].countPtr); in __ghs_prof_dump_callcounts()
248 temp->counts[i].countPtr = (int)(*p->counts[i].countPtr); in __ghs_prof_dump_callcounts()
253 len = p->numUsed * CNT_size; in __ghs_prof_dump_callcounts()
309 CNT_List *p; in __ghs_indmcount() local
313 p = __cntFreeList__; in __ghs_indmcount()
315 p->next = 0; in __ghs_indmcount()
316 p->numUsed = 0; in __ghs_indmcount()
318 p = (CNT_List *) __ghs_calloc(sizeof(CNT_List), 16); in __ghs_indmcount()
321 if (!p) { in __ghs_indmcount()
336 __cntTail__->next = p; in __ghs_indmcount()
337 __cntTail__ = p; in __ghs_indmcount()
339 __cntHead__ = __cntTail__ = p; in __ghs_indmcount()