Searched refs:last_pgno (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/sendmail/db/mp/
H A Dmp_fopen.c86 db_pgno_t last_pgno; local
137 last_pgno = 0;
178 last_pgno = mbytes * (MEGABYTE / pagesize);
179 last_pgno += bytes / pagesize;
182 if (last_pgno != 0)
183 --last_pgno;
207 path, pagesize, last_pgno, finfop, &mfp);
298 __memp_mf_open(dbmp, path, pagesize, last_pgno, finfop, retp)
302 db_pgno_t last_pgno;
357 mfp->orig_last_pgno = mfp->last_pgno
[all...]
H A Dmp_fget.c105 * Examine and update the file's last_pgno value. We don't care if
106 * the last_pgno value immediately changes due to another thread --
108 * current last_pgno value if the thread is asking for a new page,
114 ++mfp->last_pgno;
115 *pgnoaddr = mfp->last_pgno;
116 bucket = BUCKET(mp, mf_offset, mfp->last_pgno);
128 * returned pages past the original end of the file, last_pgno will
324 if (bhp->pgno > mfp->last_pgno)
325 mfp->last_pgno = bhp->pgno;
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Dmp.h256 db_pgno_t last_pgno; /* Last page in the file. */ member in struct:__mpoolfile
/illumos-gate/usr/src/cmd/sendmail/db/hash/
H A Dhash_page.c1715 db_pgno_t last_pgno, new_pgno; local
1725 last_pgno = hcp->hdr->last_freed;
1730 numpages, last_pgno, hcp->hdr->ovfl_point, &hcp->hdr->lsn);
1742 NEXT_PGNO(p) = last_pgno;
1743 last_pgno = PGNO(p);
1746 hcp->hdr->last_freed = last_pgno;

Completed in 489 milliseconds