kernel/acpica/compiler/cvparser.c
/*******************************************************************************
 *
 * FUNCTION:    CvLabelFileNode
 *
 * PARAMETERS:  Op
 *
 * RETURN:      None
 *
 * DESCRIPTION: Takes a given parse op, looks up its Op->Common.Aml field
 *              within the file tree and fills in approperiate file information
 *              from a matching node within the tree.
 *              This is referred as ASL_CV_LABEL_FILENODE.
 *
 ******************************************************************************/


None

Takes a given parse op, looks up its Op->Common.Aml field
within the file tree and fills in approperiate file information
from a matching node within the tree.
This is referred as ASL_CV_LABEL_FILENODE.
None Takes a given parse op looks up its Op - > Common . Aml field within the file tree and fills in approperiate file information from a matching node within the tree . This is referred as ASL_CV_LABEL_FILENODE .
void
CvLabelFileNode(
    ACPI_PARSE_OBJECT       *Op)
{
    ACPI_FILE_NODE          *Node;
    if (!Op)
    {
        return;
    }
    Node = CvFileAddressLookup ((char *)
        Op->Common.Aml, AcpiGbl_FileTreeRoot);
    if (!Node)
    {
       return;
    }
    Op->Common.CvFilename = Node->Filename;
    if (Node->Parent)
    {
        Op->Common.CvParentFilename = Node->Parent->Filename;
    }
    else
    {
        Op->Common.CvParentFilename = Node->Filename;
    }
}
void CvLabelFileNode ( ACPI_PARSE_OBJECT * Op ) { ACPI_FILE_NODE * Node ; if ( ! Op ) { return ; } Node = CvFileAddressLookup ( ( char * ) Op -> Common . Aml , AcpiGbl_FileTreeRoot ) ; if ( ! Node ) { return ; } Op -> Common . CvFilename = Node -> Filename ; if ( Node -> Parent ) { Op -> Common . CvParentFilename = Node -> Parent -> Filename ; } else { Op -> Common . CvParentFilename = Node -> Filename ; } }
FUNCTION:    CvLabelFileNode
 PARAMETERS:  Op
FUNCTION : CvLabelFileNode PARAMETERS : Op