Home
last modified time | relevance | path

Searched refs:reginfo (Results 1 – 16 of 16) sorted by relevance

/illumos-gate/usr/src/cmd/sendmail/db/mp/
H A Dmp_region.c243 dbmp->reginfo.dbenv = dbmp->dbenv;
246 dbmp->reginfo.path = NULL;
251 dbmp->reginfo.mode = mode;
252 dbmp->reginfo.size = rlen;
253 dbmp->reginfo.dbflags = flags;
254 dbmp->reginfo.flags = 0;
264 dbmp->reginfo.file = NULL;
269 if (dbmp->reginfo.path != NULL)
278 dbmp->mp = dbmp->reginfo.addr;
328 if (dbmp->reginfo.path != NULL)
[all …]
H A Dmp_open.c139 if ((t_ret = __db_rdetach(&dbmp->reginfo)) != 0 && ret == 0)
142 if (dbmp->reginfo.path != NULL)
143 __os_freestr(dbmp->reginfo.path);
173 REGINFO reginfo; local
176 memset(&reginfo, 0, sizeof(reginfo));
177 reginfo.dbenv = dbenv;
178 reginfo.appname = DB_APP_NONE;
181 reginfo.file = DB_DEFAULT_MPOOL_FILE;
182 ret = __db_runlink(&reginfo, force);
183 if (reginfo.path != NULL)
[all …]
H A Dmp_bh.c181 db_io.fd_lock = dbmp->reginfo.fd;
353 db_io.fd_lock = dbmp->reginfo.fd;
H A Dmp_pr.c206 DB_LINE, (u_long)dbmp->reginfo.addr, (u_long)dbmp->addr);
/illumos-gate/usr/src/cmd/sendmail/db/log/
H A Dlog.c78 dblp->reginfo.dbenv = dbenv;
81 dblp->reginfo.path = NULL;
86 dblp->reginfo.mode = mode;
88 dblp->reginfo.dbflags = flags;
97 dblp->lp = dblp->reginfo.addr;
150 if (dblp->reginfo.path != NULL)
489 REGINFO reginfo; local
492 memset(&reginfo, 0, sizeof(reginfo));
493 reginfo.dbenv = dbenv;
499 if (reginfo.path != NULL)
[all …]
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/
H A Dproblem.c489 (void) memcpy(tmpoid, reginfo->rootoid, in sunFmProblemTable_nextpr()
490 reginfo->rootoid_len * sizeof (oid)); in sunFmProblemTable_nextpr()
491 tmpoid[reginfo->rootoid_len] = 1; in sunFmProblemTable_nextpr()
637 (void) memcpy(tmpoid, reginfo->rootoid, in sunFmFaultEventTable_nextfe()
639 tmpoid[reginfo->rootoid_len] = 1; in sunFmFaultEventTable_nextfe()
640 tmpoid[reginfo->rootoid_len + 1] = in sunFmFaultEventTable_nextfe()
658 if (sunFmProblemTable_nextpr(reginfo, in sunFmFaultEventTable_nextfe()
698 netsnmp_handler_registration *reginfo; in sunFmProblemTable_return() local
719 reginfo = cache->reginfo; in sunFmProblemTable_return()
864 netsnmp_handler_registration *reginfo; in sunFmFaultEventTable_return() local
[all …]
H A Dmodule.c461 sunFmModuleTable_nextmod(netsnmp_handler_registration *reginfo, in sunFmModuleTable_nextmod() argument
479 (void) memcpy(tmpoid, reginfo->rootoid, in sunFmModuleTable_nextmod()
480 reginfo->rootoid_len * sizeof (oid)); in sunFmModuleTable_nextmod()
481 tmpoid[reginfo->rootoid_len] = 1; /* Entry is .1 */ in sunFmModuleTable_nextmod()
482 tmpoid[reginfo->rootoid_len + 1] = table_info->colnum; in sunFmModuleTable_nextmod()
484 reginfo->rootoid_len + 2, var) != SNMPERR_SUCCESS) { in sunFmModuleTable_nextmod()
538 sunFmModuleTable_mod(netsnmp_handler_registration *reginfo, in sunFmModuleTable_mod() argument
553 netsnmp_handler_registration *reginfo; in sunFmModuleTable_return() local
575 reginfo = cache->reginfo; in sunFmModuleTable_return()
600 if ((data = sunFmModuleTable_mod(reginfo, table_info)) == in sunFmModuleTable_return()
[all …]
H A Dresource.c492 (void) memcpy(tmpoid, reginfo->rootoid, in sunFmResourceTable_nextrsrc()
493 reginfo->rootoid_len * sizeof (oid)); in sunFmResourceTable_nextrsrc()
494 tmpoid[reginfo->rootoid_len] = 1; in sunFmResourceTable_nextrsrc()
495 tmpoid[reginfo->rootoid_len + 1] = table_info->colnum; in sunFmResourceTable_nextrsrc()
497 reginfo->rootoid_len + 2, var) != SNMPERR_SUCCESS) { in sunFmResourceTable_nextrsrc()
551 sunFmResourceTable_rsrc(netsnmp_handler_registration *reginfo, in sunFmResourceTable_rsrc() argument
566 netsnmp_handler_registration *reginfo; in sunFmResourceTable_return() local
588 reginfo = cache->reginfo; in sunFmResourceTable_return()
613 if ((data = sunFmResourceTable_rsrc(reginfo, table_info)) == in sunFmResourceTable_return()
697 (void *) netsnmp_create_delegated_cache(handler, reginfo, in sunFmResourceTable_handler()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/lock/
H A Dlock_region.c79 lt->reginfo.dbenv = dbenv;
82 lt->reginfo.path = NULL;
87 lt->reginfo.mode = mode;
88 lt->reginfo.size =
90 lt->reginfo.dbflags = flags;
91 lt->reginfo.addr = NULL;
92 lt->reginfo.fd = -1;
289 REGINFO reginfo; local
292 memset(&reginfo, 0, sizeof(reginfo));
293 reginfo.dbenv = dbenv;
[all …]
H A Dlock.c588 (void)__db_mutex_lock(&newl->mutex, lt->reginfo.fd);
609 (void)__db_mutex_lock(&newl->mutex, lt->reginfo.fd);
888 (void)__db_mutex_unlock(&lockp->mutex, lt->reginfo.fd);
1012 (void)__db_mutex_unlock(&lp_w->mutex, lt->reginfo.fd);
H A Dlock_deadlock.c457 (void)__db_mutex_unlock(&lockp->mutex, lt->reginfo.fd);
/illumos-gate/usr/src/cmd/sendmail/db/txn/
H A Dtxn.c152 tmgrp->reginfo.dbenv = dbenv;
155 tmgrp->reginfo.path = NULL;
160 tmgrp->reginfo.mode = mode;
163 tmgrp->reginfo.addr = NULL;
164 tmgrp->reginfo.fd = -1;
561 REGINFO reginfo; local
564 memset(&reginfo, 0, sizeof(reginfo));
565 reginfo.dbenv = dbenv;
571 if (reginfo.path != NULL)
572 __os_freestr(reginfo.path);
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Dmp.h84 MUTEX_LOCK_OFFSET((dbmp)->reginfo.addr, mutexp))
88 (void)__db_mutex_lock(mutexp, (dbmp)->reginfo.fd)
91 (void)__db_mutex_unlock(mutexp, (dbmp)->reginfo.fd)
96 (dbmp)->reginfo.fd)
100 (dbmp)->reginfo.fd)
104 (void)__db_mutex_lock(&(bhp)->mutex, (dbmp)->reginfo.fd)
107 (void)__db_mutex_unlock(&(bhp)->mutex, (dbmp)->reginfo.fd)
131 REGINFO reginfo; /* Region information. */ member
H A Dtxn.h78 REGINFO reginfo; /* Region information. */ member
127 (void)__db_mutex_lock(&(tmgrp)->region->hdr.lock, (tmgrp)->reginfo.fd)
129 (void)__db_mutex_unlock(&(tmgrp)->region->hdr.lock, (tmgrp)->reginfo.fd)
H A Dlog.h38 (dblp)->reginfo.fd)
41 (dblp)->reginfo.fd)
90 REGINFO reginfo; /* Region information. */ member
H A Dlock.h66 (void)__db_mutex_lock(&(lt)->region->hdr.lock, (lt)->reginfo.fd)
68 (void)__db_mutex_unlock(&(lt)->region->hdr.lock, (lt)->reginfo.fd)
112 REGINFO reginfo; /* Region information. */ member