/* * Search for a signature match among the known table types */ 
/* Search for a signature match among the known table types */  
acpi_tb_match_signature (	char                            *signature,	struct acpi_table_desc          *table_info,	u8                              search_type){	acpi_native_uint                i;	ACPI_FUNCTION_TRACE ("tb_match_signature");	/*	 * Search for a signature match among the known table types	 */	for (i = 0; i < NUM_ACPI_TABLE_TYPES; i++) {		if (!(acpi_gbl_table_data[i].flags & search_type)) {			continue;		}		if (!ACPI_STRNCMP (signature, acpi_gbl_table_data[i].signature,				   acpi_gbl_table_data[i].sig_length)) {			/* Found a signature match, return index if requested */			if (table_info) {				table_info->type = (u8) i;			}			ACPI_DEBUG_PRINT ((ACPI_DB_INFO,				"Table [%4.4s] is an ACPI table consumed by the core subsystem\n",				(char *) acpi_gbl_table_data[i].signature));			return_ACPI_STATUS (AE_OK);		}	}	ACPI_DEBUG_PRINT ((ACPI_DB_INFO,		"Table [%4.4s] is not an ACPI table consumed by the core subsystem - ignored\n",		(char *) signature));	return_ACPI_STATUS (AE_TABLE_NOT_SUPPORTED);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/44f6c01242da4e162f28d8e1216a8c7a91174605/tbinstal.c/buggy/drivers/acpi/tables/tbinstal.c