/arch/s390/mm/ |
D | pgalloc.c | 54 void crst_table_free(struct mm_struct *mm, unsigned long *table) in crst_table_free() argument 56 if (!table) in crst_table_free() 58 pagetable_free(virt_to_ptdesc(table)); in crst_table_free() 146 u64 *table; in page_table_alloc_pgste() local 150 table = (u64 *)ptdesc_to_virt(ptdesc); in page_table_alloc_pgste() 151 arch_set_page_dat(virt_to_page(table), 0); in page_table_alloc_pgste() 152 memset64(table, _PAGE_INVALID, PTRS_PER_PTE); in page_table_alloc_pgste() 153 memset64(table + PTRS_PER_PTE, 0, PTRS_PER_PTE); in page_table_alloc_pgste() 247 unsigned long *table; in page_table_alloc() local 253 table = NULL; in page_table_alloc() [all …]
|
D | gmap.c | 50 unsigned long *table; in gmap_alloc() local 87 table = page_to_virt(page); in gmap_alloc() 88 crst_table_init(table, etype); in gmap_alloc() 89 gmap->table = table; in gmap_alloc() 91 _ASCE_USER_BITS | __pa(table); in gmap_alloc() 316 static int gmap_alloc_table(struct gmap *gmap, unsigned long *table, in gmap_alloc_table() argument 329 if (*table & _REGION_ENTRY_INVALID) { in gmap_alloc_table() 331 *table = __pa(new) | _REGION_ENTRY_LENGTH | in gmap_alloc_table() 332 (*table & _REGION_ENTRY_TYPE_MASK); in gmap_alloc_table() 521 void gmap_unlink(struct mm_struct *mm, unsigned long *table, in gmap_unlink() argument [all …]
|
D | fault.c | 124 unsigned long *table = __va(asce & _ASCE_ORIGIN); in dump_pagetable() local 129 table += (address & _REGION1_INDEX) >> _REGION1_SHIFT; in dump_pagetable() 130 if (bad_address(table)) in dump_pagetable() 132 pr_cont("R1:%016lx ", *table); in dump_pagetable() 133 if (*table & _REGION_ENTRY_INVALID) in dump_pagetable() 135 table = __va(*table & _REGION_ENTRY_ORIGIN); in dump_pagetable() 138 table += (address & _REGION2_INDEX) >> _REGION2_SHIFT; in dump_pagetable() 139 if (bad_address(table)) in dump_pagetable() 141 pr_cont("R2:%016lx ", *table); in dump_pagetable() 142 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 | 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 | 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 | 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/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/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/parisc/kernel/ |
D | unwind.c | 51 find_unwind_entry_in_table(const struct unwind_table *table, unsigned long addr) in find_unwind_entry_in_table() argument 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 86 list_for_each_entry(table, &unwind_tables, list) { in find_unwind_entry() 87 if (addr >= table->start && in find_unwind_entry() 88 addr <= table->end) in find_unwind_entry() 89 e = find_unwind_entry_in_table(table, addr); in find_unwind_entry() 92 list_move(&table->list, &unwind_tables); in find_unwind_entry() 103 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() 518 mce_err->error_type = table[i].error_type; in mce_handle_ierror() 519 mce_err->error_class = table[i].error_class; in mce_handle_ierror() 520 switch (table[i].error_type) { in mce_handle_ierror() 522 mce_err->u.ue_error_type = table[i].error_subtype; in mce_handle_ierror() 525 mce_err->u.slb_error_type = table[i].error_subtype; in mce_handle_ierror() 528 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/x86/boot/compressed/ |
D | mem.c | 51 struct efi_unaccepted_memory *table; in init_unaccepted_memory() local 67 table = (void *)efi_find_vendor_table(boot_params, 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/ |
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/kernel/ |
D | acpi.c | 61 struct acpi_table_header *table; in acpi_fadt_sanity_check() local 70 status = acpi_get_table(ACPI_SIG_FADT, 0, &table); in acpi_fadt_sanity_check() 78 fadt = (struct acpi_table_fadt *)table; in acpi_fadt_sanity_check() 88 if (table->revision < 6 || (table->revision == 6 && fadt->minor_revision < 5)) in acpi_fadt_sanity_check() 90 table->revision, fadt->minor_revision); in acpi_fadt_sanity_check() 101 acpi_put_table(table); in acpi_fadt_sanity_check()
|
/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/s390/pci/ |
D | pci_dma.c | 32 unsigned long *table, *entry; in dma_alloc_cpu_table() local 34 table = kmem_cache_alloc(dma_region_table_cache, gfp); in dma_alloc_cpu_table() 35 if (!table) in dma_alloc_cpu_table() 38 for (entry = table; entry < table + ZPCI_TABLE_ENTRIES; entry++) in dma_alloc_cpu_table() 40 return table; in dma_alloc_cpu_table() 43 static void dma_free_cpu_table(void *table) in dma_free_cpu_table() argument 45 kmem_cache_free(dma_region_table_cache, table); in dma_free_cpu_table() 50 unsigned long *table, *entry; in dma_alloc_page_table() local 52 table = kmem_cache_alloc(dma_page_table_cache, gfp); in dma_alloc_page_table() 53 if (!table) in dma_alloc_page_table() [all …]
|
/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/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/powerpc/platforms/cell/ |
D | iommu.c | 108 struct iommu_table table; member 163 container_of(tbl, struct iommu_window, table); in tce_build_cell() 208 container_of(tbl, struct iommu_window, table); in tce_free_cell() 482 window->table.it_blocksize = 16; in cell_iommu_setup_window() 483 window->table.it_base = (unsigned long)iommu->ptab; in cell_iommu_setup_window() 484 window->table.it_index = iommu->nid; in cell_iommu_setup_window() 485 window->table.it_page_shift = IOMMU_PAGE_SHIFT_4K; in cell_iommu_setup_window() 486 window->table.it_offset = in cell_iommu_setup_window() 487 (offset >> window->table.it_page_shift) + pte_offset; in cell_iommu_setup_window() 488 window->table.it_size = size >> window->table.it_page_shift; in cell_iommu_setup_window() [all …]
|
/arch/sparc/kernel/ |
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/arm/boot/dts/nvidia/ |
D | tegra20-peripherals-opp.dtsi | 4 core_opp_table: opp-table-core { 44 emc_icc_dvfs_opp_table: opp-table-emc { 168 host1x_dvfs_opp_table: opp-table-host1x { 193 mpe_dvfs_opp_table: opp-table-mpe { 281 vi_dvfs_opp_table: opp-table-vi { 306 epp_dvfs_opp_table: opp-table-epp { 338 gr2d_dvfs_opp_table: opp-table-gr2d { 370 gr3d_dvfs_opp_table: opp-table-gr3d { 507 disp1_dvfs_opp_table: opp-table-disp1 { 525 disp2_dvfs_opp_table: opp-table-disp2 { [all …]
|