/titanic_50/usr/src/cmd/sendmail/db/mp/ |
H A D | mp_region.c | 243 dbmp->reginfo.dbenv = dbmp->dbenv; 244 dbmp->reginfo.appname = DB_APP_NONE; 246 dbmp->reginfo.path = NULL; 248 if ((ret = __os_strdup(path, &dbmp->reginfo.path)) != 0) 250 dbmp->reginfo.file = DB_DEFAULT_MPOOL_FILE; 251 dbmp->reginfo.mode = mode; 252 dbmp->reginfo.size = rlen; 253 dbmp->reginfo.dbflags = flags; 254 dbmp->reginfo.flags = 0; 256 F_SET(&dbmp->reginfo, REGION_SIZEDEF); [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; 179 if (path != NULL && (ret = __os_strdup(path, ®info.path)) != 0) 181 reginfo.file = DB_DEFAULT_MPOOL_FILE; 182 ret = __db_runlink(®info, force); [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);
|
/titanic_50/usr/src/cmd/sendmail/db/log/ |
H A D | log.c | 78 dblp->reginfo.dbenv = dbenv; 79 dblp->reginfo.appname = DB_APP_LOG; 81 dblp->reginfo.path = NULL; 83 if ((ret = __os_strdup(path, &dblp->reginfo.path)) != 0) 85 dblp->reginfo.file = DB_DEFAULT_LOG_FILE; 86 dblp->reginfo.mode = mode; 87 dblp->reginfo.size = DEF_LOG_SIZE; 88 dblp->reginfo.dbflags = flags; 89 dblp->reginfo.flags = REGION_SIZEDEF; 90 if ((ret = __db_rattach(&dblp->reginfo)) != 0) [all …]
|
/titanic_50/usr/src/lib/fm/libfmd_snmp/common/ |
H A D | problem.c | 475 sunFmProblemTable_nextpr(netsnmp_handler_registration *reginfo, in sunFmProblemTable_nextpr() argument 491 (void) memcpy(tmpoid, reginfo->rootoid, in sunFmProblemTable_nextpr() 492 reginfo->rootoid_len * sizeof (oid)); in sunFmProblemTable_nextpr() 493 tmpoid[reginfo->rootoid_len] = 1; in sunFmProblemTable_nextpr() 494 tmpoid[reginfo->rootoid_len + 1] = table_info->colnum; in sunFmProblemTable_nextpr() 530 netsnmp_find_table_registration_info(reginfo)->max_column) { in sunFmProblemTable_nextpr() 567 sunFmProblemTable_pr(netsnmp_handler_registration *reginfo, in sunFmProblemTable_pr() argument 587 sunFmFaultEventTable_nextfe(netsnmp_handler_registration *reginfo, in sunFmFaultEventTable_nextfe() argument 608 if ((data = sunFmProblemTable_pr(reginfo, in sunFmFaultEventTable_nextfe() 621 if (sunFmProblemTable_nextpr(reginfo, table_info) == in sunFmFaultEventTable_nextfe() [all …]
|
H A D | module.c | 463 sunFmModuleTable_nextmod(netsnmp_handler_registration *reginfo, in sunFmModuleTable_nextmod() argument 481 (void) memcpy(tmpoid, reginfo->rootoid, in sunFmModuleTable_nextmod() 482 reginfo->rootoid_len * sizeof (oid)); in sunFmModuleTable_nextmod() 483 tmpoid[reginfo->rootoid_len] = 1; /* Entry is .1 */ in sunFmModuleTable_nextmod() 484 tmpoid[reginfo->rootoid_len + 1] = table_info->colnum; in sunFmModuleTable_nextmod() 486 reginfo->rootoid_len + 2, var) != SNMPERR_SUCCESS) { in sunFmModuleTable_nextmod() 510 netsnmp_find_table_registration_info(reginfo)->max_column) { in sunFmModuleTable_nextmod() 540 sunFmModuleTable_mod(netsnmp_handler_registration *reginfo, in sunFmModuleTable_mod() argument 555 netsnmp_handler_registration *reginfo; in sunFmModuleTable_return() local 577 reginfo = cache->reginfo; in sunFmModuleTable_return() [all …]
|
H A D | resource.c | 476 sunFmResourceTable_nextrsrc(netsnmp_handler_registration *reginfo, in sunFmResourceTable_nextrsrc() argument 494 (void) memcpy(tmpoid, reginfo->rootoid, in sunFmResourceTable_nextrsrc() 495 reginfo->rootoid_len * sizeof (oid)); in sunFmResourceTable_nextrsrc() 496 tmpoid[reginfo->rootoid_len] = 1; in sunFmResourceTable_nextrsrc() 497 tmpoid[reginfo->rootoid_len + 1] = table_info->colnum; in sunFmResourceTable_nextrsrc() 499 reginfo->rootoid_len + 2, var) != SNMPERR_SUCCESS) { in sunFmResourceTable_nextrsrc() 523 netsnmp_find_table_registration_info(reginfo)->max_column) { in sunFmResourceTable_nextrsrc() 553 sunFmResourceTable_rsrc(netsnmp_handler_registration *reginfo, in sunFmResourceTable_rsrc() argument 568 netsnmp_handler_registration *reginfo; in sunFmResourceTable_return() local 590 reginfo = cache->reginfo; in sunFmResourceTable_return() [all …]
|
/titanic_50/usr/src/cmd/sendmail/db/lock/ |
H A D | lock_region.c | 81 lt->reginfo.dbenv = dbenv; 82 lt->reginfo.appname = DB_APP_NONE; 84 lt->reginfo.path = NULL; 86 if ((ret = __os_strdup(path, <->reginfo.path)) != 0) 88 lt->reginfo.file = DB_DEFAULT_LOCK_FILE; 89 lt->reginfo.mode = mode; 90 lt->reginfo.size = 92 lt->reginfo.dbflags = flags; 93 lt->reginfo.addr = NULL; 94 lt->reginfo.fd = -1; [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);
|
/titanic_50/usr/src/cmd/sendmail/db/txn/ |
H A D | txn.c | 152 tmgrp->reginfo.dbenv = dbenv; 153 tmgrp->reginfo.appname = DB_APP_NONE; 155 tmgrp->reginfo.path = NULL; 157 if ((ret = __os_strdup(path, &tmgrp->reginfo.path)) != 0) 159 tmgrp->reginfo.file = DEFAULT_TXN_FILE; 160 tmgrp->reginfo.mode = mode; 161 tmgrp->reginfo.size = TXN_REGION_SIZE(maxtxns); 162 tmgrp->reginfo.dbflags = flags; 163 tmgrp->reginfo.addr = NULL; 164 tmgrp->reginfo.fd = -1; [all …]
|
/titanic_50/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
|