Home
last modified time | relevance | path

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

1234

/xen/xen/drivers/acpi/tables/
A Dtbutils.c69 struct acpi_table_header *table; in acpi_tb_check_xsdt() local
77 if (!table) in acpi_tb_check_xsdt()
80 length = table->length; in acpi_tb_check_xsdt()
86 if (!table) in acpi_tb_check_xsdt()
91 (u32) ((table->length - in acpi_tb_check_xsdt()
191 table->signature, table->checksum, in acpi_tb_verify_checksum()
260 if (!table) { in acpi_tb_install_table()
427 if (!table) { in acpi_tb_parse_root_table()
435 length = table->length; in acpi_tb_parse_root_table()
445 if (!table) { in acpi_tb_parse_root_table()
[all …]
A Dtbfadt.c164 struct acpi_table_header *table; in acpi_tb_parse_fadt() local
175 table = in acpi_tb_parse_fadt()
178 if (!table) { in acpi_tb_parse_fadt()
186 (void)acpi_tb_verify_checksum(table, length); in acpi_tb_parse_fadt()
190 acpi_tb_create_local_fadt(table, length); in acpi_tb_parse_fadt()
194 acpi_os_unmap_memory(table, length); in acpi_tb_parse_fadt()
226 void __init acpi_tb_create_local_fadt(struct acpi_table_header *table, u32 length) in acpi_tb_create_local_fadt() argument
238 table->revision, (unsigned)length, in acpi_tb_create_local_fadt()
248 ACPI_MEMCPY(&acpi_gbl_FADT, table, in acpi_tb_create_local_fadt()
/xen/xen/tools/
A Dsymbols.c238 table = realloc(table, sizeof(*table) * table_size); in read_map()
239 if (!table) { in read_map()
313 printf("%#llx %c %s\n", table[i].addr, table[i].type, in write_src()
392 qsort(table, table_cnt, sizeof(*table), compare_name_orig); in write_src()
436 table[pos] = table[i]; in build_initial_tok_table()
437 learn_symbol(table[pos].sym, table[pos].len); in build_initial_tok_table()
462 p1 = table[i].sym; in compress_symbols()
635 qsort(table, table_cnt, sizeof(*table), compare_name); in main()
639 table[i - 1].addr != table[i].addr) { in main()
643 table[i].addr, table[i - 1].addr); in main()
[all …]
/xen/tools/xenstore/
A Dhashtable.c49 if (NULL == h->table) in create_hashtable()
106 free(h->table); in hashtable_expand()
107 h->table = newtable; in hashtable_expand()
115 h->table = newtable; in hashtable_expand()
168 h->table[index] = e; in hashtable_insert()
180 e = h->table[index]; in hashtable_search()
204 pE = &(h->table[index]); in hashtable_remove()
231 struct entry **table = h->table; in hashtable_destroy() local
236 e = table[i]; in hashtable_destroy()
245 e = table[i]; in hashtable_destroy()
[all …]
/xen/xen/drivers/passthrough/amd/
A Diommu_map.c37 union amd_iommu_pte *table, *pte; in clear_iommu_pte_present() local
46 unmap_domain_page(table); in clear_iommu_pte_present()
90 union amd_iommu_pte *table, *pde; in set_iommu_pte_present() local
97 unmap_domain_page(table); in set_iommu_pte_present()
192 struct page_info *table; in iommu_pde_from_dfn() local
195 table = hd->arch.root_table; in iommu_pde_from_dfn()
233 if ( table == NULL ) in iommu_pde_from_dfn()
264 if ( table == NULL ) in iommu_pde_from_dfn()
463 union amd_iommu_pte *table; in amd_iommu_quarantine_init() local
504 unmap_domain_page(table); in amd_iommu_quarantine_init()
[all …]
A Diommu_acpi.c978 printk("%c", table->signature[i]); in dump_acpi_table_header()
987 printk("%c", table->oem_id[i]); in dump_acpi_table_header()
992 printk("%c", table->oem_table_id[i]); in dump_acpi_table_header()
999 printk("%c", table->asl_compiler_id[i]); in dump_acpi_table_header()
1003 table->asl_compiler_revision); in dump_acpi_table_header()
1034 BUG_ON(!table); in parse_ivrs_table()
1037 dump_acpi_table_header(table); in parse_ivrs_table()
1053 table->length, in parse_ivrs_table()
1122 raw_table = (u8 *)table; in detect_iommu_acpi()
1123 for ( i = 0; i < table->length; i++ ) in detect_iommu_acpi()
[all …]
/xen/xen/arch/arm/acpi/
A Ddomain_build.c249 struct acpi_table_header *table; in acpi_xsdt_modify_entry() local
261 acpi_os_unmap_memory(table, size); in acpi_xsdt_modify_entry()
267 struct acpi_table_header *table = NULL; in acpi_create_xsdt() local
291 memcpy(base_ptr, table, table->length); in acpi_create_xsdt()
315 struct acpi_table_header *table = NULL; in acpi_create_stao() local
352 struct acpi_table_header *table = NULL; in acpi_create_madt() local
373 memcpy(base_ptr, table, table_size); in acpi_create_madt()
426 table_size = table->length; in acpi_create_fadt()
429 memcpy(base_ptr, table, table_size); in acpi_create_fadt()
450 struct acpi_table_header *table; in estimate_acpi_efi_size() local
[all …]
A Dboot.c174 static int __init acpi_parse_fadt(struct acpi_table_header *table) in acpi_parse_fadt() argument
176 struct acpi_table_fadt *fadt = (struct acpi_table_fadt *)table; in acpi_parse_fadt()
184 if ( table->revision > 6 in acpi_parse_fadt()
185 || (table->revision == 6 && fadt->minor_revision >= 0) ) in acpi_parse_fadt()
189 table->revision, fadt->minor_revision); in acpi_parse_fadt()
/xen/tools/libxl/
A Dlibxl_arm_acpi.c176 p = table; in calculate_checksum()
182 p = table; in calculate_checksum()
261 struct acpi_madt_generic_interrupt *gicc = table; in make_acpi_madt_gicc()
271 gicc = table + ACPI_MADT_GICC_SIZE_v5; in make_acpi_madt_gicc()
278 struct acpi_madt_generic_distributor *gicd = table; in make_acpi_madt_gicd()
290 struct acpi_madt_generic_redistributor *gicr = table; in make_acpi_madt_gicr()
303 void *table = dom->acpi_modules[0].data + offset; in make_acpi_madt() local
304 struct acpi_table_madt *madt = table; in make_acpi_madt()
309 table += sizeof(struct acpi_table_madt); in make_acpi_madt()
316 table += sizeof(struct acpi_table_madt); in make_acpi_madt()
[all …]
/xen/xen/arch/x86/mm/
A Dp2m-ept.c207 ept_entry_t *table; in ept_set_middle_entry() local
229 return table; in ept_set_middle_entry()
268 if ( !table ) in ept_split_super_page()
296 unmap_domain_page(table); in ept_split_super_page()
365 unmap_domain_page(*table); in ept_next_level()
423 ept_entry_t *table; in ept_invalidate_emt_range() local
482 unmap_domain_page(table); in ept_invalidate_emt_range()
856 unmap_domain_page(table); in ept_set_entry()
881 ept_entry_t *table = in ept_get_entry() local
992 ept_entry_t *table = in ept_walk_table() local
[all …]
A Dp2m-pt.c130 return (l1_pgentry_t *)table + index; in p2m_find_entry()
161 p2m_next_level(struct p2m_domain *p2m, void **table, in p2m_next_level() argument
250 unmap_domain_page(*table); in p2m_next_level()
251 *table = next; in p2m_next_level()
272 void *table; in p2m_pt_set_recalc_range() local
326 unmap_domain_page(table); in p2m_pt_set_recalc_range()
339 void *table; in do_recalc() local
375 l1_pgentry_t e = *pent, *ptab = table; in do_recalc()
459 unmap_domain_page(table); in do_recalc()
508 void *table; in p2m_pt_set_entry() local
[all …]
/xen/tools/libxc/
A Dxc_dom_binloader.c121 struct xen_bin_image_table *table; in find_table() local
125 if ( dom->kernel_size < sizeof(*table) ) in find_table()
128 if ( dom->kernel_size > (8192 + sizeof(*table)) ) in find_table()
131 probe_end = dom->kernel_blob + dom->kernel_size - sizeof(*table); in find_table()
133 for ( table = NULL; probe_ptr < probe_end; probe_ptr++ ) in find_table()
137 table = (struct xen_bin_image_table *) probe_ptr; in find_table()
139 if ( (table->magic + table->flags + table->checksum) == 0 ) in find_table()
140 return table; in find_table()
/xen/xen/arch/arm/
A Dp2m.c312 entry = *table + offset; in p2m_next_level()
357 lpae_t entry, *table; in p2m_get_entry() local
393 if ( !table ) in p2m_get_entry()
430 unmap_domain_page(table); in p2m_get_entry()
579 .p2m.table = 1, in mfn_to_p2m_entry()
744 lpae_t *table; in p2m_free_entry() local
795 lpae_t pte, *table; in p2m_split_superpage() local
898 if ( !table ) in __p2m_set_entry()
1129 lpae_t *table; in p2m_invalidate_table() local
1183 lpae_t entry, *table; in p2m_resolve_translation_fault() local
[all …]
A Dmm.c633 clear_page(table); in clear_table()
650 p[0].pt.table = 1; in setup_pagetables()
661 p[i].pt.table = 1; in setup_pagetables()
697 pte.pt.table = 1; in setup_pagetables()
702 pte.pt.table = 1; in setup_pagetables()
776 pte.pt.table = 1; in init_secondary_pagetables()
918 pte.pt.table = 1; in setup_frametable_mappings()
972 pte.pt.table = 1; in create_xen_table()
1041 entry = *table + offset; in xen_pt_next_level()
1138 lpae_t *table; in xen_pt_update_entry() local
[all …]
A Dgic-v3-lpi.c298 void *table = _xmalloc(lpi_data.max_host_lpi_ids, SZ_4K); in gicv3_lpi_set_proptable() local
300 if ( !table ) in gicv3_lpi_set_proptable()
304 if ( (virt_to_maddr(table) & ~GENMASK(51, 12)) ) in gicv3_lpi_set_proptable()
306 xfree(table); in gicv3_lpi_set_proptable()
309 memset(table, GIC_PRI_IRQ | LPI_PROP_RES1, MAX_NR_HOST_LPIS); in gicv3_lpi_set_proptable()
310 clean_and_invalidate_dcache_va_range(table, MAX_NR_HOST_LPIS); in gicv3_lpi_set_proptable()
311 lpi_data.lpi_property = table; in gicv3_lpi_set_proptable()
/xen/xen/drivers/acpi/
A Dnuma.c115 static int __init acpi_parse_slit(struct acpi_table_header *table) in acpi_parse_slit() argument
117 acpi_numa_slit_init((struct acpi_table_slit *)table); in acpi_parse_slit()
177 int __init acpi_parse_srat(struct acpi_table_header *table) in acpi_parse_srat() argument
179 if (!table) in acpi_parse_srat()
182 srat_rev = table->revision; in acpi_parse_srat()
A Dtables.c395 struct acpi_table_header *table = NULL; in acpi_table_parse() local
404 acpi_get_table(id, acpi_apic_instance, &table); in acpi_table_parse()
406 acpi_get_table(id, 0, &table); in acpi_table_parse()
408 if (table) { in acpi_table_parse()
409 return handler(table); in acpi_table_parse()
421 struct acpi_table_header *table = NULL; in check_multiple_madt() local
423 acpi_get_table(ACPI_SIG_MADT, 2, &table); in check_multiple_madt()
424 if (table) { in check_multiple_madt()
/xen/xen/include/asm-arm/
A Dlpae.h30 unsigned long table:1; /* == 1 in 4k map entries too */ member
74 unsigned long table:1; /* == 1 in 4k map entries too */ member
114 unsigned long table:1; /* == 1 in 4k map entries too */ member
143 return (level < 3) && pte.walk.table; in lpae_is_table()
149 return pte.walk.table; in lpae_is_mapping()
151 return !pte.walk.table; in lpae_is_mapping()
/xen/xen/drivers/cpufreq/
A Dutility.c208 struct cpufreq_frequency_table *table) in cpufreq_frequency_table_cpuinfo() argument
215 for (i=0; (table[i].frequency != CPUFREQ_TABLE_END); i++) { in cpufreq_frequency_table_cpuinfo()
216 unsigned int freq = table[i].frequency; in cpufreq_frequency_table_cpuinfo()
224 for (i=0; (table[i].frequency != CPUFREQ_TABLE_END); i++) { in cpufreq_frequency_table_cpuinfo()
225 unsigned int freq = table[i].frequency; in cpufreq_frequency_table_cpuinfo()
248 struct cpufreq_frequency_table *table) in cpufreq_frequency_table_verify() argument
260 for (i=0; (table[i].frequency != CPUFREQ_TABLE_END); i++) { in cpufreq_frequency_table_verify()
261 unsigned int freq = table[i].frequency; in cpufreq_frequency_table_verify()
280 struct cpufreq_frequency_table *table, in cpufreq_frequency_table_target() argument
307 for (i=0; (table[i].frequency != CPUFREQ_TABLE_END); i++) { in cpufreq_frequency_table_target()
[all …]
/xen/xen/include/acpi/
A Dactables.h54 void acpi_tb_create_local_fadt(struct acpi_table_header *table, u32 length);
77 struct acpi_table_header *table,
98 acpi_tb_verify_checksum(struct acpi_table_header *table, u32 length);
/xen/tools/ocaml/xenstored/
A Ddomains.ml25 table: (Xenctrl.domid, Domain.t) Hashtbl.t; RecordField
47 table = Hashtbl.create 10;
54 let del doms id = Hashtbl.remove doms.table id
55 let exist doms id = Hashtbl.mem doms.table id
56 let find doms id = Hashtbl.find doms.table id
57 let number doms = Hashtbl.length doms.table
109 ) doms.table;
111 let dom = Hashtbl.find doms.table id in
113 Hashtbl.remove doms.table id;
128 Hashtbl.add doms.table domid dom;
[all …]
/xen/xen/xsm/flask/ss/
A Dsymtab.c41 s->table = hashtab_create(symhash, symcmp, size); in symtab_init()
42 if ( !s->table ) in symtab_init()
/xen/xen/arch/x86/acpi/
A Dboot.c64 static int __init acpi_parse_madt(struct acpi_table_header *table) in acpi_parse_madt() argument
68 madt = (struct acpi_table_madt *)table; in acpi_parse_madt()
278 static int __init acpi_parse_hpet(struct acpi_table_header *table) in acpi_parse_hpet() argument
280 struct acpi_table_hpet *hpet_tbl = (struct acpi_table_hpet *)table; in acpi_parse_hpet()
316 static int __init acpi_invalidate_bgrt(struct acpi_table_header *table) in acpi_invalidate_bgrt() argument
319 container_of(table, struct acpi_table_bgrt, header); in acpi_invalidate_bgrt()
321 if (table->length < sizeof(*bgrt_tbl)) in acpi_invalidate_bgrt()
462 static int __init acpi_parse_fadt(struct acpi_table_header *table) in acpi_parse_fadt() argument
464 struct acpi_table_fadt *fadt = (struct acpi_table_fadt *)table; in acpi_parse_fadt()
/xen/docs/misc/arm/device-tree/
A Dguest.txt11 memory where the grant table should be mapped to, using an
13 the whole grant table (it is larger or equal to gnttab_max_grant_frames()).
26 xen,uefi-system-table | 64-bit | Guest physical address of the UEFI System
48 xen,uefi-system-table = <0xXXXXXXXX>;
/xen/tools/firmware/hvmloader/
A Drombios.c197 void *table = get_mp_table_start(); in rombios_create_mp_tables() local
199 if ( table == NULL ) in rombios_create_mp_tables()
205 create_mp_tables(table); in rombios_create_mp_tables()

Completed in 46 milliseconds

1234