Home
last modified time | relevance | path

Searched refs:table (Results 1 – 25 of 358) sorted by relevance

12345678910>>...15

/arch/s390/mm/
Dpgalloc.c64 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()
80 unsigned long *table, *pgd; in crst_table_upgrade() local
88 table = crst_table_alloc(mm); in crst_table_upgrade()
89 if (!table) { in crst_table_upgrade()
96 crst_table_init(table, _REGION2_ENTRY_EMPTY); in crst_table_upgrade()
97 p4d_populate(mm, (p4d_t *) table, (pud_t *) pgd); in crst_table_upgrade()
98 mm->pgd = (pgd_t *) table; in crst_table_upgrade()
104 crst_table_init(table, _REGION1_ENTRY_EMPTY); in crst_table_upgrade()
105 pgd_populate(mm, (pgd_t *) table, (p4d_t *) pgd); in crst_table_upgrade()
[all …]
Dgmap.c39 unsigned long *table; in gmap_alloc() local
76 table = (unsigned long *) page_to_phys(page); in gmap_alloc()
77 crst_table_init(table, etype); in gmap_alloc()
78 gmap->table = table; in gmap_alloc()
80 _ASCE_USER_BITS | __pa(table); in gmap_alloc()
305 static int gmap_alloc_table(struct gmap *gmap, unsigned long *table, in gmap_alloc_table() argument
318 if (*table & _REGION_ENTRY_INVALID) { in gmap_alloc_table()
320 *table = (unsigned long) new | _REGION_ENTRY_LENGTH | in gmap_alloc_table()
321 (*table & _REGION_ENTRY_TYPE_MASK); in gmap_alloc_table()
511 void gmap_unlink(struct mm_struct *mm, unsigned long *table, in gmap_unlink() argument
[all …]
Dfault.c113 unsigned long *table = __va(asce & _ASCE_ORIGIN); in dump_pagetable() local
118 table += (address & _REGION1_INDEX) >> _REGION1_SHIFT; in dump_pagetable()
119 if (bad_address(table)) in dump_pagetable()
121 pr_cont("R1:%016lx ", *table); in dump_pagetable()
122 if (*table & _REGION_ENTRY_INVALID) in dump_pagetable()
124 table = (unsigned long *)(*table & _REGION_ENTRY_ORIGIN); in dump_pagetable()
127 table += (address & _REGION2_INDEX) >> _REGION2_SHIFT; in dump_pagetable()
128 if (bad_address(table)) in dump_pagetable()
130 pr_cont("R2:%016lx ", *table); in dump_pagetable()
131 if (*table & _REGION_ENTRY_INVALID) in dump_pagetable()
[all …]
/arch/x86/lib/
Dinat.c29 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/
Dplanetcore.c26 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 …]
Dep88xc.c15 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()
Dep8248e.c15 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()
Dep405.c21 static char *table; variable
30 planetcore_set_mac_addrs(table); in platform_fixups()
32 if (!planetcore_get_decimal(table, PLANETCORE_KEY_CRYSTAL_HZ, &val)) { in platform_fixups()
40 if (!planetcore_get_decimal(table, PLANETCORE_KEY_KB_NVRAM, &val)) { in platform_fixups()
56 table = (char *)r3; in platform_init()
57 planetcore_prepare_table(table); in platform_init()
59 if (!planetcore_get_decimal(table, PLANETCORE_KEY_MB_RAM, &mem_size)) in platform_init()
67 planetcore_set_stdout_path(table); in platform_init()
Dplanetcore.h26 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/
Dpgalloc.h8 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()
50 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, int shift) in pgtable_free_tlb() argument
52 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()
68 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, int shift) in pgtable_free_tlb() argument
70 pgtable_free(table, shift); in pgtable_free_tlb()
[all …]
/arch/s390/include/asm/
Dpgalloc.h53 unsigned long *table = crst_table_alloc(mm); in p4d_alloc_one() local
55 if (table) in p4d_alloc_one()
56 crst_table_init(table, _REGION2_ENTRY_EMPTY); in p4d_alloc_one()
57 return (p4d_t *) table; in p4d_alloc_one()
68 unsigned long *table = crst_table_alloc(mm); in pud_alloc_one() local
69 if (table) in pud_alloc_one()
70 crst_table_init(table, _REGION3_ENTRY_EMPTY); in pud_alloc_one()
71 return (pud_t *) table; in pud_alloc_one()
82 unsigned long *table = crst_table_alloc(mm); in pmd_alloc_one() local
84 if (!table) in pmd_alloc_one()
[all …]
/arch/powerpc/include/asm/book3s/32/
Dpgalloc.h40 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()
54 void *table, int shift) in pgtable_free_tlb() argument
56 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()
71 void *table, int shift) in pgtable_free_tlb() argument
73 pgtable_free(table, shift); in pgtable_free_tlb()
77 static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t table, in __pte_free_tlb() argument
[all …]
/arch/powerpc/kernel/
Dmce_power.c395 const struct mce_ierror_table table[], in mce_handle_ierror() argument
405 for (i = 0; table[i].srr1_mask; i++) { in mce_handle_ierror()
406 if ((srr1 & table[i].srr1_mask) != table[i].srr1_value) in mce_handle_ierror()
410 switch (table[i].error_type) { in mce_handle_ierror()
425 mce_err->error_type = table[i].error_type; in mce_handle_ierror()
426 mce_err->error_class = table[i].error_class; in mce_handle_ierror()
427 switch (table[i].error_type) { in mce_handle_ierror()
429 mce_err->u.ue_error_type = table[i].error_subtype; in mce_handle_ierror()
432 mce_err->u.slb_error_type = table[i].error_subtype; in mce_handle_ierror()
435 mce_err->u.erat_error_type = table[i].error_subtype; in mce_handle_ierror()
[all …]
/arch/arc/kernel/
Dunwind.c158 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
193 table->core.pc = (unsigned long)core_start; in init_unwind_table()
[all …]
/arch/parisc/kernel/
Dunwind.c47 find_unwind_entry_in_table(const struct unwind_table *table, unsigned long addr) in find_unwind_entry_in_table() argument
53 hi = table->length - 1; in find_unwind_entry_in_table()
57 e = &table->table[mid]; in find_unwind_entry_in_table()
72 struct unwind_table *table; in find_unwind_entry() local
82 list_for_each_entry(table, &unwind_tables, list) { in find_unwind_entry()
83 if (addr >= table->start && in find_unwind_entry()
84 addr <= table->end) in find_unwind_entry()
85 e = find_unwind_entry_in_table(table, addr); in find_unwind_entry()
88 list_move(&table->list, &unwind_tables); in find_unwind_entry()
99 unwind_table_init(struct unwind_table *table, const char *name, in unwind_table_init() argument
[all …]
/arch/unicore32/mm/
Dproc-macros.S96 mov \off, \va >> #22 @ off <- index of 1st page table
97 adr \tbl, 910f @ tbl <- table of 1st page table
98 900: @ ---- handle 1, 2 page table
99 add \pa, \pa, #PAGE_OFFSET @ pa <- virt addr of page table
104 add \tbl, \tbl, \off << #3 @ cmove table pointer
107 930: @ ---- handle 2nd page table
113 adr \tbl, 920f @ tbl <- table of 2nd pt
115 910: @ 1st level page table
116 .word 0xfffff000, 930b @ second level page table
117 .word 0xfffffc00, 930b @ second level large page table
[all …]
/arch/arm64/boot/dts/arm/
Dfoundation-v8-spin-table.dtsi4 * 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/mips/lasat/
Dsysctl.c29 int proc_dolasatstring(struct ctl_table *table, int write, in proc_dolasatstring() argument
34 r = proc_dostring(table, write, buffer, lenp, ppos); in proc_dolasatstring()
47 int proc_dolasatrtc(struct ctl_table *table, int write, in proc_dolasatrtc() argument
60 r = proc_dointvec(table, write, buffer, lenp, ppos); in proc_dolasatrtc()
80 int proc_lasat_ip(struct ctl_table *table, int write, in proc_lasat_ip() argument
88 if (!table->data || !table->maxlen || !*lenp || in proc_lasat_ip()
112 *(unsigned int *)(table->data) = ip; in proc_lasat_ip()
115 ip = *(unsigned int *)(table->data); in proc_lasat_ip()
140 int proc_lasat_prid(struct ctl_table *table, int write, in proc_lasat_prid() argument
145 r = proc_dointvec(table, write, buffer, lenp, ppos); in proc_lasat_prid()
/arch/x86/platform/intel-mid/device_libs/
Dplatform_bcm43xx.c57 .table = {
65 struct gpiod_lookup_table *table = &bcm43xx_vmmc_gpio_table; in bcm43xx_regulator_register() local
66 struct gpiod_lookup *lookup = table->table; in bcm43xx_regulator_register()
70 gpiod_add_lookup_table(table); in bcm43xx_regulator_register()
Dplatform_bt.c25 .table = {
39 struct gpiod_lookup_table *table = &tng_bt_sfi_gpio_table; in tng_bt_sfi_setup() local
40 struct gpiod_lookup *lookup = table->table; in tng_bt_sfi_setup()
49 ddata->name = table->dev_id; in tng_bt_sfi_setup()
55 gpiod_add_lookup_table(table); in tng_bt_sfi_setup()
/arch/sparc/include/asm/
Dpgalloc_64.h72 void pgtable_free(void *table, bool is_page);
79 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, bool is_page) in pgtable_free_tlb() argument
81 unsigned long pgf = (unsigned long)table; in pgtable_free_tlb()
89 void *table = (void *)((unsigned long)_table & ~0x1UL); in __tlb_remove_table() local
94 pgtable_free(table, is_page); in __tlb_remove_table()
97 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, bool is_page) in pgtable_free_tlb() argument
99 pgtable_free(table, is_page); in pgtable_free_tlb()
/arch/x86/boot/compressed/
Dacpi.c38 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()
377 unsigned long table_addr, table_end, table; in count_immovable_mem_regions() local
393 table = table_addr + sizeof(struct acpi_table_srat); in count_immovable_mem_regions()
395 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/kernel/
Dacpi.c128 struct acpi_table_header *table; in acpi_fadt_sanity_check() local
137 status = acpi_get_table(ACPI_SIG_FADT, 0, &table); in acpi_fadt_sanity_check()
145 fadt = (struct acpi_table_fadt *)table; in acpi_fadt_sanity_check()
153 if (table->revision < 5 || in acpi_fadt_sanity_check()
154 (table->revision == 5 && fadt->minor_revision < 1)) { in acpi_fadt_sanity_check()
156 table->revision, fadt->minor_revision); in acpi_fadt_sanity_check()
175 acpi_put_table(table); in acpi_fadt_sanity_check()
/arch/powerpc/mm/book3s64/
Dpgtable.c351 static inline void pgtable_free(void *table, int index) in pgtable_free() argument
355 pte_fragment_free(table, 0); in pgtable_free()
358 pmd_fragment_free(table); in pgtable_free()
361 kmem_cache_free(PGT_CACHE(PUD_CACHE_INDEX), table); in pgtable_free()
367 kmem_cache_free(PGT_CACHE(H_16M_CACHE_INDEX), table); in pgtable_free()
372 kmem_cache_free(PGT_CACHE(H_16G_CACHE_INDEX), table); in pgtable_free()
382 void pgtable_free_tlb(struct mmu_gather *tlb, void *table, int index) in pgtable_free_tlb() argument
384 unsigned long pgf = (unsigned long)table; in pgtable_free_tlb()
393 void *table = (void *)((unsigned long)_table & ~MAX_PGTABLE_INDEX_SIZE); in __tlb_remove_table() local
396 return pgtable_free(table, index); in __tlb_remove_table()
[all …]
/arch/s390/pci/
Dpci_dma.c30 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 …]

12345678910>>...15