#include <kernel_types.h>#include <BlockNumbers.h>#include <signaldata/PrepFailReqRef.hpp>Include dependency graph for PrepFailReqRef.cpp:

Go to the source code of this file.
Functions | |
| bool | printPREPFAILREQREF (FILE *output, const Uint32 *theData, Uint32 len, Uint16 receiverBlockNo) |
| bool printPREPFAILREQREF | ( | FILE * | output, | |
| const Uint32 * | theData, | |||
| Uint32 | len, | |||
| Uint16 | receiverBlockNo | |||
| ) |
Definition at line 23 of file PrepFailReqRef.cpp.
References PrepFailReqRef::failNo, BitmaskPOD< size >::get(), MAX_NODES, PrepFailReqRef::noOfNodes, refToBlock(), refToNode(), PrepFailReqRef::theNodes, and PrepFailReqRef::xxxBlockRef.
00026 { 00027 00028 PrepFailReqRef * cc = (PrepFailReqRef*)theData; 00029 00030 fprintf(output, " xxxBlockRef = (%d, %d) failNo = %d noOfNodes = %d\n", 00031 refToBlock(cc->xxxBlockRef), refToNode(cc->xxxBlockRef), 00032 cc->failNo, cc->noOfNodes); 00033 00034 int hits = 0; 00035 fprintf(output, " Nodes: "); 00036 for(int i = 0; i<MAX_NODES; i++){ 00037 if(NodeBitmask::get(cc->theNodes, i)){ 00038 hits++; 00039 fprintf(output, " %d", i); 00040 } 00041 if(hits == 16){ 00042 fprintf(output, "\n Nodes: "); 00043 hits = 0; 00044 } 00045 } 00046 if(hits != 0) 00047 fprintf(output, "\n"); 00048 00049 return true; 00050 }
Here is the call graph for this function:

1.4.7

