Lines Matching defs:ipage
50 PAGE *ipage, *page;
58 ipage = page = NULL;
113 if ((ret = __os_malloc(dbp->env, dbp->pgsize, &ipage)) != 0)
115 PGNO(ipage) = PGNO_INVALID;
124 P_INIT(ipage, dbp->pgsize, pgno_last,
127 ZERO_LSN(LSN(ipage));
144 dbp, fhp, ipage, page, indx, &nomem)) != 0)
148 dbp, fhp, ipage, page, indx, &nomem)) != 0)
152 PUT_PAGE(dbp, fhp, PGNO(ipage), ipage);
155 ++NUM_ENT(ipage);
165 RE_NREC_SET(ipage, nrecs);
166 PUT_PAGE(dbp, fhp, PGNO(ipage), ipage);
181 if (ipage != NULL)
182 __os_free(dbp->env, ipage);
194 __db_build_bi(dbp, fhp, ipage, page, indx, nomemp)
197 PAGE *ipage, *page;
207 inp = P_INP(dbp, ipage);
211 if (P_FREESPACE(dbp, ipage) < BINTERNAL_PSIZE(child_bi->len)) {
216 HOFFSET(ipage) -= BINTERNAL_SIZE(child_bi->len);
217 p = P_ENTRY(dbp, ipage, indx);
237 if (P_FREESPACE(dbp, ipage) <
243 HOFFSET(ipage) -= BINTERNAL_SIZE(child_bk->len);
244 p = P_ENTRY(dbp, ipage, indx);
255 if (P_FREESPACE(dbp, ipage) <
261 HOFFSET(ipage) -= BINTERNAL_SIZE(BOVERFLOW_SIZE);
262 p = P_ENTRY(dbp, ipage, indx);
293 __db_build_ri(dbp, fhp, ipage, page, indx, nomemp)
296 PAGE *ipage, *page;
304 inp = P_INP(dbp, ipage);
305 if (P_FREESPACE(dbp, ipage) < RINTERNAL_PSIZE) {
312 inp[indx] = HOFFSET(ipage) -= RINTERNAL_SIZE;
313 memcpy(P_ENTRY(dbp, ipage, indx), &ri, RINTERNAL_SIZE);