kernel/acpica/compiler/cvparser.c
/*******************************************************************************
 *
 * FUNCTION:    CvFilenameExists
 *
 * PARAMETERS:  Filename        - filename to search
 *
 * RETURN:      ACPI_FILE_NODE - a pointer to a file node
 *
 * DESCRIPTION: Look for the given filename in the file dependency tree.
 *              Returns the file node if it exists, returns NULL if it does not.
 *
 ******************************************************************************/
CvFilenameExists
PARAMETERS:  Filename        - filename to search

a pointer to a file node

Look for the given filename in the file dependency tree.
Returns the file node if it exists, returns NULL if it does not.
CvFilenameExists PARAMETERS : Filename - filename to search a pointer to a file node Look for the given filename in the file dependency tree . Returns the file node if it exists returns NULL if it does not .
ACPI_FILE_NODE*
CvFilenameExists(
    char                    *Filename,
    ACPI_FILE_NODE          *Head)
{
    ACPI_FILE_NODE          *Current = Head;
    if (!Filename)
    {
        return (NULL);
    }
    while (Current)
    {
        if (!AcpiUtStricmp (Current->Filename, Filename))
        {
            return (Current);
        }
        Current = Current->Next;
    }
    return (NULL);
}
ACPI_FILE_NODE * CvFilenameExists ( char * Filename , ACPI_FILE_NODE * Head ) { ACPI_FILE_NODE * Current = Head ; if ( ! Filename ) { return ( NULL ) ; } while ( Current ) { if ( ! AcpiUtStricmp ( Current -> Filename , Filename ) ) { return ( Current ) ; } Current = Current -> Next ; } return ( NULL ) ; }
FUNCTION:    CvFilenameExists
 PARAMETERS:  Filename        - filename to search
FUNCTION : CvFilenameExists PARAMETERS : Filename - filename to search