Searched refs:table_end (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/acpi/arm64/ |
| H A D | mpam.c | 133 char *ptr, *table_end; in acpi_mpam_parse_resources() local 136 table_end = (char *)tbl_msc + tbl_msc->length; in acpi_mpam_parse_resources() 141 if (ptr + sizeof(*resource) > table_end) in acpi_mpam_parse_resources() 146 remaining_table = table_end - ptr; in acpi_mpam_parse_resources() 303 char *table_end, *table_offset; in acpi_mpam_parse() local 322 table_end = (char *)table + table->length; in acpi_mpam_parse() 324 while (table_offset < table_end) { in acpi_mpam_parse() 326 if (table_offset + sizeof(*tbl_msc) > table_end || in acpi_mpam_parse() 327 table_offset + tbl_msc->length > table_end) { in acpi_mpam_parse() 369 char *table_end, *table_offset; in acpi_mpam_count_msc() local [all …]
|
| /linux/lib/ |
| H A D | fw_table.c | 156 unsigned long table_len, table_end, subtable_len, entry_len; in acpi_parse_entries_array() local 166 table_end = (unsigned long)table_header + table_len; in acpi_parse_entries_array() 175 while (((unsigned long)entry.hdr) + subtable_len < table_end) { in acpi_parse_entries_array() 181 if (call_handler(&proc[i], entry.hdr, table_end)) in acpi_parse_entries_array()
|
| /linux/drivers/char/agp/ |
| H A D | uninorth-agp.c | 372 char *table_end; in uninorth_create_gatt_table() local 411 table_end = table + ((PAGE_SIZE * (1 << page_order)) - 1); in uninorth_create_gatt_table() 413 for (page = virt_to_page(table), i = 0; page <= virt_to_page(table_end); in uninorth_create_gatt_table() 422 (unsigned long)table_end + 1); in uninorth_create_gatt_table() 450 char *table, *table_end; in uninorth_free_gatt_table() local 465 table_end = table + ((PAGE_SIZE * (1 << page_order)) - 1); in uninorth_free_gatt_table() 467 for (page = virt_to_page(table); page <= virt_to_page(table_end); page++) in uninorth_free_gatt_table()
|
| H A D | generic.c | 853 char *table_end; in agp_generic_create_gatt_table() local 928 table_end = table + ((PAGE_SIZE * (1 << page_order)) - 1); in agp_generic_create_gatt_table() 930 for (page = virt_to_page(table); page <= virt_to_page(table_end); page++) in agp_generic_create_gatt_table() 949 for (page = virt_to_page(table); page <= virt_to_page(table_end); page++) in agp_generic_create_gatt_table() 971 char *table, *table_end; in agp_generic_free_gatt_table() local 1008 table_end = table + ((PAGE_SIZE * (1 << page_order)) - 1); in agp_generic_free_gatt_table() 1010 for (page = virt_to_page(table); page <= virt_to_page(table_end); page++) in agp_generic_free_gatt_table()
|
| /linux/arch/x86/boot/compressed/ |
| H A D | acpi.c | 277 unsigned long table_addr, table_end, table; in count_immovable_mem_regions() local 292 table_end = table_addr + table_header->length; in count_immovable_mem_regions() 295 while (table + sizeof(struct acpi_subtable_header) < table_end) { in count_immovable_mem_regions()
|
| /linux/arch/parisc/kernel/ |
| H A D | unwind.c | 104 void *table_start, void *table_end) in unwind_table_init() argument 108 (struct unwind_table_entry *)table_end - 1; in unwind_table_init()
|
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_crat.c | 2037 unsigned long table_end, subtable_len; in kfd_find_numa_node_in_srat() local 2062 table_end = (unsigned long)table_header + table_header->length; in kfd_find_numa_node_in_srat() 2069 while ((unsigned long)sub_header < table_end) { in kfd_find_numa_node_in_srat() 2072 if (table_end - start < sizeof(*sub_header)) in kfd_find_numa_node_in_srat() 2077 subtable_len > table_end - start) in kfd_find_numa_node_in_srat()
|