Home
last modified time | relevance | path

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

1234567891011

/arch/x86/lib/
Dinat.c43 const insn_attr_t *table; in inat_get_escape_attribute() local
48 table = inat_escape_tables[n][0]; in inat_get_escape_attribute()
49 if (!table) in inat_get_escape_attribute()
51 if (inat_has_variant(table[opcode]) && lpfx_id) { in inat_get_escape_attribute()
52 table = inat_escape_tables[n][lpfx_id]; in inat_get_escape_attribute()
53 if (!table) in inat_get_escape_attribute()
56 return table[opcode]; in inat_get_escape_attribute()
62 const insn_attr_t *table; in inat_get_group_attribute() local
67 table = inat_group_tables[n][0]; in inat_get_group_attribute()
68 if (!table) in inat_get_group_attribute()
[all …]
/arch/powerpc/boot/
Dplanetcore.c29 void planetcore_prepare_table(char *table) in planetcore_prepare_table() argument
32 if (*table == '\n') in planetcore_prepare_table()
33 *table = 0; in planetcore_prepare_table()
35 table++; in planetcore_prepare_table()
36 } while (*(table - 1) || *table != '\n'); in planetcore_prepare_table()
38 *table = 0; in planetcore_prepare_table()
41 const char *planetcore_get_key(const char *table, const char *key) in planetcore_get_key() argument
46 if (!strncmp(table, key, keylen) && table[keylen] == '=') in planetcore_get_key()
47 return table + keylen + 1; in planetcore_get_key()
49 table += strlen(table) + 1; in planetcore_get_key()
[all …]
Dep88xc.c18 static char *table; variable
26 planetcore_set_mac_addrs(table); in platform_fixups()
28 if (!planetcore_get_decimal(table, PLANETCORE_KEY_CRYSTAL_HZ, &val)) { in platform_fixups()
39 table = (char *)r3; in platform_init()
40 planetcore_prepare_table(table); in platform_init()
42 if (!planetcore_get_decimal(table, PLANETCORE_KEY_MB_RAM, &mem_size)) in platform_init()
50 planetcore_set_stdout_path(table); in platform_init()
Dep8248e.c18 static char *table; variable
28 planetcore_set_mac_addrs(table); in platform_fixups()
30 if (!planetcore_get_decimal(table, PLANETCORE_KEY_CRYSTAL_HZ, &val)) { in platform_fixups()
41 table = (char *)r3; in platform_init()
42 planetcore_prepare_table(table); in platform_init()
44 if (!planetcore_get_decimal(table, PLANETCORE_KEY_MB_RAM, &mem_size)) in platform_init()
52 planetcore_set_stdout_path(table); in platform_init()
Dep405.c24 static char *table; variable
33 planetcore_set_mac_addrs(table); in platform_fixups()
35 if (!planetcore_get_decimal(table, PLANETCORE_KEY_CRYSTAL_HZ, &val)) { in platform_fixups()
43 if (!planetcore_get_decimal(table, PLANETCORE_KEY_KB_NVRAM, &val)) { in platform_fixups()
59 table = (char *)r3; in platform_init()
60 planetcore_prepare_table(table); in platform_init()
62 if (!planetcore_get_decimal(table, PLANETCORE_KEY_MB_RAM, &mem_size)) in platform_init()
70 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/s390/mm/
Dpgalloc.c65 void crst_table_free(struct mm_struct *mm, unsigned long *table) in crst_table_free() argument
67 free_pages((unsigned long) table, 2); in crst_table_free()
83 unsigned long *table, *pgd; in crst_table_upgrade() local
91 table = crst_table_alloc(mm); in crst_table_upgrade()
92 if (!table) { in crst_table_upgrade()
99 crst_table_init(table, _REGION2_ENTRY_EMPTY); in crst_table_upgrade()
100 p4d_populate(mm, (p4d_t *) table, (pud_t *) pgd); in crst_table_upgrade()
101 mm->pgd = (pgd_t *) table; in crst_table_upgrade()
106 crst_table_init(table, _REGION1_ENTRY_EMPTY); in crst_table_upgrade()
107 pgd_populate(mm, (pgd_t *) table, (p4d_t *) pgd); in crst_table_upgrade()
[all …]
Dgmap.c36 unsigned long *table; in gmap_alloc() local
73 table = (unsigned long *) page_to_phys(page); in gmap_alloc()
74 crst_table_init(table, etype); in gmap_alloc()
75 gmap->table = table; in gmap_alloc()
77 _ASCE_USER_BITS | __pa(table); in gmap_alloc()
302 static int gmap_alloc_table(struct gmap *gmap, unsigned long *table, in gmap_alloc_table() argument
315 if (*table & _REGION_ENTRY_INVALID) { in gmap_alloc_table()
317 *table = (unsigned long) new | _REGION_ENTRY_LENGTH | in gmap_alloc_table()
318 (*table & _REGION_ENTRY_TYPE_MASK); in gmap_alloc_table()
508 void gmap_unlink(struct mm_struct *mm, unsigned long *table, in gmap_unlink() argument
[all …]
Dfault.c134 unsigned long *table = __va(asce & _ASCE_ORIGIN); in dump_pagetable() local
139 table += (address & _REGION1_INDEX) >> _REGION1_SHIFT; in dump_pagetable()
140 if (bad_address(table)) in dump_pagetable()
142 pr_cont("R1:%016lx ", *table); in dump_pagetable()
143 if (*table & _REGION_ENTRY_INVALID) in dump_pagetable()
145 table = (unsigned long *)(*table & _REGION_ENTRY_ORIGIN); in dump_pagetable()
148 table += (address & _REGION2_INDEX) >> _REGION2_SHIFT; in dump_pagetable()
149 if (bad_address(table)) in dump_pagetable()
151 pr_cont("R2:%016lx ", *table); in dump_pagetable()
152 if (*table & _REGION_ENTRY_INVALID) in dump_pagetable()
[all …]
/arch/s390/include/asm/
Dpgalloc.h67 unsigned long *table = crst_table_alloc(mm); in p4d_alloc_one() local
69 if (table) in p4d_alloc_one()
70 crst_table_init(table, _REGION2_ENTRY_EMPTY); in p4d_alloc_one()
71 return (p4d_t *) table; in p4d_alloc_one()
82 unsigned long *table = crst_table_alloc(mm); in pud_alloc_one() local
83 if (table) in pud_alloc_one()
84 crst_table_init(table, _REGION3_ENTRY_EMPTY); in pud_alloc_one()
85 return (pud_t *) table; in pud_alloc_one()
96 unsigned long *table = crst_table_alloc(mm); in pmd_alloc_one() local
98 if (!table) in pmd_alloc_one()
[all …]
/arch/x86/crypto/
Daes-i586-asm_32.S93 #define do_col(table, a1,a2,a3,a4, idx, tmp) \ argument
95 xor table(,%tmp,4),%a1; \
98 xor table+tlen(,%tmp,4),%a2; \
101 xor table+2*tlen(,%tmp,4),%a3; \
102 xor table+3*tlen(,%idx,4),%a4;
107 #define do_fcol(table, a1,a2,a3,a4, idx, tmp, sched) \ argument
111 xor table(,%tmp,4),%a1; \
115 xor table+tlen(,%tmp,4),%a2; \
118 xor table+3*tlen(,%idx,4),%a4; \
121 xor table+2*tlen(,%tmp,4),%a3;
[all …]
/arch/powerpc/include/asm/book3s/32/
Dpgalloc.h99 static inline void pgtable_free(void *table, unsigned index_size) in pgtable_free() argument
102 free_page((unsigned long)table); in pgtable_free()
105 kmem_cache_free(PGT_CACHE(index_size), table); in pgtable_free()
113 void *table, int shift) in pgtable_free_tlb() argument
115 unsigned long pgf = (unsigned long)table; in pgtable_free_tlb()
123 void *table = (void *)((unsigned long)_table & ~MAX_PGTABLE_INDEX_SIZE); in __tlb_remove_table() local
126 pgtable_free(table, shift); in __tlb_remove_table()
130 void *table, int shift) in pgtable_free_tlb() argument
132 pgtable_free(table, shift); in pgtable_free_tlb()
136 static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t table, in __pte_free_tlb() argument
[all …]
/arch/powerpc/include/asm/nohash/32/
Dpgalloc.h99 static inline void pgtable_free(void *table, unsigned index_size) in pgtable_free() argument
102 free_page((unsigned long)table); in pgtable_free()
105 kmem_cache_free(PGT_CACHE(index_size), table); in pgtable_free()
113 void *table, int shift) in pgtable_free_tlb() argument
115 unsigned long pgf = (unsigned long)table; in pgtable_free_tlb()
123 void *table = (void *)((unsigned long)_table & ~MAX_PGTABLE_INDEX_SIZE); in __tlb_remove_table() local
126 pgtable_free(table, shift); in __tlb_remove_table()
130 void *table, int shift) in pgtable_free_tlb() argument
132 pgtable_free(table, shift); in pgtable_free_tlb()
136 static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t table, in __pte_free_tlb() argument
[all …]
/arch/powerpc/kernel/
Dmce_power.c425 const struct mce_ierror_table table[], in mce_handle_ierror() argument
434 for (i = 0; table[i].srr1_mask; i++) { in mce_handle_ierror()
435 if ((srr1 & table[i].srr1_mask) != table[i].srr1_value) in mce_handle_ierror()
439 switch (table[i].error_type) { in mce_handle_ierror()
452 mce_err->error_type = table[i].error_type; in mce_handle_ierror()
453 switch (table[i].error_type) { in mce_handle_ierror()
455 mce_err->u.ue_error_type = table[i].error_subtype; in mce_handle_ierror()
458 mce_err->u.slb_error_type = table[i].error_subtype; in mce_handle_ierror()
461 mce_err->u.erat_error_type = table[i].error_subtype; in mce_handle_ierror()
464 mce_err->u.tlb_error_type = table[i].error_subtype; in mce_handle_ierror()
[all …]
/arch/arc/kernel/
Dunwind.c161 struct unwind_table *table; in find_table() local
163 for (table = &root_table; table; table = table->link) in find_table()
164 if ((pc >= table->core.pc in find_table()
165 && pc < table->core.pc + table->core.range) in find_table()
166 || (pc >= table->init.pc in find_table()
167 && pc < table->init.pc + table->init.range)) in find_table()
170 return table; in find_table()
175 static void init_unwind_hdr(struct unwind_table *table,
188 static void init_unwind_table(struct unwind_table *table, const char *name, in init_unwind_table() argument
197 table->core.pc = (unsigned long)core_start; in init_unwind_table()
[all …]
/arch/parisc/kernel/
Dunwind.c49 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/unicore32/mm/
Dproc-macros.S99 mov \off, \va >> #22 @ off <- index of 1st page table
100 adr \tbl, 910f @ tbl <- table of 1st page table
101 900: @ ---- handle 1, 2 page table
102 add \pa, \pa, #PAGE_OFFSET @ pa <- virt addr of page table
107 add \tbl, \tbl, \off << #3 @ cmove table pointer
110 930: @ ---- handle 2nd page table
116 adr \tbl, 920f @ tbl <- table of 2nd pt
118 910: @ 1st level page table
119 .word 0xfffff000, 930b @ second level page table
120 .word 0xfffffc00, 930b @ second level large page table
[all …]
/arch/mips/lasat/
Dsysctl.c41 int proc_dolasatstring(struct ctl_table *table, int write, in proc_dolasatstring() argument
46 r = proc_dostring(table, write, buffer, lenp, ppos); in proc_dolasatstring()
59 int proc_dolasatrtc(struct ctl_table *table, int write, in proc_dolasatrtc() argument
72 r = proc_dointvec(table, write, buffer, lenp, ppos); in proc_dolasatrtc()
84 int proc_lasat_ip(struct ctl_table *table, int write, in proc_lasat_ip() argument
92 if (!table->data || !table->maxlen || !*lenp || in proc_lasat_ip()
116 *(unsigned int *)(table->data) = ip; in proc_lasat_ip()
119 ip = *(unsigned int *)(table->data); in proc_lasat_ip()
144 int proc_lasat_prid(struct ctl_table *table, int write, in proc_lasat_prid() argument
149 r = proc_dointvec(table, write, buffer, lenp, ppos); in proc_lasat_prid()
/arch/sparc/include/asm/
Dpgalloc_64.h76 void pgtable_free(void *table, bool is_page);
83 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, bool is_page) in pgtable_free_tlb() argument
85 unsigned long pgf = (unsigned long)table; in pgtable_free_tlb()
93 void *table = (void *)((unsigned long)_table & ~0x1UL); in __tlb_remove_table() local
98 pgtable_free(table, is_page); in __tlb_remove_table()
101 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, bool is_page) in pgtable_free_tlb() argument
103 pgtable_free(table, is_page); in pgtable_free_tlb()
/arch/arm64/kernel/
Dacpi.c133 struct acpi_table_header *table; in acpi_fadt_sanity_check() local
142 status = acpi_get_table(ACPI_SIG_FADT, 0, &table); in acpi_fadt_sanity_check()
150 fadt = (struct acpi_table_fadt *)table; in acpi_fadt_sanity_check()
158 if (table->revision < 5 || in acpi_fadt_sanity_check()
159 (table->revision == 5 && fadt->minor_revision < 1)) { in acpi_fadt_sanity_check()
161 table->revision, fadt->minor_revision); in acpi_fadt_sanity_check()
180 acpi_put_table(table); in acpi_fadt_sanity_check()
/arch/x86/platform/intel-mid/device_libs/
Dplatform_bt.c29 .table = {
43 struct gpiod_lookup_table *table = &tng_bt_sfi_gpio_table; in tng_bt_sfi_setup() local
44 struct gpiod_lookup *lookup = table->table; in tng_bt_sfi_setup()
53 ddata->name = table->dev_id; in tng_bt_sfi_setup()
59 gpiod_add_lookup_table(table); in tng_bt_sfi_setup()
/arch/s390/pci/
Dpci_dma.c31 unsigned long *table, *entry; in dma_alloc_cpu_table() local
33 table = kmem_cache_alloc(dma_region_table_cache, GFP_ATOMIC); in dma_alloc_cpu_table()
34 if (!table) in dma_alloc_cpu_table()
37 for (entry = table; entry < table + ZPCI_TABLE_ENTRIES; entry++) in dma_alloc_cpu_table()
39 return table; in dma_alloc_cpu_table()
42 static void dma_free_cpu_table(void *table) in dma_free_cpu_table() argument
44 kmem_cache_free(dma_region_table_cache, table); in dma_free_cpu_table()
49 unsigned long *table, *entry; in dma_alloc_page_table() local
51 table = kmem_cache_alloc(dma_page_table_cache, GFP_ATOMIC); in dma_alloc_page_table()
52 if (!table) in dma_alloc_page_table()
[all …]
/arch/frv/kernel/
Dentry-table.S23 # (1) The trap table for debug mode
24 # (2) The trap table for kernel mode
25 # (3) The trap table for user mode
27 # The CPU jumps to an appropriate slot in the appropriate table to perform
33 # (4) The exception handler vector table
37 # table, as indexed by the exception ID from the TBR.
39 # (5) The fixup table for kernel-trap single-step
40 # (6) The fixup table for user-trap single-step
45 # routine pointed to by this table.
53 # trap table for entry from debug mode
[all …]
/arch/x86/tools/
Dgen-insn-attr-x86.awk17 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/x86/platform/sfi/
Dsfi.c52 static int __init sfi_parse_cpus(struct sfi_table_header *table) in sfi_parse_cpus() argument
59 sb = (struct sfi_table_simple *)table; in sfi_parse_cpus()
75 static int __init sfi_parse_ioapic(struct sfi_table_header *table) in sfi_parse_ioapic() argument
85 sb = (struct sfi_table_simple *)table; in sfi_parse_ioapic()

1234567891011