Searched refs:txn (Results 1 - 23 of 23) sorted by relevance

/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_rename.c100 md_rename_t txn; local
155 (void) memset(&txn, 0, sizeof (txn));
157 txn.op = op;
158 txn.revision = MD_RENAME_VERSION;
159 txn.flags = 0;
160 txn.from.mnum = meta_getminor(from_np->dev);
161 txn.from.key = from_np->key;
188 txn.to.mnum = meta_getminor(to_np->dev);
189 txn
[all...]
/osnet-11/usr/src/cmd/sendmail/db/xa/
H A Dxa_db.c135 __xa_cursor(dbp, txn, dbcp, flags)
137 DB_TXN *txn;
146 txn = dbp->dbenv->xa_txn;
148 if ((ret = real_dbp->cursor(real_dbp, txn, &real_dbc, flags)) != 0)
186 __xa_del(dbp, txn, key, flags)
188 DB_TXN *txn;
195 txn = dbp->dbenv->xa_txn;
197 return (real_dbp->del(real_dbp, txn, key, flags));
201 __xa_get(dbp, txn, key, data, flags)
203 DB_TXN *txn;
[all...]
H A Dxa.c29 #include "txn.h"
232 DB_TXN *txn; local
245 txn = env->xa_txn;
246 if (off != txn->off)
260 td->last_lsn = txn->last_lsn;
271 txn->txnid = TXN_INVALID;
656 DB_TXN *txn; local
658 txn = env->xa_txn;
659 txn->mgrp = env->tx_info;
660 txn
675 DB_TXN *txn; local
[all...]
/osnet-11/usr/src/cmd/sendmail/db/db/
H A Ddb_am.c68 __db_cursor(dbp, txn, dbcp, flags)
70 DB_TXN *txn;
138 if ((dbc->txn = txn) == NULL)
141 dbc->locker = txn->txnid;
261 "%#0x: dbp: %#0x txn: %#0x lid: %lu locker: %lu",
262 (u_int)dbc, (u_int)dbc->dbp, (u_int)dbc->txn,
329 __db_get(dbp, txn, key, data, flags)
331 DB_TXN *txn;
343 if ((ret = dbp->cursor(dbp, txn,
[all...]
H A Ddb_overflow.c211 if ((ret = __db_big_log(dbp->dbenv->lg_info, dbc->txn,
272 if ((ret = __db_ovref_log(dbp->dbenv->lg_info, dbc->txn,
320 if ((ret = __db_big_log(dbp->dbenv->lg_info, dbc->txn,
H A Ddb_dup.c290 dbc->txn, &LSN(h), 0, DB_SPLITOLD, dbp->log_fileid,
354 dbc->txn, &LSN(h), 0, DB_SPLITNEW, dbp->log_fileid,
361 dbc->txn, &LSN(np), 0, DB_SPLITNEW, dbp->log_fileid,
408 if ((ret = __db_addrem_log(dbp->dbenv->lg_info, dbc->txn,
491 if ((ret = __db_addrem_log(dbp->dbenv->lg_info, dbc->txn,
580 if ((ret = __db_relink_log(dbp->dbenv->lg_info, dbc->txn,
665 dbc->txn, &LSN(pagep), 0, DB_SPLITOLD,
700 dbc->txn, &LSN(*hp), 0, dbp->log_fileid,
H A Ddb_join.c247 jc->j_curslist[0]->txn, key, data, 0));
/osnet-11/usr/src/cmd/sendmail/db/txn/
H A Dtxn.c46 static const char sccsid[] = "@(#)txn.c 10.66 (Sleepycat) 1/3/99";
62 #include "txn.h"
151 /* Join/create the txn region. */
247 DB_TXN *txn; local
252 if ((ret = __os_calloc(1, sizeof(DB_TXN), &txn)) != 0)
255 txn->parent = parent;
256 TAILQ_INIT(&txn->kids);
257 txn->mgrp = tmgrp;
258 txn->flags = TXN_MALLOC;
259 if ((ret = __txn_begin(txn)) !
[all...]
/osnet-11/usr/src/cmd/sendmail/db/btree/
H A Dbt_page.c108 if ((ret = __bam_pg_alloc_log(dbp->dbenv->lg_info, dbc->txn,
187 dbc->txn, &meta->lsn, 0, dbp->log_fileid, h->pgno,
294 if (dbc->txn == NULL)
299 dbc->txn, 0, couple, 2, NULL);
308 if (dbc->txn == NULL)
313 dbc->txn, 0, &dbc->lock_dbt, mode, lockp);
H A Dbt_delete.c70 __bam_delete(dbp, txn, key, flags)
72 DB_TXN *txn;
89 if ((ret = dbp->cursor(dbp, txn, &dbc, DB_WRITELOCK)) != 0)
92 DEBUG_LWRITE(dbc, txn, "bam_delete", key, NULL, flags);
263 (ret = __bam_adj_log(dbp->dbenv->lg_info, dbc->txn, &LSN(h),
533 __bam_rsplit_log(dbp->dbenv->lg_info, dbc->txn,
H A Dbt_recno.c196 __ram_delete(dbp, txn, key, flags)
198 DB_TXN *txn;
215 if ((ret = dbp->cursor(dbp, txn, &dbc, DB_WRITELOCK)) != 0)
218 DEBUG_LWRITE(dbc, txn, "ram_delete", key, NULL, flags);
353 __ram_put(dbp, txn, key, data, flags)
355 DB_TXN *txn;
371 if ((ret = dbp->cursor(dbp, txn, &dbc, DB_WRITELOCK)) != 0)
374 DEBUG_LWRITE(dbc, txn, "ram_put", key, data, flags);
497 DEBUG_LWRITE(dbc, dbc->txn, "ram_c_del", NULL, NULL, flags);
560 DEBUG_LREAD(dbc, dbc->txn, "ram_c_ge
[all...]
H A Dbt_rsearch.c301 dbc->txn, &LSN(h), 0, dbp->log_fileid,
H A Dbt_split.c216 if ((ret = __bam_split_log(dbp->dbenv->lg_info, dbc->txn,
333 if ((ret = __bam_split_log(dbp->dbenv->lg_info, dbc->txn,
747 dbc->txn, &LSN(ppage), 0, dbp->log_fileid,
H A Dbt_cursor.c262 DEBUG_LWRITE(dbc, dbc->txn, "bam_c_del", NULL, NULL, flags);
302 (ret = __bam_cdel_log(dbp->dbenv->lg_info, dbc->txn, &LSN(h),
375 DEBUG_LREAD(dbc, dbc->txn, "bam_c_get",
774 DEBUG_LWRITE(dbc, dbc->txn, "bam_c_put",
H A Dbt_put.c511 if ((ret = __bam_repl_log(dbp->dbenv->lg_info, dbc->txn,
/osnet-11/usr/src/cmd/sendmail/db/lock/
H A Dlock.c74 lock_tvec(lt, txn, flags, list, nlist, elistp)
76 DB_TXN *txn;
82 txn->txnid, txn, flags, list, nlist, elistp));
86 __lock_vec_internal(lt, locker, txn, flags, list, nlist, elistp)
89 DB_TXN *txn;
116 ret = __lock_get_internal(lt, locker, txn, flags,
128 if (txn == NULL || txn->parent == NULL) {
133 if ((ret = __lock_getobj(lt, txn
[all...]
/osnet-11/usr/src/cmd/sendmail/db/include/
H A Dhash.h95 if ((ORIG)->dbc->txn == NULL && \
99 if ((ORIG)->dbc->txn == NULL && \
131 (I)->dbc->txn == NULL && (I)->hlock) \
H A Dbtree.h70 (F_ISSET((dbc)->dbp, DB_AM_LOCKING) && (dbc)->txn == NULL ? \
/osnet-11/usr/src/cmd/sendmail/db/
H A DMakefile54 os_tmpdir.o os_unlink.o txn.o txn_auto.o txn_rec.o xa.o xa_db.o \
116 txn%.o: $(srcdir)/txn/txn%.c
H A Ddb.h487 DB_TXN *txn; /* Associated transaction. */ member in struct:__dbc
640 DB_LSTAT_ABORTED, /* Lock belongs to an aborted txn. */
/osnet-11/usr/src/cmd/sendmail/db/hash/
H A Dhash_page.c206 if (hcp->lock && hcp->dbc->txn == NULL)
677 dbc->txn, &new_lsn, 0, DELPAIR,
730 dbc->txn, &new_lsn, 0, dbp->log_fileid, PGNO(p),
791 dbc->txn, &new_lsn, 0, DELOVFL,
987 dbc->txn, &new_lsn, 0, dbp->log_fileid, PGNO(hcp->pagep),
1096 dbc->txn, &new_lsn, 0, dbp->log_fileid, SPLITOLD,
1139 dbenv->lg_info, dbc->txn,
1172 dbc->txn, &new_lsn, 0, dbp->log_fileid,
1198 dbc->txn, &new_lsn, 0, dbp->log_fileid,
1206 dbc->txn,
[all...]
H A Dhash.c237 __ham_delete(dbp, txn, key, flags)
239 DB_TXN *txn;
253 if ((ret = dbp->cursor(dbp, txn, &dbc, DB_WRITELOCK)) != 0)
256 DEBUG_LWRITE(dbc, txn, "ham_delete", key, NULL, flags);
359 DEBUG_LWRITE(dbc, dbc->txn, "ham_c_del", NULL, NULL, flags);
517 DEBUG_LREAD(dbc, dbc->txn, "ham_c_get",
674 DEBUG_LWRITE(dbc, dbc->txn, "ham_c_put",
833 dbc->txn, &new_lsn, 0, dbp->log_fileid,
H A Dhash_dup.c525 dbc->txn, &new_lsn, 0, rectype,
592 dbc->txn, &LSN(pagep), 0, dbp->log_fileid,

Completed in 87 milliseconds