kernel/acpica/compiler/cvparser.c
/*******************************************************************************
 *
 * FUNCTION:    CvFileAddressLookup
 *
 * PARAMETERS:  Address        - address to look up
 *              Head           - file dependency tree
 *
 * RETURN:      ACPI_FILE_NODE - pointer to a file node containing the address
 *
 * DESCRIPTION: Look for the given address in the file dependency tree.
 *              Returns the first file node where the given address is within
 *              the file node's starting and ending address.
 *
 ******************************************************************************/
CvFileAddressLookup
PARAMETERS:  Address        - address to look up
Head           - file dependency tree

pointer to a file node containing the address

Look for the given address in the file dependency tree.
Returns the first file node where the given address is within
the file node's starting and ending address.
CvFileAddressLookup PARAMETERS : Address - address to look up Head - file dependency tree pointer to a file node containing the address Look for the given address in the file dependency tree . Returns the first file node where the given address is within the file node ' s starting and ending address .
static ACPI_FILE_NODE *
CvFileAddressLookup(
    char                    *Address,
    ACPI_FILE_NODE          *Head)
{
    ACPI_FILE_NODE          *Current = Head;
    while (Current)
    {
        if ((Address >= Current->FileStart) &&
            (Address < Current->FileEnd ||
            !Current->FileEnd))
        {
            return (Current);
        }
        Current = Current->Next;
    }
    return (NULL);
}
static ACPI_FILE_NODE * CvFileAddressLookup ( char * Address , ACPI_FILE_NODE * Head ) { ACPI_FILE_NODE * Current = Head ; while ( Current ) { if ( ( Address >= Current -> FileStart ) && ( Address < Current -> FileEnd || ! Current -> FileEnd ) ) { return ( Current ) ; } Current = Current -> Next ; } return ( NULL ) ; }
FUNCTION:    CvFileAddressLookup
 PARAMETERS:  Address        - address to look up
              Head           - file dependency tree
FUNCTION : CvFileAddressLookup PARAMETERS : Address - address to look up Head - file dependency tree