Lines Matching defs:meta
210 BTMETA *meta;
231 memp_fget(dbp->mpf, &pgno, DB_MPOOL_CREATE, (PAGE **)&meta)) != 0) {
241 if (meta->magic != 0) {
242 t->bt_maxkey = meta->maxkey;
243 t->bt_minkey = meta->minkey;
245 (void)memp_fput(dbp->mpf, (PAGE *)meta, 0);
251 memset(meta, 0, sizeof(BTMETA));
252 ZERO_LSN(meta->lsn);
253 meta->pgno = PGNO_METADATA;
254 meta->magic = DB_BTREEMAGIC;
255 meta->version = DB_BTREEVERSION;
256 meta->pagesize = dbp->pgsize;
257 meta->maxkey = t->bt_maxkey;
258 meta->minkey = t->bt_minkey;
259 meta->free = PGNO_INVALID;
261 F_SET(meta, BTM_RECNO);
263 F_SET(meta, BTM_DUP);
265 F_SET(meta, BTM_FIXEDLEN);
267 F_SET(meta, BTM_RECNUM);
269 F_SET(meta, BTM_RENUMBER);
270 memcpy(meta->uid, dbp->fileid, DB_FILE_ID_LEN);
286 if ((ret = memp_fput(dbp->mpf, (PAGE *)meta, DB_MPOOL_DIRTY)) != 0)