/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_rename.c | 100 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...] |
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_protect.c | 103 * time and the txn's timestamp), if so the transaction will be freed. along 368 insert_dhcpv4_pending_txn(mac_client_impl_t *mcip, dhcpv4_txn_t *txn) argument 373 if (avl_find(&mcip->mci_v4_pending_txn, txn, &where) != NULL) 380 avl_insert(&mcip->mci_v4_pending_txn, txn, where); 385 remove_dhcpv4_pending_txn(mac_client_impl_t *mcip, dhcpv4_txn_t *txn) argument 388 avl_remove(&mcip->mci_v4_pending_txn, txn); 405 * After a pending txn is removed from the pending table, it is inserted 411 insert_dhcpv4_completed_txn(mac_client_impl_t *mcip, dhcpv4_txn_t *txn) argument 416 if (avl_find(&mcip->mci_v4_completed_txn, txn, &where) != NULL) 425 avl_insert(&mcip->mci_v4_completed_txn, txn, wher 435 remove_dhcpv4_completed_txn(mac_client_impl_t *mcip, dhcpv4_txn_t *txn) argument 453 dhcpv4_txn_t tmp_txn, *txn; local 468 dhcpv4_txn_t *txn; local 483 free_dhcpv4_txn(dhcpv4_txn_t *txn) argument 495 dhcpv4_txn_t *txn; local 523 dhcpv4_txn_t *txn, *ctxn, *next, *txn_list = NULL; local 575 dhcpv4_txn_t *txn, *ctxn; local 673 dhcpv4_txn_t *txn, *ctxn; local 1175 remove_dhcpv6_pending_txn(mac_client_impl_t *mcip, dhcpv6_txn_t *txn) argument 1184 dhcpv6_txn_t *txn; local 1196 free_dhcpv6_txn(dhcpv6_txn_t *txn) argument 1204 insert_dhcpv6_pending_txn(mac_client_impl_t *mcip, dhcpv6_txn_t *txn) argument 1228 dhcpv6_txn_t *txn; local 1262 dhcpv6_txn_t *txn, *next, *txn_list = NULL; local 1304 dhcpv6_txn_t *txn; local 1374 dhcpv6_txn_t *txn; local [all...] |
/illumos-gate/usr/src/cmd/sendmail/db/xa/ |
H A D | xa_db.c | 135 __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 D | xa.c | 29 #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...] |
/illumos-gate/usr/src/cmd/sendmail/db/db/ |
H A D | db_am.c | 68 __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 D | db_overflow.c | 211 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 D | db_dup.c | 290 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 D | db_join.c | 247 jc->j_curslist[0]->txn, key, data, 0));
|
/illumos-gate/usr/src/cmd/sendmail/db/txn/ |
H A D | txn.c | 46 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...] |
/illumos-gate/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_page.c | 108 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 D | bt_delete.c | 70 __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 D | bt_recno.c | 196 __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 D | bt_rsearch.c | 301 dbc->txn, &LSN(h), 0, dbp->log_fileid,
|
H A D | bt_split.c | 216 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 D | bt_cursor.c | 262 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 D | bt_put.c | 511 if ((ret = __bam_repl_log(dbp->dbenv->lg_info, dbc->txn,
|
/illumos-gate/usr/src/cmd/sendmail/db/lock/ |
H A D | lock.c | 74 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...] |
/illumos-gate/usr/src/cmd/sendmail/db/include/ |
H A D | hash.h | 95 if ((ORIG)->dbc->txn == NULL && \ 99 if ((ORIG)->dbc->txn == NULL && \ 131 (I)->dbc->txn == NULL && (I)->hlock) \
|
H A D | btree.h | 70 (F_ISSET((dbc)->dbp, DB_AM_LOCKING) && (dbc)->txn == NULL ? \
|
/illumos-gate/usr/src/cmd/sendmail/db/ |
H A D | Makefile | 54 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 D | db.h | 487 DB_TXN *txn; /* Associated transaction. */ member in struct:__dbc 640 DB_LSTAT_ABORTED, /* Lock belongs to an aborted txn. */
|
/illumos-gate/usr/src/cmd/sendmail/db/hash/ |
H A D | hash_page.c | 206 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 D | hash.c | 237 __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 D | hash_dup.c | 525 dbc->txn, &new_lsn, 0, rectype, 592 dbc->txn, &LSN(pagep), 0, dbp->log_fileid,
|