/illumos-gate/usr/src/cmd/sendmail/db/mp/ |
H A D | mp_region.c | 243 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 D | mp_open.c | 139 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(®info, 0, sizeof(reginfo)); 177 reginfo.dbenv = dbenv; 178 reginfo.appname = DB_APP_NONE; 181 reginfo.file = DB_DEFAULT_MPOOL_FILE; 182 ret = __db_runlink(®info, force); 183 if (reginfo.path != NULL) [all …]
|
H A D | mp_bh.c | 181 db_io.fd_lock = dbmp->reginfo.fd; 353 db_io.fd_lock = dbmp->reginfo.fd;
|
H A D | mp_pr.c | 206 DB_LINE, (u_long)dbmp->reginfo.addr, (u_long)dbmp->addr);
|
/illumos-gate/usr/src/cmd/sendmail/db/log/ |
H A D | log.c | 78 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(®info, 0, sizeof(reginfo)); 493 reginfo.dbenv = dbenv; 499 if (reginfo.path != NULL) [all …]
|
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/ |
H A D | problem.c | 489 (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 D | module.c | 461 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 D | resource.c | 492 (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 D | lock_region.c | 79 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(®info, 0, sizeof(reginfo)); 293 reginfo.dbenv = dbenv; [all …]
|
H A D | lock.c | 588 (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 D | lock_deadlock.c | 457 (void)__db_mutex_unlock(&lockp->mutex, lt->reginfo.fd);
|
/illumos-gate/usr/src/cmd/sendmail/db/txn/ |
H A D | txn.c | 152 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(®info, 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 D | mp.h | 84 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 D | txn.h | 78 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 D | log.h | 38 (dblp)->reginfo.fd) 41 (dblp)->reginfo.fd) 90 REGINFO reginfo; /* Region information. */ member
|
H A D | lock.h | 66 (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
|