Home
last modified time | relevance | path

Searched refs:mpf (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_rec.c46 DB_MPOOLFILE *mpf; local
68 if ((ret = memp_fget(mpf, &pgno, 0, &meta)) != 0) {
73 if ((ret = memp_fget(mpf, &argp->pgno, DB_MPOOL_CREATE, &pagep)) != 0) {
81 (void)memp_fput(mpf, meta, 0);
104 if ((ret = memp_fput(mpf, pagep, modified ? DB_MPOOL_DIRTY : 0)) != 0) {
105 (void)memp_fput(mpf, meta, 0);
124 if ((ret = memp_fput(mpf, meta, modified ? DB_MPOOL_DIRTY : 0)) != 0)
152 DB_MPOOLFILE *mpf; local
165 if ((ret = memp_fget(mpf, &argp->pgno, 0, &pagep)) != 0) {
194 if ((ret = memp_fput(mpf, pagep, modified ? DB_MPOOL_DIRTY : 0)) != 0)
[all …]
H A Dbt_stat.c73 if ((ret = memp_fget(dbp->mpf, &pgno, 0, (PAGE **)&h)) != 0)
78 (void)memp_fput(dbp->mpf, h, 0);
87 if ((ret = memp_fget(dbp->mpf, &pgno, 0, (PAGE **)&meta)) != 0)
115 if ((ret = memp_fget(dbp->mpf, &pgno, 0, &h)) != 0) {
116 (void)memp_fput(dbp->mpf, meta, 0);
121 (void)memp_fput(dbp->mpf, h, 0);
125 (void)memp_fput(dbp->mpf, meta, 0);
129 if ((ret = memp_fget(dbp->mpf, &lastpgno, DB_MPOOL_LAST, &h)) != 0)
131 (void)memp_fput(dbp->mpf, h, 0);
137 if ((ret = memp_fget(dbp->mpf, &pgno, 0, &h)) != 0) {
[all …]
H A Dbt_page.c91 if ((ret = memp_fget(dbp->mpf, &pgno, 0, (PAGE **)&meta)) != 0)
95 if ((ret = memp_fget(dbp->mpf, &pgno, DB_MPOOL_NEW, &h)) != 0)
101 if ((ret = memp_fget(dbp->mpf, &pgno, 0, &h)) != 0)
115 (void)memp_fput(dbp->mpf, (PAGE *)meta, DB_MPOOL_DIRTY);
123 (void)memp_fput(dbp->mpf, h, 0);
125 (void)memp_fput(dbp->mpf, meta, 0);
176 if ((ret = memp_fget(dbp->mpf, &pgno, 0, (PAGE **)&meta)) != 0) {
189 (void)memp_fput(dbp->mpf, (PAGE *)meta, 0);
215 ret = memp_fput(dbp->mpf, (PAGE *)meta, DB_MPOOL_DIRTY);
221 err: if ((t_ret = memp_fput(dbp->mpf, h, dirty_flag)) != 0 && ret == 0)
H A Dbt_rsearch.c107 if ((ret = memp_fget(dbp->mpf, &pg, 0, &h)) != 0) {
123 (void)memp_fput(dbp->mpf, h, 0);
127 if ((ret = memp_fget(dbp->mpf, &pg, 0, &h)) != 0) {
157 (void)memp_fput(dbp->mpf, h, 0);
257 (void)memp_fput(dbp->mpf, h, 0);
265 if ((ret = memp_fget(dbp->mpf, &pg, 0, &h)) != 0)
314 if ((ret = memp_fset(dbp->mpf, h, DB_MPOOL_DIRTY)) != 0)
343 if ((ret = memp_fget(dbp->mpf, &pgno, 0, &h)) != 0)
348 (void)memp_fput(dbp->mpf, h, 0);
H A Dbt_delete.c239 return (memp_fset(dbp->mpf, h, DB_MPOOL_DIRTY));
283 ret = memp_fset(dbp->mpf, h, DB_MPOOL_DIRTY);
339 (void)memp_fput(dbp->mpf, cp->csp[-1].page, 0);
341 (void)memp_fput(dbp->mpf, cp->csp[0].page, 0);
378 if ((ret = memp_fget(dbp->mpf, &pgno, 0, &h)) != 0)
453 (void)memp_fput(dbp->mpf, epg->page, 0);
507 if ((ret = memp_fget(dbp->mpf, &pgno, 0, &parent)) != 0)
522 if ((ret = memp_fget(dbp->mpf, &pgno, 0, &child)) != 0)
561 memp_fset(dbp->mpf, parent, DB_MPOOL_DIRTY);
562 memp_fset(dbp->mpf, child, DB_MPOOL_DIRTY);
[all …]
H A Dbt_cursor.c50 (void)memp_fput((dbc)->dbp->mpf, (cp)->page, 0); \
297 if ((ret = memp_fget(dbp->mpf, &pgno, 0, &h)) != 0)
304 (void)memp_fput(dbp->mpf, h, 0);
316 ret = memp_fput(dbp->mpf, h, DB_MPOOL_DIRTY);
336 (void)memp_fput(dbp->mpf, h, 0);
409 ret = memp_fget(dbp->mpf,
484 if ((ret = memp_fget(dbp->mpf,
553 if ((ret = memp_fget(dbp->mpf, &cp->pgno, 0, &h)) != 0)
560 (void)memp_fput(dbp->mpf, h, 0);
592 if ((ret = memp_fput(dbp->mpf, cp->page, 0)) != 0)
[all …]
H A Dbt_open.c231 memp_fget(dbp->mpf, &pgno, DB_MPOOL_CREATE, (PAGE **)&meta)) != 0) {
245 (void)memp_fput(dbp->mpf, (PAGE *)meta, 0);
277 if ((ret = memp_fget(dbp->mpf, &pgno, DB_MPOOL_CREATE, &root)) != 0) {
286 if ((ret = memp_fput(dbp->mpf, (PAGE *)meta, DB_MPOOL_DIRTY)) != 0)
288 if ((ret = memp_fput(dbp->mpf, root, DB_MPOOL_DIRTY)) != 0)
299 if ((ret = memp_fsync(dbp->mpf)) == DB_INCOMPLETE)
H A Dbt_search.c117 if ((ret = memp_fget(dbp->mpf, &pg, 0, &h)) != 0) {
133 (void)memp_fput(dbp->mpf, h, 0);
137 if ((ret = memp_fget(dbp->mpf, &pg, 0, &h)) != 0) {
234 (void)memp_fput(dbp->mpf, h, 0);
241 if ((ret = memp_fget(dbp->mpf, &pg, 0, &h)) != 0)
297 (void)memp_fput(dbp->mpf, h, 0);
329 (void)memp_fput(dbp->mpf, epg->page, 0);
H A Dbt_split.c234 (void)memp_fput(dbp->mpf, cp->page, DB_MPOOL_DIRTY);
236 (void)memp_fput(dbp->mpf, lp, DB_MPOOL_DIRTY);
237 (void)memp_fput(dbp->mpf, rp, DB_MPOOL_DIRTY);
245 (void)memp_fput(dbp->mpf, cp->page, 0);
316 if ((ret = memp_fget(dbp->mpf, &rp->next_pgno, 0, &tp)) != 0)
360 (void)memp_fput(dbp->mpf, pp->page, DB_MPOOL_DIRTY);
362 (void)memp_fput(dbp->mpf, cp->page, DB_MPOOL_DIRTY);
364 (void)memp_fput(dbp->mpf, rp, DB_MPOOL_DIRTY);
366 (void)memp_fput(dbp->mpf, tp, DB_MPOOL_DIRTY);
376 (void)memp_fput(dbp->mpf, tp, 0);
[all …]
H A Dbt_put.c333 if ((ret = memp_fset(dbp->mpf, h, DB_MPOOL_DIRTY)) != 0)
652 return (memp_fput(dbp->mpf, cp, DB_MPOOL_DIRTY));
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_rec.c45 DB_MPOOLFILE *mpf; local
53 if ((ret = memp_fget(mpf, &argp->pgno, 0, &pagep)) != 0) {
63 if ((ret = memp_fget(mpf,
97 if ((ret = memp_fput(mpf, pagep, change)) != 0)
120 DB_MPOOLFILE *mpf; local
127 if ((ret = memp_fget(mpf, &argp->pgno, 0, &pagep)) != 0)
137 if ((ret = memp_fget(mpf,
171 if ((ret = memp_fput(mpf, pagep, change)) != 0)
194 DB_MPOOLFILE *mpf; local
202 if ((ret = memp_fget(mpf, &argp->pgno, 0, &pagep)) != 0) {
[all …]
H A Ddb_dup.c100 (void)memp_fset(dbc->dbp->mpf, pagep, DB_MPOOL_DIRTY);
150 (void)memp_fset(dbc->dbp->mpf, pagep, DB_MPOOL_DIRTY);
182 if ((ret = memp_fget(dbp->mpf, &pgno, 0, pp)) != 0) {
191 if ((ret = memp_fput(dbp->mpf, h, 0)) != 0)
379 t_ret = memp_fput(dbp->mpf, np, DB_MPOOL_DIRTY);
381 t_ret = memp_fput(dbp->mpf, h, DB_MPOOL_DIRTY);
559 if ((ret = memp_fget(dbp->mpf,
570 if ((ret = memp_fget(dbp->mpf,
605 ret = memp_fput(dbp->mpf, np, DB_MPOOL_DIRTY);
608 ret = memp_fset(dbp->mpf, np, DB_MPOOL_DIRTY);
[all …]
H A Ddb_pr.c86 __db_psize(dbp->mpf);
102 __db_prtree(dbp->mpf, all);
203 if ((ret = memp_fget(dbp->mpf, &i, 0, (PAGE **)&mp)) != 0) {
218 if ((ret = memp_fget(dbp->mpf, &i, 0, &h)) != 0)
221 (void)memp_fput(dbp->mpf, h, 0);
235 (void)memp_fput(dbp->mpf, mp, 0);
285 if ((ret = memp_fget(dbp->mpf, &pgno, 0, &hcp->hdr)) != 0)
309 (void)memp_fput(dbp->mpf, (PAGE *)hcp->hdr, 0);
322 __db_prtree(mpf, all) in __db_prtree() argument
323 DB_MPOOLFILE *mpf; in __db_prtree()
[all …]
H A Ddb_overflow.c134 if ((ret = memp_fget(dbp->mpf, &pgno, 0, &h)) != 0) {
154 memp_fput(dbp->mpf, h, 0);
241 (void)memp_fput(dbp->mpf, lastp, DB_MPOOL_DIRTY);
245 (void)memp_fput(dbp->mpf, lastp, DB_MPOOL_DIRTY);
266 if ((ret = memp_fget(dbp->mpf, &pgno, 0, &h)) != 0) {
278 (void)memp_fput(dbp->mpf, h, DB_MPOOL_DIRTY);
302 if ((ret = memp_fget(dbp->mpf, &pgno, 0, &pagep)) != 0) {
312 (void)memp_fput(dbp->mpf, pagep, 0);
382 if ((ret = memp_fget(dbp->mpf, &pgno, 0, &pagep)) != 0)
394 if ((ret = memp_fput(dbp->mpf, pagep, 0)) != 0)
H A Ddb.c621 0, dbp->pgsize, &finfo, &dbp->mpf)) != 0)
693 if (dbp->mpf != NULL)
694 (void)memp_fclose(dbp->mpf);
755 if (flags != DB_NOSYNC && (t_ret = memp_fsync(dbp->mpf)) != 0 &&
760 if ((t_ret = memp_fclose(dbp->mpf)) != 0 && ret == 0)
H A Ddb_am.c319 return (__mp_xxx_fd(dbp->mpf, fdp));
426 if ((ret = memp_fsync(dbp->mpf)) == DB_INCOMPLETE)
/illumos-gate/usr/src/cmd/sendmail/db/hash/
H A Dhash_rec.c86 DB_MPOOLFILE *mpf; local
97 ret = memp_fget(mpf, &argp->pgno, 0, &pagep);
107 } else if ((ret = memp_fget(mpf, &argp->pgno,
195 DB_MPOOLFILE *mpf; local
205 ret = memp_fget(mpf, &argp->new_pgno, 0, &pagep);
216 } else if ((ret = memp_fget(mpf, &argp->new_pgno,
261 ret = memp_fget(mpf, &argp->prev_pgno, 0, &pagep);
274 memp_fget(mpf, &argp->prev_pgno,
308 ret = memp_fget(mpf, &argp->next_pgno, 0, &pagep);
320 memp_fget(mpf, &argp->next_pgno,
[all …]
H A Dhash_page.c1478 if ((ret = memp_fget(dbp->mpf,
1562 return (memp_fput(dbp->mpf, pagep, (is_dirty ? DB_MPOOL_DIRTY : 0)));
1576 return (memp_fset(dbp->mpf, pagep, DB_MPOOL_DIRTY));
1590 ret = memp_fget(dbp->mpf, &addr, DB_MPOOL_CREATE, pagep);
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Ddb_am.h49 mpf = file_dbp->mpf; \
/illumos-gate/usr/src/cmd/sendmail/db/
H A Ddb.h417 DB_MPOOLFILE *mpf; /* The access method's mpool file. */ member