/xen-4.10.0-shim-comet/xen/drivers/acpi/tables/ |
A D | tbutils.c | 69 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 D | tbfadt.c | 164 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-4.10.0-shim-comet/xen/tools/ |
A D | symbols.c | 238 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() 631 qsort(table, table_cnt, sizeof(*table), compare_name); in main() 635 table[i - 1].addr != table[i].addr) in main() 639 table[i].addr, table[i - 1].addr); in main() [all …]
|
/xen-4.10.0-shim-comet/tools/blktap2/drivers/ |
A D | hashtable.c | 95 h->table[i] = e->next; in hashtable_expand() 101 free(h->table); in hashtable_expand() 102 h->table = newtable; in hashtable_expand() 110 h->table = newtable; in hashtable_expand() 162 h->table[index] = e; in hashtable_insert() 174 e = h->table[index]; in hashtable_search() 198 pE = &(h->table[index]); in hashtable_remove() 225 struct entry **table = h->table; in hashtable_destroy() local 230 e = table[i]; in hashtable_destroy() 239 e = table[i]; in hashtable_destroy() [all …]
|
A D | hashtable_itr.c | 34 if (NULL != h->table[i]) in hashtable_iterator() 36 itr->e = h->table[i]; in hashtable_iterator() 64 struct entry **table; in hashtable_iterator_advance() local 82 table = itr->h->table; in hashtable_iterator_advance() 83 while (NULL == (next = table[j])) in hashtable_iterator_advance() 115 itr->h->table[itr->index] = itr->e->next; in hashtable_iterator_remove() 144 e = h->table[index]; in hashtable_iterator_search()
|
/xen-4.10.0-shim-comet/tools/xenstore/ |
A D | hashtable.c | 54 if (NULL == h->table) in create_hashtable() 111 free(h->table); in hashtable_expand() 112 h->table = newtable; in hashtable_expand() 120 h->table = newtable; in hashtable_expand() 173 h->table[index] = e; in hashtable_insert() 185 e = h->table[index]; in hashtable_search() 209 pE = &(h->table[index]); in hashtable_remove() 236 struct entry **table = h->table; in hashtable_destroy() local 241 e = table[i]; in hashtable_destroy() 250 e = table[i]; in hashtable_destroy() [all …]
|
/xen-4.10.0-shim-comet/tools/libxl/ |
A D | libxl_arm_acpi.c | 176 p = table; in calculate_checksum() 182 p = table; in calculate_checksum() 257 struct acpi_madt_generic_interrupt *gicc = table; in make_acpi_madt_gicc() 267 gicc = table + ACPI_MADT_GICC_SIZE_v5; in make_acpi_madt_gicc() 274 struct acpi_madt_generic_distributor *gicd = table; in make_acpi_madt_gicd() 286 struct acpi_madt_generic_redistributor *gicr = table; in make_acpi_madt_gicr() 299 void *table = dom->acpi_modules[0].data + offset; in make_acpi_madt() local 300 struct acpi_table_madt *madt = table; in make_acpi_madt() 305 table += sizeof(struct acpi_table_madt); in make_acpi_madt() 312 table += sizeof(struct acpi_table_madt); in make_acpi_madt() [all …]
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/amd/ |
A D | iommu_map.c | 40 u64 *table, *pte; in clear_iommu_pte_present() local 45 unmap_domain_page(table); in clear_iommu_pte_present() 111 u64 *table; in set_iommu_pte_present() local 121 unmap_domain_page(table); in set_iommu_pte_present() 339 u64 *table, *pde, *ntable; in iommu_update_pde_count() local 384 unmap_domain_page(table); in iommu_update_pde_count() 393 u64 *table, *pde, *ntable; in iommu_merge_pages() local 431 unmap_domain_page(table); in iommu_merge_pages() 445 struct page_info *table; in iommu_pde_from_gfn() local 448 table = hd->arch.root_table; in iommu_pde_from_gfn() [all …]
|
A D | iommu_acpi.c | 956 printk("%c", table->signature[i]); in dump_acpi_table_header() 965 printk("%c", table->oem_id[i]); in dump_acpi_table_header() 970 printk("%c", table->oem_table_id[i]); in dump_acpi_table_header() 977 printk("%c", table->asl_compiler_id[i]); in dump_acpi_table_header() 981 table->asl_compiler_revision); in dump_acpi_table_header() 1012 BUG_ON(!table); in parse_ivrs_table() 1015 dump_acpi_table_header(table); in parse_ivrs_table() 1031 table->length, in parse_ivrs_table() 1100 raw_table = (u8 *)table; in detect_iommu_acpi() 1101 for ( i = 0; i < table->length; i++ ) in detect_iommu_acpi() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/mm/ |
A D | p2m-ept.c | 229 ept_entry_t *table; in ept_set_middle_entry() local 251 unmap_domain_page(table); in ept_set_middle_entry() 318 unmap_domain_page(table); in ept_split_super_page() 381 unmap_domain_page(*table); in ept_next_level() 432 ept_entry_t *table; in ept_invalidate_emt_range() local 488 unmap_domain_page(table); in ept_invalidate_emt_range() 897 unmap_domain_page(table); in ept_set_entry() 918 ept_entry_t *table = in ept_get_entry() local 1021 unmap_domain_page(table); in ept_get_entry() 1029 ept_entry_t *table = in ept_walk_table() local [all …]
|
A D | p2m-pt.c | 144 return (l1_pgentry_t *)table + index; in p2m_find_entry() 185 p2m_next_level(struct p2m_domain *p2m, void **table, in p2m_next_level() argument 272 unmap_domain_page(*table); in p2m_next_level() 273 *table = next; in p2m_next_level() 288 void *table; in p2m_pt_set_recalc_range() local 337 unmap_domain_page(table); in p2m_pt_set_recalc_range() 350 void *table; in do_recalc() local 385 l1_pgentry_t e = *pent, *ptab = table; in do_recalc() 463 unmap_domain_page(table); in do_recalc() 487 void *table; in p2m_pt_set_entry() local [all …]
|
/xen-4.10.0-shim-comet/tools/libxc/ |
A D | xc_dom_binloader.c | 121 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-4.10.0-shim-comet/xen/arch/arm/ |
A D | p2m.c | 259 entry = *table + offset; in p2m_next_level() 277 unmap_domain_page(*table); in p2m_next_level() 299 lpae_t entry, *table; in p2m_get_entry() local 339 BUG_ON(table == NULL); in p2m_get_entry() 368 unmap_domain_page(table); in p2m_get_entry() 483 .p2m.table = 1, in mfn_to_p2m_entry() 643 lpae_t *table; in p2m_free_entry() local 669 unmap_domain_page(table); in p2m_free_entry() 695 lpae_t pte, *table; in p2m_split_superpage() local 759 unmap_domain_page(table); in p2m_split_superpage() [all …]
|
A D | gic-v3-lpi.c | 296 void *table = _xmalloc(lpi_data.max_host_lpi_ids, SZ_4K); in gicv3_lpi_set_proptable() local 298 if ( !table ) in gicv3_lpi_set_proptable() 302 if ( (virt_to_maddr(table) & ~GENMASK(51, 12)) ) in gicv3_lpi_set_proptable() 304 xfree(table); in gicv3_lpi_set_proptable() 307 memset(table, GIC_PRI_IRQ | LPI_PROP_RES1, MAX_NR_HOST_LPIS); in gicv3_lpi_set_proptable() 308 clean_and_invalidate_dcache_va_range(table, MAX_NR_HOST_LPIS); in gicv3_lpi_set_proptable() 309 lpi_data.lpi_property = table; in gicv3_lpi_set_proptable()
|
A D | domain_build.c | 1605 struct acpi_table_header *table; in acpi_xsdt_modify_entry() local 1617 acpi_os_unmap_memory(table, size); in acpi_xsdt_modify_entry() 1623 struct acpi_table_header *table = NULL; in acpi_create_xsdt() local 1647 memcpy(base_ptr, table, table->length); in acpi_create_xsdt() 1671 struct acpi_table_header *table = NULL; in acpi_create_stao() local 1708 struct acpi_table_header *table = NULL; in acpi_create_madt() local 1729 memcpy(base_ptr, table, table_size); in acpi_create_madt() 1782 table_size = table->length; in acpi_create_fadt() 1785 memcpy(base_ptr, table, table_size); in acpi_create_fadt() 1805 struct acpi_table_header *table; in estimate_acpi_efi_size() local [all …]
|
/xen-4.10.0-shim-comet/xen/arch/arm/acpi/ |
A D | boot.c | 173 static int __init acpi_parse_fadt(struct acpi_table_header *table) in acpi_parse_fadt() argument 175 struct acpi_table_fadt *fadt = (struct acpi_table_fadt *)table; in acpi_parse_fadt() 183 if ( table->revision > 6 in acpi_parse_fadt() 184 || (table->revision == 6 && fadt->minor_revision >= 0) ) in acpi_parse_fadt() 188 table->revision, fadt->minor_revision); in acpi_parse_fadt()
|
/xen-4.10.0-shim-comet/xen/drivers/acpi/ |
A D | numa.c | 115 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 D | tables.c | 394 struct acpi_table_header *table = NULL; in acpi_table_parse() local 403 acpi_get_table(id, acpi_apic_instance, &table); in acpi_table_parse() 405 acpi_get_table(id, 0, &table); in acpi_table_parse() 407 if (table) { in acpi_table_parse() 408 return handler(table); in acpi_table_parse() 420 struct acpi_table_header *table = NULL; in check_multiple_madt() local 422 acpi_get_table(ACPI_SIG_MADT, 2, &table); in check_multiple_madt() 423 if (table) { in check_multiple_madt()
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/ |
A D | lpae.h | 30 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 lpae_valid(pte) && pte.walk.table; in lpae_table() 148 return lpae_valid(pte) && !pte.walk.table; in lpae_mapping() 158 return (level == 3) && lpae_valid(pte) && pte.walk.table; in lpae_is_page()
|
/xen-4.10.0-shim-comet/xen/drivers/cpufreq/ |
A D | utility.c | 208 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-4.10.0-shim-comet/xen/include/acpi/ |
A D | actables.h | 54 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-4.10.0-shim-comet/tools/ocaml/xenstored/ |
A D | domains.ml | 23 table: (Xenctrl.domid, Domain.t) Hashtbl.t; RecordField 45 table = Hashtbl.create 10; 52 let del doms id = Hashtbl.remove doms.table id 53 let exist doms id = Hashtbl.mem doms.table id 54 let find doms id = Hashtbl.find doms.table id 55 let number doms = Hashtbl.length doms.table 107 ) doms.table; 109 let dom = Hashtbl.find doms.table id in 111 Hashtbl.remove doms.table id; 126 Hashtbl.add doms.table domid dom; [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/acpi/ |
A D | boot.c | 63 static int __init acpi_parse_madt(struct acpi_table_header *table) in acpi_parse_madt() argument 67 madt = (struct acpi_table_madt *)table; in acpi_parse_madt() 269 static int __init acpi_parse_hpet(struct acpi_table_header *table) in acpi_parse_hpet() argument 271 struct acpi_table_hpet *hpet_tbl = (struct acpi_table_hpet *)table; in acpi_parse_hpet() 307 static int __init acpi_invalidate_bgrt(struct acpi_table_header *table) in acpi_invalidate_bgrt() argument 310 container_of(table, struct acpi_table_bgrt, header); in acpi_invalidate_bgrt() 312 if (table->length < sizeof(*bgrt_tbl)) in acpi_invalidate_bgrt() 455 static int __init acpi_parse_fadt(struct acpi_table_header *table) in acpi_parse_fadt() argument 457 struct acpi_table_fadt *fadt = (struct acpi_table_fadt *)table; in acpi_parse_fadt()
|
/xen-4.10.0-shim-comet/xen/xsm/flask/ss/ |
A D | symtab.c | 41 s->table = hashtab_create(symhash, symcmp, size); in symtab_init() 42 if ( !s->table ) in symtab_init()
|
/xen-4.10.0-shim-comet/docs/misc/arm/device-tree/ |
A D | guest.txt | 11 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>;
|