#include "kernel_types.h"Include dependency graph for RefConvert.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| BlockNumber | refToBlock (BlockReference ref) |
| NodeId | refToNode (BlockReference ref) |
| BlockReference | numberToRef (BlockNumber bnr, NodeId proc) |
| BlockReference numberToRef | ( | BlockNumber | bnr, | |
| NodeId | proc | |||
| ) | [inline] |
Convert NodeId and BlockNumber to BlockReference
Definition at line 42 of file RefConvert.hpp.
Referenced by Backup::abort_scan(), Dbtup::bufferTRANSID_AI(), SimulatedBlock::calcAccBlockRef(), SimulatedBlock::calcApiClusterMgrBlockRef(), SimulatedBlock::calcBackupBlockRef(), SimulatedBlock::calcDictBlockRef(), SimulatedBlock::calcDihBlockRef(), SimulatedBlock::calcLqhBlockRef(), SimulatedBlock::calcNdbCntrBlockRef(), SimulatedBlock::calcQmgrBlockRef(), SimulatedBlock::calcSumaBlockRef(), SimulatedBlock::calcTcBlockRef(), SimulatedBlock::calcTrixBlockRef(), SimulatedBlock::calcTupBlockRef(), SimulatedBlock::calcTuxBlockRef(), Qmgr::completeAllocNodeIdReq(), TransporterFacade::connected(), Ndb::connected(), Dbdih::crashSystemAtGcpStop(), Dbdict::dropTab_nextStep(), Qmgr::execALLOC_NODEID_REQ(), Suma::execAPI_FAILREQ(), ClusterMgr::execAPI_REGREQ(), Dbdih::execDUMP_STATE_ORD(), Dbdict::execDUMP_STATE_ORD(), Dbdih::execINCL_NODECONF(), SafeCounterManager::execNODE_FAILREP(), Dbtup::execSEND_PACKED(), execute(), Dbdih::failedNodeLcpHandling(), SignalSender::getOwnRef(), Dbacc::ndbrestart1Lab(), Backup::nextFragment(), Dblqh::nextScanConfCopyLab(), TransporterFacade::open(), Dbdict::prepDropTab_nextStep(), SafeCounterManager::printNODE_FAILREP(), reportConnect(), reportDisconnect(), FastScheduler::reportDoJobStatistics(), reportError(), reportReceiveLen(), reportSendLen(), Backup::sendAbortBackupOrd(), Backup::sendBackupRef(), TransporterFacade::sendFragmentedSignal(), Dbtc::sendPackedTCINDXCONF(), Dbtc::sendPackedTCKEYCONF(), Dbtup::sendReadAttrinfo(), TransporterFacade::sendSignal(), ArbitMgr::sendSignalToQmgr(), TransporterFacade::sendSignalUnCond(), MgmtSrvr::start(), ClusterMgr::threadMain(), and TransporterRegistry::unpack().
00042 { 00043 return (((Uint32)bnr) << 16) + proc; 00044 }
Here is the caller graph for this function:

| BlockNumber refToBlock | ( | BlockReference | ref | ) | [inline] |
Convert BlockReference to BlockNumber
Definition at line 26 of file RefConvert.hpp.
Referenced by Dblqh::acckeyconf_tupkeyreq(), Dbtup::bufferTRANSID_AI(), checkData(), Dbtup::checkImmediateTriggersAfterDelete(), Dbtup::checkImmediateTriggersAfterInsert(), Dbtup::checkImmediateTriggersAfterUpdate(), Dblqh::commitContinueAfterBlockedLab(), Dblqh::commitReqLab(), Ndb::connected(), Dblqh::continueAfterCheckLcpStopBlocked(), Dblqh::continueFirstCopyAfterBlockedLab(), Dbdih::crashSystemAtGcpStop(), Dbtup::createTrigger(), NdbDictInterface::dictSignal(), Dbtux::execACC_CHECK_SCAN(), Qmgr::execALLOC_NODEID_REQ(), Dbdict::execALTER_TAB_CONF(), Ndbcntr::execAPI_START_REP(), Dbdict::execCREATE_EVNT_REQ(), Dbdict::execDROP_EVNT_REQ(), Dbdict::execDROP_TAB_CONF(), Dbdict::execDROP_TAB_REF(), Dbtup::execDROP_TRIG_REQ(), Dbtc::execDUMP_STATE_ORD(), Dbacc::execEXPANDCHECK2(), Ndbfs::execFSAPPENDREQ(), Dbdict::execGET_TABINFO_CONF(), Dblqh::execLCP_PREPARE_CONF(), Dblqh::execLCP_PREPARE_REF(), Dblqh::execLQH_ALLOCREQ(), Dblqh::execLQHKEYREQ(), Dbacc::execNEXT_SCANREQ(), Dbdict::execPREP_DROP_TAB_REF(), Ndbcntr::Missra::execREAD_CONFIG_CONF(), Dblqh::execSTART_RECCONF(), Ndbcntr::Missra::execSTTORRY(), Suma::execSUB_GCP_COMPLETE_ACK(), Dbdict::execSUB_REMOVE_CONF(), Dbdict::execSUB_REMOVE_REF(), Dbdict::execSUB_START_CONF(), Dbdict::execSUB_START_REF(), Dbdict::execSUB_START_REQ(), Dbdict::execSUB_STOP_CONF(), Dbdict::execSUB_STOP_REF(), Dbdict::execSUB_STOP_REQ(), Dbdict::execTAB_COMMITCONF(), execute(), SignalLoggerManager::executeDirect(), Dblqh::execWAIT_DROP_TAB_REQ(), Ndb::handleReceivedSignal(), MgmtSrvr::handleReceivedSignal(), NdbDictInterface::listObjects(), main(), NdbApiSignal::NdbApiSignal(), NodeReceiverGroup::NodeReceiverGroup(), Dblqh::nr_copy_delete_row(), AsyncFile::openReq(), NodeReceiverGroup::operator=(), Dblqh::prepareContinueAfterBlockedLab(), printCLOSECOMREQCONF(), printFIRE_TRIG_ORD(), printGCPSaveReq(), printMASTER_LCP_REQ(), printPREPFAILREQREF(), SignalLoggerManager::printSignalHeader(), printSTART_REC_REQ(), Ndbfs::readWriteRequest(), report_unknown_signal(), Dbtup::scanNext(), Dbtup::scanReply(), Dblqh::scanTupkeyConfLab(), Dblqh::scanTupkeyRefLab(), Dblqh::sendKeyinfo20(), Dblqh::sendLqhkeyconfTc(), Ndbcntr::sendNdbSttor(), Ndbcntr::Missra::sendNextREAD_CONFIG_REQ(), Dbacc::sendNextScanConf(), Ndbcntr::Missra::sendNextSTTOR(), Dbtup::sendReadAttrinfo(), SimulatedBlock::sendSignal(), SignalLoggerManager::sendSignal(), SimulatedBlock::sendSignalWithDelay(), SignalLoggerManager::sendSignalWithDelay(), Dbtc::sendTcIndxConf(), Dbtc::sendtckeyconf(), SimpleSignal::set(), Filename::set(), and Dblqh::tupcommit_conf_callback().
00026 { 00027 return (BlockNumber)(ref >> 16); 00028 }
Here is the caller graph for this function:

| NodeId refToNode | ( | BlockReference | ref | ) | [inline] |
Convert BlockReference to NodeId
Definition at line 34 of file RefConvert.hpp.
Referenced by MgmtSrvr::alloc_node_id_req(), Dbdict::alterIndex_recvReply(), Dbdict::alterTrigger_recvReply(), Dbtup::bufferTRANSID_AI(), Dbdict::buildIndex_recvReply(), Cmvmi::cancelSubscription(), WaitForNode::check(), Backup::checkNodeFail(), Dbtc::checkScanActiveInFailedLqh(), Dbdih::checkStopPermProxy(), Dbdih::checkWaitGCPMaster(), Dbdih::checkWaitGCPProxy(), Qmgr::cmAddPrepare(), Qmgr::completeAllocNodeIdReq(), Ndb::connected(), Dbdict::createEvent_sendReply(), Dbdict::createIndex_recvReply(), Dbdict::createTrigger_recvReply(), Dbdict::dropIndex_recvReply(), Dbdict::dropTab_localDROP_TAB_CONF(), Dbdict::dropTrigger_recvReply(), Dblqh::execABORT(), Dbtc::execABORT_ALL_REQ(), Backup::execABORT_BACKUP_ORD(), Qmgr::execALLOC_NODEID_CONF(), Qmgr::execALLOC_NODEID_REF(), Qmgr::execALLOC_NODEID_REQ(), Dbdict::execALTER_TAB_CONF(), Dbdict::execALTER_TAB_REF(), Suma::execALTER_TAB_REQ(), Dbdict::execAPI_FAILREQ(), ClusterMgr::execAPI_REGCONF(), ClusterMgr::execAPI_REGREF(), ClusterMgr::execAPI_REGREQ(), Qmgr::execAPI_REGREQ(), Backup::execBACKUP_FRAGMENT_CONF(), Backup::execBACKUP_FRAGMENT_REQ(), Qmgr::execCM_REGREQ(), UpgradeStartup::execCNTR_MASTER_REPLY(), NdbDictInterface::execCREATE_EVNT_CONF(), Dbdict::execCREATE_EVNT_CONF(), Dbdict::execCREATE_EVNT_REF(), Dbdict::execCREATE_EVNT_REQ(), Dbdict::execCREATE_OBJ_CONF(), Dbdict::execCREATE_OBJ_REF(), Dbdict::execCREATE_TAB_CONF(), Dbdict::execCREATE_TAB_REF(), Backup::execDEFINE_BACKUP_CONF(), Dbdict::execDICT_ABORT_CONF(), Dbdict::execDICT_ABORT_REF(), Dbdict::execDICT_COMMIT_CONF(), Dbdict::execDICT_COMMIT_REF(), Dbdict::execDICT_LOCK_REQ(), Dbdih::execDICTSTARTCONF(), Dbdict::execDROP_OBJ_CONF(), Dbdict::execDROP_OBJ_REF(), Dbdict::execDROP_TAB_CONF(), Dbdict::execDROP_TAB_REF(), Dbtup::execDROP_TRIG_REQ(), Dbtc::execDUMP_STATE_ORD(), Dbdih::execDUMP_STATE_ORD(), Dblqh::execEMPTY_LCP_REQ(), Cmvmi::execEVENT_REP(), Suma::execFIRE_TRIG_ORD(), Dbtc::execFIRE_TRIG_ORD(), Dbdict::execGET_TABINFO_CONF(), Dbdih::execINCL_NODEREQ(), Dblqh::execLogRecord(), Dbtc::execLQHKEYCONF(), Dblqh::execLQHKEYREQ(), Dbdict::execPREP_DROP_TAB_CONF(), Dbdict::execPREP_DROP_TAB_REF(), Qmgr::execREAD_NODESCONF(), Qmgr::execREAD_NODESREF(), Dblqh::execSCAN_NEXTREQ(), Backup::execSTART_BACKUP_CONF(), Dbdih::execSTART_LCP_CONF(), Dbdih::execSTART_MEREQ(), Dbdih::execSTART_PERMREQ(), Backup::execSTOP_BACKUP_CONF(), Dbdih::execSTOP_ME_CONF(), Dbdih::execSTOP_ME_REQ(), Dbdih::execSTOP_PERM_REQ(), Suma::execSUB_CREATE_REF(), Suma::execSUB_CREATE_REQ(), Suma::execSUB_GCP_COMPLETE_ACK(), Dbdict::execSUB_REMOVE_CONF(), Dbdict::execSUB_REMOVE_REF(), Dbdict::execSUB_START_CONF(), Suma::execSUB_START_REF(), Dbdict::execSUB_START_REF(), Suma::execSUB_START_REQ(), Dbdict::execSUB_STOP_CONF(), Dbdict::execSUB_STOP_REF(), Suma::execSUB_STOP_REQ(), Ndbcntr::execSYSTEM_ERROR(), Dbtc::execTCSEIZEREQ(), Dbtc::execTRIG_ATTRINFO(), execute(), SignalLoggerManager::executeSignal(), DbUtil::execUTIL_LOCK_REQ(), Dbtc::execWAIT_DROP_TAB_CONF(), Dbdih::execWAIT_DROP_TAB_CONF(), Dbtc::execWAIT_DROP_TAB_REF(), Dbdih::execWAIT_DROP_TAB_REF(), Dblqh::execWAIT_DROP_TAB_REQ(), Qmgr::failReportLab(), NdbApiSignal::get_sender_node(), getTextBackupAborted(), getTextBackupCompleted(), getTextBackupFailedToStart(), getTextBackupStarted(), Dbtc::handleApiFailState(), Dbtc::handleFailedApiNode(), Dbtup::handleReadReq(), Ndb::handleReceivedSignal(), MgmtSrvr::handleReceivedSignal(), Dbtc::initApiConnectFail(), Dbtup::interpreterStartLab(), Dblqh::lqhTransNextLab(), main(), NodeReceiverGroup::NodeReceiverGroup(), NodeReceiverGroup::operator=(), printCLOSECOMREQCONF(), printFIRE_TRIG_ORD(), printGCPSaveReq(), printMASTER_LCP_REQ(), printPREPFAILREQREF(), SignalLoggerManager::printSignalHeader(), printSTART_LCP_CONF(), printSTART_LCP_REQ(), printSTART_REC_REQ(), Dbdict::removeStaleDictLocks(), Suma::removeSubscribersOnNode(), report_unknown_signal(), Suma::reportAllSubscribers(), Suma::resend_bucket(), Suma::Restart::runSUMA_START_ME_REQ(), Qmgr::sendCmRegrefLab(), Dblqh::sendCommitLqh(), Dblqh::sendCommittedTc(), Dblqh::sendCompletedTc(), Dblqh::sendCompleteLqh(), Dbdict::sendDictLockInfoEvent(), Dblqh::sendKeyinfo20(), Dblqh::sendLqhkeyconfTc(), Dbtc::sendlqhkeyreq(), Dbtup::sendReadAttrinfo(), SimulatedBlock::sendSignal(), MgmtSrvr::sendSTOP_REQ(), NdbTransaction::sendTC_COMMIT_ACK(), Dbtc::sendTcIndxConf(), Dbtc::sendtckeyconf(), MgmtSrvr::setEventReportingLevelImpl(), MgmtSrvr::startBackup(), Dbtc::timeOutFoundFragLab(), Dbtc::updateApiStateFail(), and SignalQueue::waitFor().
00034 { 00035 return (NodeId)(ref & 0xFFFF); 00036 }
Here is the caller graph for this function:

1.4.7

