/arch/s390/mm/ |
D | pgalloc.c | 64 void crst_table_free(struct mm_struct *mm, unsigned long *table) in crst_table_free() argument 66 free_pages((unsigned long) table, 2); in crst_table_free() 160 u64 *table; in page_table_alloc_pgste() local 164 table = (u64 *)page_to_virt(page); in page_table_alloc_pgste() 165 memset64(table, _PAGE_INVALID, PTRS_PER_PTE); in page_table_alloc_pgste() 166 memset64(table + PTRS_PER_PTE, 0, PTRS_PER_PTE); in page_table_alloc_pgste() 183 unsigned long *table; in page_table_alloc() local 189 table = NULL; in page_table_alloc() 197 table = (unsigned long *) page_to_virt(page); in page_table_alloc() 200 table += PTRS_PER_PTE; in page_table_alloc() [all …]
|
D | gmap.c | 38 unsigned long *table; in gmap_alloc() local 75 table = (unsigned long *) page_to_phys(page); in gmap_alloc() 76 crst_table_init(table, etype); in gmap_alloc() 77 gmap->table = table; in gmap_alloc() 79 _ASCE_USER_BITS | __pa(table); in gmap_alloc() 304 static int gmap_alloc_table(struct gmap *gmap, unsigned long *table, in gmap_alloc_table() argument 317 if (*table & _REGION_ENTRY_INVALID) { in gmap_alloc_table() 319 *table = (unsigned long) new | _REGION_ENTRY_LENGTH | in gmap_alloc_table() 320 (*table & _REGION_ENTRY_TYPE_MASK); in gmap_alloc_table() 510 void gmap_unlink(struct mm_struct *mm, unsigned long *table, in gmap_unlink() argument [all …]
|
D | fault.c | 107 unsigned long *table = __va(asce & _ASCE_ORIGIN); in dump_pagetable() local 112 table += (address & _REGION1_INDEX) >> _REGION1_SHIFT; in dump_pagetable() 113 if (bad_address(table)) in dump_pagetable() 115 pr_cont("R1:%016lx ", *table); in dump_pagetable() 116 if (*table & _REGION_ENTRY_INVALID) in dump_pagetable() 118 table = (unsigned long *)(*table & _REGION_ENTRY_ORIGIN); in dump_pagetable() 121 table += (address & _REGION2_INDEX) >> _REGION2_SHIFT; in dump_pagetable() 122 if (bad_address(table)) in dump_pagetable() 124 pr_cont("R2:%016lx ", *table); in dump_pagetable() 125 if (*table & _REGION_ENTRY_INVALID) in dump_pagetable() [all …]
|
/arch/x86/lib/ |
D | inat.c | 29 const insn_attr_t *table; in inat_get_escape_attribute() local 34 table = inat_escape_tables[n][0]; in inat_get_escape_attribute() 35 if (!table) in inat_get_escape_attribute() 37 if (inat_has_variant(table[opcode]) && lpfx_id) { in inat_get_escape_attribute() 38 table = inat_escape_tables[n][lpfx_id]; 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 53 table = inat_group_tables[n][0]; in inat_get_group_attribute() 54 if (!table) in inat_get_group_attribute() [all …]
|
/arch/powerpc/boot/ |
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() 38 const char *planetcore_get_key(const char *table, const char *key) in planetcore_get_key() argument 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() [all …]
|
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()
|
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()
|
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/powerpc/include/asm/nohash/ |
D | pgalloc.h | 8 extern void tlb_remove_table(struct mmu_gather *tlb, void *table); 37 static inline void pgtable_free(void *table, int shift) in pgtable_free() argument 40 pte_fragment_free((unsigned long *)table, 0); in pgtable_free() 43 kmem_cache_free(PGT_CACHE(shift), table); in pgtable_free() 49 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, int shift) in pgtable_free_tlb() argument 51 unsigned long pgf = (unsigned long)table; in pgtable_free_tlb() 60 void *table = (void *)((unsigned long)_table & ~MAX_PGTABLE_INDEX_SIZE); in __tlb_remove_table() local 63 pgtable_free(table, shift); in __tlb_remove_table() 66 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/powerpc/include/asm/book3s/32/ |
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() 53 void *table, int shift) in pgtable_free_tlb() argument 55 unsigned long pgf = (unsigned long)table; in pgtable_free_tlb() 63 void *table = (void *)((unsigned long)_table & ~MAX_PGTABLE_INDEX_SIZE); in __tlb_remove_table() local 66 pgtable_free(table, shift); in __tlb_remove_table() 69 static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t table, in __pte_free_tlb() argument 72 pgtable_free_tlb(tlb, table, 0); in __pte_free_tlb()
|
/arch/s390/include/asm/ |
D | pgalloc.h | 55 unsigned long *table = crst_table_alloc(mm); in p4d_alloc_one() local 57 if (table) in p4d_alloc_one() 58 crst_table_init(table, _REGION2_ENTRY_EMPTY); in p4d_alloc_one() 59 return (p4d_t *) table; in p4d_alloc_one() 70 unsigned long *table = crst_table_alloc(mm); in pud_alloc_one() local 71 if (table) in pud_alloc_one() 72 crst_table_init(table, _REGION3_ENTRY_EMPTY); in pud_alloc_one() 73 return (pud_t *) table; in pud_alloc_one() 84 unsigned long *table = crst_table_alloc(mm); in pmd_alloc_one() local 86 if (!table) in pmd_alloc_one() [all …]
|
/arch/arc/kernel/ |
D | unwind.c | 158 struct unwind_table *table; in find_table() local 160 for (table = &root_table; table; table = table->link) in find_table() 161 if ((pc >= table->core.pc in find_table() 162 && pc < table->core.pc + table->core.range) in find_table() 163 || (pc >= table->init.pc in find_table() 164 && pc < table->init.pc + table->init.range)) in find_table() 167 return table; in find_table() 172 static void init_unwind_hdr(struct unwind_table *table, 184 static void init_unwind_table(struct unwind_table *table, const char *name, in init_unwind_table() argument 190 table->core.pc = (unsigned long)core_start; in init_unwind_table() [all …]
|
/arch/parisc/kernel/ |
D | unwind.c | 49 find_unwind_entry_in_table(const struct unwind_table *table, unsigned long addr) in find_unwind_entry_in_table() argument 55 hi = table->length - 1; in find_unwind_entry_in_table() 59 e = &table->table[mid]; in find_unwind_entry_in_table() 74 struct unwind_table *table; in find_unwind_entry() local 84 list_for_each_entry(table, &unwind_tables, list) { in find_unwind_entry() 85 if (addr >= table->start && in find_unwind_entry() 86 addr <= table->end) in find_unwind_entry() 87 e = find_unwind_entry_in_table(table, addr); in find_unwind_entry() 90 list_move(&table->list, &unwind_tables); in find_unwind_entry() 101 unwind_table_init(struct unwind_table *table, const char *name, in unwind_table_init() argument [all …]
|
/arch/powerpc/kernel/ |
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() 516 mce_err->error_type = table[i].error_type; in mce_handle_ierror() 517 mce_err->error_class = table[i].error_class; in mce_handle_ierror() 518 switch (table[i].error_type) { in mce_handle_ierror() 520 mce_err->u.ue_error_type = table[i].error_subtype; in mce_handle_ierror() 523 mce_err->u.slb_error_type = table[i].error_subtype; in mce_handle_ierror() 526 mce_err->u.erat_error_type = table[i].error_subtype; in mce_handle_ierror() [all …]
|
/arch/arm64/boot/dts/arm/ |
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/sparc/include/asm/ |
D | pgalloc_64.h | 71 void pgtable_free(void *table, bool is_page); 78 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, bool is_page) in pgtable_free_tlb() argument 80 unsigned long pgf = (unsigned long)table; in pgtable_free_tlb() 88 void *table = (void *)((unsigned long)_table & ~0x1UL); in __tlb_remove_table() local 93 pgtable_free(table, is_page); in __tlb_remove_table() 96 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, bool is_page) in pgtable_free_tlb() argument 98 pgtable_free(table, is_page); in pgtable_free_tlb()
|
/arch/x86/boot/compressed/ |
D | acpi.c | 38 acpi_physical_address table; in __efi_get_rsdp_addr() local 45 table = tbl->table; in __efi_get_rsdp_addr() 47 if (!IS_ENABLED(CONFIG_X86_64) && table >> 32) { in __efi_get_rsdp_addr() 55 table = tbl->table; in __efi_get_rsdp_addr() 59 rsdp_addr = table; in __efi_get_rsdp_addr() 61 return table; in __efi_get_rsdp_addr() 376 unsigned long table_addr, table_end, table; in count_immovable_mem_regions() local 392 table = table_addr + sizeof(struct acpi_table_srat); in count_immovable_mem_regions() 394 while (table + sizeof(struct acpi_subtable_header) < table_end) { in count_immovable_mem_regions() 396 sub_table = (struct acpi_subtable_header *)table; in count_immovable_mem_regions() [all …]
|
/arch/arm64/boot/dts/apple/ |
D | t8103.dtsi | 27 enable-method = "spin-table"; 35 enable-method = "spin-table"; 43 enable-method = "spin-table"; 51 enable-method = "spin-table"; 59 enable-method = "spin-table"; 67 enable-method = "spin-table"; 75 enable-method = "spin-table"; 83 enable-method = "spin-table";
|
/arch/s390/pci/ |
D | pci_dma.c | 30 unsigned long *table, *entry; in dma_alloc_cpu_table() local 32 table = kmem_cache_alloc(dma_region_table_cache, GFP_ATOMIC); in dma_alloc_cpu_table() 33 if (!table) in dma_alloc_cpu_table() 36 for (entry = table; entry < table + ZPCI_TABLE_ENTRIES; entry++) in dma_alloc_cpu_table() 38 return table; in dma_alloc_cpu_table() 41 static void dma_free_cpu_table(void *table) in dma_free_cpu_table() argument 43 kmem_cache_free(dma_region_table_cache, table); in dma_free_cpu_table() 48 unsigned long *table, *entry; in dma_alloc_page_table() local 50 table = kmem_cache_alloc(dma_page_table_cache, GFP_ATOMIC); in dma_alloc_page_table() 51 if (!table) in dma_alloc_page_table() [all …]
|
/arch/x86/tools/ |
D | gen-insn-attr-x86.awk | 17 delete table 174 if (array_size(table) != 0) { 175 print_table(table, tname "[INAT_GROUP_TABLE_SIZE]", 196 if (array_size(table) != 0) { 197 print_table(table, tname "[INAT_OPCODE_TABLE_SIZE]", 265 if (idx in table) 279 table[idx] = "INAT_MAKE_ESCAPE(" escape[ref] ")" 355 table[idx] = add_flags(table[idx],flags) 359 table[idx] = add_flags(table[idx],variant)
|
/arch/arm64/kernel/ |
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/powerpc/sysdev/ |
D | dcr-low.S | 13 #define DCR_ACCESS_PROLOG(table) \ argument 16 lis r5,table@h; \ 17 ori r5,r5,table@l; \
|
/arch/s390/kernel/ |
D | head64.S | 46 .quad 0 # cr1: primary space segment table 47 .quad 0 # cr2: dispatchable unit control table 52 .quad 0 # cr7: secondary space segment table 58 .quad 0 # cr13: home space segment table
|
/arch/x86/kernel/ |
D | e820.c | 77 static bool _e820__mapped_any(struct e820_table *table, in _e820__mapped_any() argument 82 for (i = 0; i < table->nr_entries; i++) { in _e820__mapped_any() 83 struct e820_entry *entry = &table->entries[i]; in _e820__mapped_any() 166 static void __init __e820__range_add(struct e820_table *table, u64 start, u64 size, enum e820_type … in __e820__range_add() argument 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() [all …]
|
/arch/parisc/include/asm/ |
D | agp.h | 18 #define free_gatt_pages(table, order) \ argument 19 free_pages((unsigned long)(table), (order))
|