Home
last modified time | relevance | path

Searched refs:tmgrp (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Dtxn.h119 #define LOCK_TXNTHREAD(tmgrp) \ argument
120 if (F_ISSET(tmgrp, DB_THREAD)) \
121 (void)__db_mutex_lock((tmgrp)->mutexp, -1)
122 #define UNLOCK_TXNTHREAD(tmgrp) \ argument
123 if (F_ISSET(tmgrp, DB_THREAD)) \
126 #define LOCK_TXNREGION(tmgrp) \ argument
127 (void)__db_mutex_lock(&(tmgrp)->region->hdr.lock, (tmgrp)->reginfo.fd)
128 #define UNLOCK_TXNREGION(tmgrp) \ argument
129 (void)__db_mutex_unlock(&(tmgrp)->region->hdr.lock, (tmgrp)->reginfo.fd)
132 #define TXN_PANIC_CHECK(tmgrp) { \ argument
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/txn/
H A Dtxn.c122 DB_TXNMGR *tmgrp; local
146 tmgrp->recover =
170 tmgrp->region = tmgrp->reginfo.addr;
171 tmgrp->mem = &tmgrp->region[1];
199 *mgrpp = tmgrp;
204 __db_shalloc_free(tmgrp->mem, tmgrp->mutexp);
214 __os_free(tmgrp, sizeof(*tmgrp));
244 DB_TXNMGR *tmgrp; in txn_begin()
508 txn_close(tmgrp) in txn_close() argument
537 __db_shalloc_free(tmgrp->mem, tmgrp->mutexp);
[all …]