Lines Matching refs:cp
108 static int dbMaxBud(u8 * cp);
3073 static int dbMaxBud(u8 * cp) in dbMaxBud() argument
3080 if (*((uint *) cp) == 0) in dbMaxBud()
3086 if (*((u16 *) cp) == 0 || *((u16 *) cp + 1) == 0) in dbMaxBud()
3092 tmp1 = max(budtab[cp[2]], budtab[cp[3]]); in dbMaxBud()
3093 tmp2 = max(budtab[cp[0]], budtab[cp[1]]); in dbMaxBud()
3852 s8 *cp; in dbInitDmapTree() local
3867 cp = tp->stree + le32_to_cpu(tp->leafidx); in dbInitDmapTree()
3869 *cp++ = dbMaxBud((u8 *) & dp->wmap[i]); in dbInitDmapTree()
3899 s8 *tp, *cp, *cp1; in dbInitTree() local
3926 for (i = 0, cp = tp + le32_to_cpu(dtp->leafidx); in dbInitTree()
3928 i += nextb, cp += nextb) { in dbInitTree()
3930 if (*cp == l2free && *(cp + bsize) == l2free) { in dbInitTree()
3931 *cp = l2free + 1; /* left take right */ in dbInitTree()
3932 *(cp + bsize) = -1; /* right give left */ in dbInitTree()
3956 for (i = 0, cp = tp + child, cp1 = tp + parent; in dbInitTree()
3957 i < nparent; i++, cp += 4, cp1++) in dbInitTree()
3958 *cp1 = TREEMAX(cp); in dbInitTree()
3972 s8 *cp; in dbInitDmapCtl() local
3985 cp = &dcp->stree[CTLLEAFIND + i]; in dbInitDmapCtl()
3987 *cp++ = NOFREE; in dbInitDmapCtl()