| /arch/s390/mm/ |
| A D | pgalloc.c | 26 return table; in crst_table_alloc() 31 if (!table) in crst_table_free() 118 u64 *table; in page_table_alloc_pgste() local 153 return table; in page_table_alloc() 191 if (table) in base_pgt_alloc() 193 return table; in base_pgt_alloc() 211 return table; in base_crst_alloc() 216 if (!table) in base_crst_free() 444 if (!table) in base_asce_alloc() 450 if (!table) in base_asce_alloc() [all …]
|
| A D | gmap.c | 98 gmap->table = table; in gmap_alloc() 543 table = gmap->table; in __gmap_link() 550 table = __va(*table & _REGION_ENTRY_ORIGIN); in __gmap_link() 558 table = __va(*table & _REGION_ENTRY_ORIGIN); in __gmap_link() 566 table = __va(*table & _REGION_ENTRY_ORIGIN); in __gmap_link() 702 unsigned long *table = gmap->table; in gmap_table_walk() local 721 table = __va(*table & _REGION_ENTRY_ORIGIN); in gmap_table_walk() 729 table = __va(*table & _REGION_ENTRY_ORIGIN); in gmap_table_walk() 737 table = __va(*table & _REGION_ENTRY_ORIGIN); in gmap_table_walk() 1165 if (!table || *table & _PAGE_INVALID) in gmap_unshadow_page() [all …]
|
| A D | fault.c | 85 table += (address & _REGION1_INDEX) >> _REGION1_SHIFT; in dump_pagetable() 86 if (get_kernel_nofault(entry, table)) in dump_pagetable() 91 table = __va(entry & _REGION_ENTRY_ORIGIN); in dump_pagetable() 95 if (get_kernel_nofault(entry, table)) in dump_pagetable() 100 table = __va(entry & _REGION_ENTRY_ORIGIN); in dump_pagetable() 104 if (get_kernel_nofault(entry, table)) in dump_pagetable() 109 table = __va(entry & _REGION_ENTRY_ORIGIN); in dump_pagetable() 113 if (get_kernel_nofault(entry, table)) in dump_pagetable() 118 table = __va(entry & _SEGMENT_ENTRY_ORIGIN); in dump_pagetable() 120 table += (address & _PAGE_INDEX) >> PAGE_SHIFT; in dump_pagetable() [all …]
|
| /arch/x86/lib/ |
| A D | inat.c | 29 const insn_attr_t *table; in inat_get_escape_attribute() local 35 if (!table) in inat_get_escape_attribute() 39 if (!table) in inat_get_escape_attribute() 42 return table[opcode]; in inat_get_escape_attribute() 48 const insn_attr_t *table; in inat_get_group_attribute() local 54 if (!table) in inat_get_group_attribute() 58 if (!table) in inat_get_group_attribute() 68 const insn_attr_t *table; in inat_get_avx_attribute() local 73 if (!table) in inat_get_avx_attribute() 78 if (!table) in inat_get_avx_attribute() [all …]
|
| /arch/powerpc/boot/ |
| A D | planetcore.c | 26 void planetcore_prepare_table(char *table) in planetcore_prepare_table() argument 29 if (*table == '\n') in planetcore_prepare_table() 30 *table = 0; in planetcore_prepare_table() 32 table++; in planetcore_prepare_table() 33 } while (*(table - 1) || *table != '\n'); in planetcore_prepare_table() 35 *table = 0; in planetcore_prepare_table() 43 if (!strncmp(table, key, keylen) && table[keylen] == '=') in planetcore_get_key() 44 return table + keylen + 1; in planetcore_get_key() 46 table += strlen(table) + 1; in planetcore_get_key() 47 } while (strlen(table) != 0); in planetcore_get_key() [all …]
|
| A D | ep8248e.c | 15 static char *table; variable 25 planetcore_set_mac_addrs(table); in platform_fixups() 27 if (!planetcore_get_decimal(table, PLANETCORE_KEY_CRYSTAL_HZ, &val)) { in platform_fixups() 38 table = (char *)r3; in platform_init() 39 planetcore_prepare_table(table); in platform_init() 41 if (!planetcore_get_decimal(table, PLANETCORE_KEY_MB_RAM, &mem_size)) in platform_init() 49 planetcore_set_stdout_path(table); in platform_init()
|
| A D | ep88xc.c | 15 static char *table; variable 23 planetcore_set_mac_addrs(table); in platform_fixups() 25 if (!planetcore_get_decimal(table, PLANETCORE_KEY_CRYSTAL_HZ, &val)) { in platform_fixups() 36 table = (char *)r3; in platform_init() 37 planetcore_prepare_table(table); in platform_init() 39 if (!planetcore_get_decimal(table, PLANETCORE_KEY_MB_RAM, &mem_size)) in platform_init() 47 planetcore_set_stdout_path(table); in platform_init()
|
| A D | planetcore.h | 26 void planetcore_prepare_table(char *table); 33 const char *planetcore_get_key(const char *table, const char *key); 34 int planetcore_get_decimal(const char *table, const char *key, u64 *val); 35 int planetcore_get_hex(const char *table, const char *key, u64 *val); 40 void planetcore_set_mac_addrs(const char *table); 45 void planetcore_set_stdout_path(const char *table);
|
| /arch/s390/include/asm/ |
| A D | pgalloc.h | 55 if (!table) in p4d_alloc_one() 58 pagetable_p4d_ctor(virt_to_ptdesc(table)); in p4d_alloc_one() 60 return (p4d_t *) table; in p4d_alloc_one() 76 if (!table) in pud_alloc_one() 79 pagetable_pud_ctor(virt_to_ptdesc(table)); in pud_alloc_one() 81 return (pud_t *) table; in pud_alloc_one() 97 if (!table) in pmd_alloc_one() 101 crst_table_free(mm, table); in pmd_alloc_one() 104 return (pmd_t *) table; in pmd_alloc_one() 134 if (!table) in pgd_alloc() [all …]
|
| /arch/powerpc/include/asm/nohash/ |
| A D | pgalloc.h | 8 extern void tlb_remove_table(struct mmu_gather *tlb, void *table); 43 static inline void pgtable_free(void *table, int shift) in pgtable_free() argument 46 pte_fragment_free((unsigned long *)table, 0); in pgtable_free() 49 kmem_cache_free(PGT_CACHE(shift), table); in pgtable_free() 53 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, int shift) in pgtable_free_tlb() argument 55 unsigned long pgf = (unsigned long)table; in pgtable_free_tlb() 64 void *table = (void *)((unsigned long)_table & ~MAX_PGTABLE_INDEX_SIZE); in __tlb_remove_table() local 67 pgtable_free(table, shift); in __tlb_remove_table() 70 static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t table, in __pte_free_tlb() argument 74 pgtable_free_tlb(tlb, table, 0); in __pte_free_tlb()
|
| /arch/arc/kernel/ |
| A D | unwind.c | 160 for (table = &root_table; table; table = table->link) in find_table() 162 && pc < table->core.pc + table->core.range) in find_table() 164 && pc < table->init.pc + table->init.range)) in find_table() 167 return table; in find_table() 319 for (fde = table->address, tableSize = table->size, n = 0; in init_unwind_hdr() 369 table = kmalloc(sizeof(*table), GFP_KERNEL); in unwind_add_table() 370 if (!table) in unwind_add_table() 383 module->name, table->core.pc, table->core.range); in unwind_add_table() 402 struct unwind_table *table = info->table, *prev; in unlink_table() local 430 if (!table || table == &root_table) in unwind_remove_table() [all …]
|
| /arch/powerpc/include/asm/book3s/32/ |
| A D | pgalloc.h | 40 static inline void pgtable_free(void *table, unsigned index_size) in pgtable_free() argument 43 pte_fragment_free((unsigned long *)table, 0); in pgtable_free() 46 kmem_cache_free(PGT_CACHE(index_size), table); in pgtable_free() 51 void *table, int shift) in pgtable_free_tlb() argument 53 unsigned long pgf = (unsigned long)table; in pgtable_free_tlb() 61 void *table = (void *)((unsigned long)_table & ~MAX_PGTABLE_INDEX_SIZE); in __tlb_remove_table() local 64 pgtable_free(table, shift); in __tlb_remove_table() 67 static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t table, in __pte_free_tlb() argument 70 pgtable_free_tlb(tlb, table, 0); in __pte_free_tlb()
|
| /arch/parisc/kernel/ |
| A D | unwind.c | 57 hi = table->length - 1; in find_unwind_entry_in_table() 61 e = &table->table[mid]; in find_unwind_entry_in_table() 76 struct unwind_table *table; in find_unwind_entry() local 88 addr <= table->end) in find_unwind_entry() 111 table->name = name; in unwind_table_init() 113 table->gp = gp; in unwind_table_init() 116 table->table = (struct unwind_table_entry *)table_start; in unwind_table_init() 159 if (table == NULL) in unwind_table_add() 166 return table; in unwind_table_add() 174 list_del(&table->list); in unwind_table_remove() [all …]
|
| /arch/powerpc/kernel/ |
| A D | mce_power.c | 485 const struct mce_ierror_table table[], in mce_handle_ierror() argument 494 for (i = 0; table[i].srr1_mask; i++) { in mce_handle_ierror() 495 if ((srr1 & table[i].srr1_mask) != table[i].srr1_value) in mce_handle_ierror() 500 switch (table[i].error_type) { in mce_handle_ierror() 520 switch (table[i].error_type) { in mce_handle_ierror() 544 mce_err->severity = table[i].severity; in mce_handle_ierror() 574 const struct mce_derror_table table[], in mce_handle_derror() argument 586 if (!(dsisr & table[i].dsisr_value)) in mce_handle_derror() 591 switch (table[i].error_type) { in mce_handle_derror() 622 switch (table[i].error_type) { in mce_handle_derror() [all …]
|
| /arch/arm64/boot/dts/arm/ |
| A D | foundation-v8-spin-table.dtsi | 4 * ARMv8 Foundation model DTS (spin table configuration) 8 enable-method = "spin-table"; 13 enable-method = "spin-table"; 18 enable-method = "spin-table"; 23 enable-method = "spin-table";
|
| /arch/x86/boot/compressed/ |
| A D | mem.c | 51 struct efi_unaccepted_memory *table; in init_unaccepted_memory() local 67 table = (void *)efi_find_vendor_table(boot_params_ptr, cfg_table_pa, in init_unaccepted_memory() 69 if (!table) in init_unaccepted_memory() 72 if (table->version != 1) in init_unaccepted_memory() 83 unaccepted_table = table; in init_unaccepted_memory()
|
| /arch/sparc/include/asm/ |
| A D | pgalloc_64.h | 75 void pgtable_free(void *table, bool is_page); 82 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, bool is_page) in pgtable_free_tlb() argument 84 unsigned long pgf = (unsigned long)table; in pgtable_free_tlb() 92 void *table = (void *)((unsigned long)_table & ~0x1UL); in __tlb_remove_table() local 97 pgtable_free(table, is_page); in __tlb_remove_table() 100 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, bool is_page) in pgtable_free_tlb() argument 102 pgtable_free(table, is_page); in pgtable_free_tlb()
|
| /arch/riscv/include/asm/ |
| A D | acpi.h | 69 int acpi_get_riscv_isa(struct acpi_table_header *table, 72 void acpi_get_cbo_block_size(struct acpi_table_header *table, u32 *cbom_size, 81 static inline int acpi_get_riscv_isa(struct acpi_table_header *table, in acpi_get_riscv_isa() argument 87 static inline void acpi_get_cbo_block_size(struct acpi_table_header *table, in acpi_get_cbo_block_size() argument
|
| /arch/x86/tools/ |
| A D | gen-insn-attr-x86.awk | 17 delete table 181 if (array_size(table) != 0) { 182 print_table(table, tname "[INAT_GROUP_TABLE_SIZE]", 203 if (array_size(table) != 0) { 204 print_table(table, tname "[INAT_OPCODE_TABLE_SIZE]", 272 if (idx in table) 286 table[idx] = "INAT_MAKE_ESCAPE(" escape[ref] ")" 373 table[idx] = add_flags(table[idx], "INAT_REX2_VARIANT") 375 table[idx] = add_flags(table[idx],flags) 379 table[idx] = add_flags(table[idx],variant)
|
| /arch/riscv/kernel/ |
| A D | acpi.c | 64 struct acpi_table_header *table; in acpi_fadt_sanity_check() local 73 status = acpi_get_table(ACPI_SIG_FADT, 0, &table); in acpi_fadt_sanity_check() 81 fadt = (struct acpi_table_fadt *)table; in acpi_fadt_sanity_check() 91 if (table->revision < 6 || (table->revision == 6 && fadt->minor_revision < 5)) in acpi_fadt_sanity_check() 93 table->revision, fadt->minor_revision); in acpi_fadt_sanity_check() 104 acpi_put_table(table); in acpi_fadt_sanity_check()
|
| /arch/x86/kernel/ |
| A D | e820.c | 82 for (i = 0; i < table->nr_entries; i++) { in _e820__mapped_any() 168 int x = table->nr_entries; in __e820__range_add() 170 if (x >= ARRAY_SIZE(table->entries)) { in __e820__range_add() 176 table->entries[x].addr = start; in __e820__range_add() 177 table->entries[x].size = size; in __e820__range_add() 178 table->entries[x].type = type; in __e820__range_add() 179 table->nr_entries++; in __e820__range_add() 331 if (table->nr_entries < 2) in e820__update_table() 337 for (i = 0; i < table->nr_entries; i++) { in e820__update_table() 351 for (i = 0; i < table->nr_entries; i++) { in e820__update_table() [all …]
|
| /arch/powerpc/sysdev/ |
| A D | dcr-low.S | 13 #define DCR_ACCESS_PROLOG(table) \ argument 16 lis r5,table@h; \ 17 ori r5,r5,table@l; \
|
| /arch/arm64/kernel/ |
| A D | acpi.c | 129 struct acpi_table_header *table; in acpi_fadt_sanity_check() local 138 status = acpi_get_table(ACPI_SIG_FADT, 0, &table); in acpi_fadt_sanity_check() 146 fadt = (struct acpi_table_fadt *)table; in acpi_fadt_sanity_check() 154 if (table->revision < 5 || in acpi_fadt_sanity_check() 155 (table->revision == 5 && fadt->minor_revision < 1)) { in acpi_fadt_sanity_check() 157 table->revision, fadt->minor_revision); in acpi_fadt_sanity_check() 176 acpi_put_table(table); in acpi_fadt_sanity_check()
|
| /arch/sparc/kernel/ |
| A D | irq_32.c | 257 #define INSTANTIATE(table) \ in sparc_floppy_request_irq() argument 258 table[SP_TRAP_IRQ1+(cpu_irq-1)].inst_one = SPARC_RD_PSR_L0; \ in sparc_floppy_request_irq() 259 table[SP_TRAP_IRQ1+(cpu_irq-1)].inst_two = \ in sparc_floppy_request_irq() 261 (unsigned long) &table[SP_TRAP_IRQ1+(cpu_irq-1)].inst_two);\ in sparc_floppy_request_irq() 262 table[SP_TRAP_IRQ1+(cpu_irq-1)].inst_three = SPARC_RD_WIM_L3; \ in sparc_floppy_request_irq() 263 table[SP_TRAP_IRQ1+(cpu_irq-1)].inst_four = SPARC_NOP; in sparc_floppy_request_irq()
|
| /arch/arm64/boot/dts/altera/ |
| A D | socfpga_stratix10_swvp.dts | 39 enable-method = "spin-table"; 44 enable-method = "spin-table"; 49 enable-method = "spin-table"; 54 enable-method = "spin-table";
|