Lines Matching refs:Mem5Link
15617 typedef struct Mem5Link Mem5Link;
15618 struct Mem5Link {
15688 ** Assuming mem5.zPool is divided up into an array of Mem5Link
15691 #define MEM5LINK(idx) ((Mem5Link *)(&mem5.zPool[(idx)*mem5.szAtom]))
15703 next = MEM5LINK(i)->next;
15704 prev = MEM5LINK(i)->prev;
15708 MEM5LINK(prev)->next = next;
15711 MEM5LINK(next)->prev = prev;
15726 x = MEM5LINK(i)->next = mem5.aiFreelist[iLogsize];
15727 MEM5LINK(i)->prev = -1;
15730 MEM5LINK(x)->prev = i;
15775 i = MEM5LINK(i)->next;
16017 /* The size of a Mem5Link object must be a power of two. Verify that
16020 assert( (sizeof(Mem5Link)&(sizeof(Mem5Link)-1))==0 );
16028 while( (int)sizeof(Mem5Link)>mem5.szAtom ){
16091 for(n=0, j=mem5.aiFreelist[i]; j>=0; j = MEM5LINK(j)->next, n++){}