Home
last modified time | relevance | path

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

1234567

/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/s390/mm/
Dpgtable.c45 void crst_table_free(struct mm_struct *mm, unsigned long *table) in crst_table_free() argument
47 free_pages((unsigned long) table, ALLOC_ORDER); in crst_table_free()
53 unsigned long *table, *pgd; in crst_table_upgrade() local
58 table = crst_table_alloc(mm); in crst_table_upgrade()
59 if (!table) in crst_table_upgrade()
77 crst_table_init(table, entry); in crst_table_upgrade()
78 pgd_populate(mm, (pgd_t *) table, (pud_t *) pgd); in crst_table_upgrade()
79 mm->pgd = (pgd_t *) table; in crst_table_upgrade()
81 table = NULL; in crst_table_upgrade()
84 if (table) in crst_table_upgrade()
[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 …]
Dplanetcore.h25 void planetcore_prepare_table(char *table);
32 const char *planetcore_get_key(const char *table, const char *key);
33 int planetcore_get_decimal(const char *table, const char *key, u64 *val);
34 int planetcore_get_hex(const char *table, const char *key, u64 *val);
39 void planetcore_set_mac_addrs(const char *table);
44 void planetcore_set_stdout_path(const char *table);
47 void planetcore_set_serial_speed(const char *table);
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()
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()
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()
/arch/x86/crypto/
Daes-i586-asm_32.S92 #define do_col(table, a1,a2,a3,a4, idx, tmp) \ argument
94 xor table(,%tmp,4),%a1; \
97 xor table+tlen(,%tmp,4),%a2; \
100 xor table+2*tlen(,%tmp,4),%a3; \
101 xor table+3*tlen(,%idx,4),%a4;
106 #define do_fcol(table, a1,a2,a3,a4, idx, tmp, sched) \ argument
110 xor table(,%tmp,4),%a1; \
114 xor table+tlen(,%tmp,4),%a2; \
117 xor table+3*tlen(,%idx,4),%a4; \
120 xor table+2*tlen(,%tmp,4),%a3;
[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
79 list_for_each_entry(table, &unwind_tables, list) { in find_unwind_entry()
80 if (addr >= table->start && in find_unwind_entry()
81 addr <= table->end) in find_unwind_entry()
82 e = find_unwind_entry_in_table(table, addr); in find_unwind_entry()
85 list_move(&table->list, &unwind_tables); in find_unwind_entry()
94 unwind_table_init(struct unwind_table *table, const char *name, in unwind_table_init() argument
[all …]
/arch/sparc/kernel/
Dus3_cpufreq.c24 struct cpufreq_frequency_table table[4]; member
153 &us3_freq_table[policy->cpu].table[0], in us3_freq_target()
167 &us3_freq_table[policy->cpu].table[0]); in us3_freq_verify()
174 struct cpufreq_frequency_table *table = in us3_freq_cpu_init() local
175 &us3_freq_table[cpu].table[0]; in us3_freq_cpu_init()
177 table[0].index = 0; in us3_freq_cpu_init()
178 table[0].frequency = clock_tick / 1; in us3_freq_cpu_init()
179 table[1].index = 1; in us3_freq_cpu_init()
180 table[1].frequency = clock_tick / 2; in us3_freq_cpu_init()
181 table[2].index = 2; in us3_freq_cpu_init()
[all …]
Dus2e_cpufreq.c25 struct cpufreq_frequency_table table[6]; member
294 &us2e_freq_table[policy->cpu].table[0], in us2e_freq_target()
306 &us2e_freq_table[policy->cpu].table[0]); in us2e_freq_verify()
313 struct cpufreq_frequency_table *table = in us2e_freq_cpu_init() local
314 &us2e_freq_table[cpu].table[0]; in us2e_freq_cpu_init()
316 table[0].index = 0; in us2e_freq_cpu_init()
317 table[0].frequency = clock_tick / 1; in us2e_freq_cpu_init()
318 table[1].index = 1; in us2e_freq_cpu_init()
319 table[1].frequency = clock_tick / 2; in us2e_freq_cpu_init()
320 table[2].index = 2; in us2e_freq_cpu_init()
[all …]
/arch/powerpc/include/asm/
Dpgalloc.h37 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, int shift) in pgtable_free_tlb() argument
39 unsigned long pgf = (unsigned long)table; in pgtable_free_tlb()
47 void *table = (void *)((unsigned long)_table & ~MAX_PGTABLE_INDEX_SIZE); in __tlb_remove_table() local
50 pgtable_free(table, shift); in __tlb_remove_table()
53 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, unsigned shift) in pgtable_free_tlb() argument
55 pgtable_free(table, shift); in pgtable_free_tlb()
/arch/sparc/include/asm/
Dpgalloc_64.h79 static inline void pgtable_free(void *table, bool is_page) in pgtable_free() argument
82 free_page((unsigned long)table); in pgtable_free()
84 kmem_cache_free(pgtable_cache, table); in pgtable_free()
92 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, bool is_page) in pgtable_free_tlb() argument
94 unsigned long pgf = (unsigned long)table; in pgtable_free_tlb()
102 void *table = (void *)((unsigned long)_table & ~0x1UL); in __tlb_remove_table() local
107 pgtable_free(table, is_page); in __tlb_remove_table()
110 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, bool is_page) in pgtable_free_tlb() argument
112 pgtable_free(table, is_page); in pgtable_free_tlb()
/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.c42 int proc_dolasatstring(ctl_table *table, int write, in proc_dolasatstring() argument
47 r = proc_dostring(table, write, buffer, lenp, ppos); in proc_dolasatstring()
57 int proc_dolasatint(ctl_table *table, int write, in proc_dolasatint() argument
62 r = proc_dointvec(table, write, buffer, lenp, ppos); in proc_dolasatint()
75 int proc_dolasatrtc(ctl_table *table, int write, in proc_dolasatrtc() argument
88 r = proc_dointvec(table, write, buffer, lenp, ppos); in proc_dolasatrtc()
100 int proc_lasat_ip(ctl_table *table, int write, in proc_lasat_ip() argument
108 if (!table->data || !table->maxlen || !*lenp || in proc_lasat_ip()
132 *(unsigned int *)(table->data) = ip; in proc_lasat_ip()
135 ip = *(unsigned int *)(table->data); in proc_lasat_ip()
[all …]
/arch/s390/include/asm/
Dpgalloc.h83 unsigned long *table = crst_table_alloc(mm); in pud_alloc_one() local
84 if (table) in pud_alloc_one()
85 crst_table_init(table, _REGION3_ENTRY_EMPTY); in pud_alloc_one()
86 return (pud_t *) table; in pud_alloc_one()
92 unsigned long *table = crst_table_alloc(mm); in pmd_alloc_one() local
93 if (table) in pmd_alloc_one()
94 crst_table_init(table, _SEGMENT_ENTRY_EMPTY); in pmd_alloc_one()
95 return (pmd_t *) table; in pmd_alloc_one()
/arch/arm/mach-pxa/
Dcpufreq-pxa3xx.c96 struct cpufreq_frequency_table *table; in setup_freqs_table() local
99 table = kzalloc((num + 1) * sizeof(*table), GFP_KERNEL); in setup_freqs_table()
100 if (table == NULL) in setup_freqs_table()
104 table[i].index = i; in setup_freqs_table()
105 table[i].frequency = freqs[i].cpufreq_mhz * 1000; in setup_freqs_table()
107 table[num].index = i; in setup_freqs_table()
108 table[num].frequency = CPUFREQ_TABLE_END; in setup_freqs_table()
112 pxa3xx_freqs_table = table; in setup_freqs_table()
114 return cpufreq_frequency_table_cpuinfo(policy, table); in setup_freqs_table()
/arch/x86/platform/sfi/
Dsfi.c51 static int __init sfi_parse_cpus(struct sfi_table_header *table) in sfi_parse_cpus() argument
58 sb = (struct sfi_table_simple *)table; in sfi_parse_cpus()
74 static int __init sfi_parse_ioapic(struct sfi_table_header *table) in sfi_parse_ioapic() argument
80 sb = (struct sfi_table_simple *)table; in sfi_parse_ioapic()
/arch/arm/mach-tegra/
Dclock.c327 static int tegra_clk_init_one_from_table(struct tegra_clk_init_table *table) in tegra_clk_init_one_from_table() argument
334 c = tegra_get_clock_by_name(table->name); in tegra_clk_init_one_from_table()
338 table->name); in tegra_clk_init_one_from_table()
342 if (table->parent) { in tegra_clk_init_one_from_table()
343 p = tegra_get_clock_by_name(table->parent); in tegra_clk_init_one_from_table()
346 table->parent, table->name); in tegra_clk_init_one_from_table()
354 table->parent, table->name, ret); in tegra_clk_init_one_from_table()
360 if (table->rate && table->rate != clk_get_rate(c)) { in tegra_clk_init_one_from_table()
361 ret = clk_set_rate(c, table->rate); in tegra_clk_init_one_from_table()
364 table->name, table->rate, ret); in tegra_clk_init_one_from_table()
[all …]
/arch/powerpc/sysdev/
Ddcr-low.S16 #define DCR_ACCESS_PROLOG(table) \ argument
19 lis r5,table@h; \
20 ori r5,r5,table@l; \
/arch/x86/tools/
Dgen-insn-attr-x86.awk16 delete table
167 if (array_size(table) != 0) {
168 print_table(table, tname "[INAT_GROUP_TABLE_SIZE]",
189 if (array_size(table) != 0) {
190 print_table(table, tname "[INAT_OPCODE_TABLE_SIZE]",
258 if (idx in table)
272 table[idx] = "INAT_MAKE_ESCAPE(" escape[ref] ")"
343 table[idx] = add_flags(table[idx],flags)
347 table[idx] = add_flags(table[idx],variant)
/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/alpha/include/asm/
Dagp.h15 #define free_gatt_pages(table, order) \ argument
16 free_pages((unsigned long)(table), (order))
/arch/parisc/include/asm/
Dagp.h17 #define free_gatt_pages(table, order) \ argument
18 free_pages((unsigned long)(table), (order))
/arch/ia64/include/asm/
Dagp.h23 #define free_gatt_pages(table, order) \ argument
24 free_pages((unsigned long)(table), (order))

1234567