/xen-4.10.0-shim-comet/tools/libxl/ |
A D | libxl_arm_acpi.c | 110 *out = ROUNDUP(size, 3) + in libxl__get_acpi_size() 111 ROUNDUP(sizeof(struct acpi_table_rsdp), 3) + in libxl__get_acpi_size() 112 ROUNDUP(sizeof(struct acpi_table_xsdt), 3) + in libxl__get_acpi_size() 113 ROUNDUP(sizeof(struct acpi_table_gtdt), 3) + in libxl__get_acpi_size() 114 ROUNDUP(sizeof(struct acpi_table_fadt), 3) + in libxl__get_acpi_size() 115 ROUNDUP(sizeof(dsdt_anycpu_arm_len), 3); in libxl__get_acpi_size() 131 dom->acpi_modules[0].length += ROUNDUP(acpitables[RSDP].size, 3); in libxl__allocate_acpi_tables() 140 dom->acpi_modules[0].length += ROUNDUP(acpitables[XSDT].size, 3); in libxl__allocate_acpi_tables() 144 dom->acpi_modules[0].length += ROUNDUP(acpitables[GTDT].size, 3); in libxl__allocate_acpi_tables() 153 dom->acpi_modules[0].length += ROUNDUP(acpitables[MADT].size, 3); in libxl__allocate_acpi_tables() [all …]
|
A D | libxl_stream_read.c | 514 size_t bytes_to_read = ROUNDUP(rec->hdr.length, REC_ALIGN_ORDER); in record_header_done()
|
A D | libxl_stream_write.c | 139 size_t padsz = ROUNDUP(hdr->length, REC_ALIGN_ORDER) - hdr->length; in setup_generic_write()
|
/xen-4.10.0-shim-comet/tools/libxc/ |
A D | xg_private.h | 98 #define ROUNDUP(_x,_w) (((unsigned long)(_x)+(1UL<<(_w))-1) & ~((1UL<<(_w))-1)) macro 99 #define NRPAGES(x) (ROUNDUP(x, PAGE_SHIFT) >> PAGE_SHIFT)
|
A D | xc_sr_common.c | 62 size_t record_length = ROUNDUP(combined_length, REC_ALIGN_ORDER); in write_split_record() 112 datasz = ROUNDUP(rhdr.length, REC_ALIGN_ORDER); in read_record()
|
A D | xg_save_restore.h | 109 #define M2P_SIZE(_m) ROUNDUP(((_m) * sizeof(xen_pfn_t)), M2P_SHIFT)
|
A D | xc_dom_arm.c | 389 const uint64_t kernend = ROUNDUP(dom->kernel_seg.vend, 21/*2MB*/); in meminit() 392 ROUNDUP(dom->devicetree_size, XC_PAGE_SHIFT) : 0; in meminit() 394 ROUNDUP(dom->ramdisk_size, XC_PAGE_SHIFT) : 0; in meminit()
|
/xen-4.10.0-shim-comet/tools/libs/call/ |
A D | buffer.c | 25 #define ROUNDUP(_x,_w) (((unsigned long)(_x)+(1UL<<(_w))-1) & ~((1UL<<(_w))-1)) macro 158 size_t actual_size = ROUNDUP(size + sizeof(struct allocation_header), PAGE_SHIFT); in xencall_alloc_buffer()
|
/xen-4.10.0-shim-comet/xen/arch/arm/efi/ |
A D | efi-dom0.c | 49 size = ROUNDUP(est_size + ect_size + fw_vendor_size, 8); in estimate_efi_size() 51 size += ROUNDUP(emd_size * (mem_nr_banks + acpi_mem_nr_banks + 1), 8); in estimate_efi_size()
|
/xen-4.10.0-shim-comet/xen/arch/arm/acpi/ |
A D | lib.c | 72 offset += ROUNDUP(tbl_add[i].size, 8); in acpi_get_table_offset()
|
/xen-4.10.0-shim-comet/tools/libs/foreignmemory/ |
A D | linux.c | 31 #define ROUNDUP(_x,_w) (((unsigned long)(_x)+(1UL<<(_w))-1) & ~((1UL<<(_w))-1)) macro 187 unsigned int pfn_arr_size = ROUNDUP((num * sizeof(*pfn)), PAGE_SHIFT); in osdep_xenforeignmemory_map()
|
/xen-4.10.0-shim-comet/xen/arch/arm/ |
A D | kernel.c | 74 const paddr_t initrd_len = ROUNDUP(mod ? mod->size : 0, MB(2)); in place_modules() 75 const paddr_t dtb_len = ROUNDUP(fdt_totalsize(info->fdt), MB(2)); in place_modules() 82 const paddr_t kernsize = ROUNDUP(kernend, MB(2)) - kernbase; in place_modules() 109 else if ( ramend - modsize > ROUNDUP(kernend, MB(2)) ) in place_modules()
|
A D | domain_build.c | 1809 acpi_size = ROUNDUP(sizeof(struct acpi_table_fadt), 8); in estimate_acpi_efi_size() 1810 acpi_size += ROUNDUP(sizeof(struct acpi_table_stao), 8); in estimate_acpi_efi_size() 1813 acpi_size += ROUNDUP(madt_size, 8); in estimate_acpi_efi_size() 1839 acpi_size += ROUNDUP(table->length + sizeof(u64), 8); in estimate_acpi_efi_size() 1842 acpi_size += ROUNDUP(sizeof(struct acpi_table_rsdp), 8); in estimate_acpi_efi_size() 1843 d->arch.efi_acpi_len = PAGE_ALIGN(ROUNDUP(efi_size, 8) in estimate_acpi_efi_size() 1844 + ROUNDUP(acpi_size, 8)); in estimate_acpi_efi_size()
|
A D | mm.c | 907 frametable_size = ROUNDUP(frametable_size, mapping_size); in setup_frametable_mappings() 912 nr_second = ROUNDUP(frametable_size, FIRST_SIZE) >> FIRST_SHIFT; in setup_frametable_mappings()
|
/xen-4.10.0-shim-comet/tools/libs/gnttab/ |
A D | private.h | 9 #define ROUNDUP(_x,_w) (((unsigned long)(_x)+(1UL<<(_w))-1) & ~((1UL<<(_w))-1)) macro
|
A D | freebsd.c | 76 unsigned int map_size = ROUNDUP((sizeof(*map) + (count - 1) * in osdep_gnttab_grant_map()
|
A D | linux.c | 93 unsigned int map_size = ROUNDUP((sizeof(*map) + (count - 1) * in osdep_gnttab_grant_map()
|
/xen-4.10.0-shim-comet/tools/blktap2/drivers/ |
A D | qcow.h | 51 #define ROUNDUP(l, s) \ macro
|
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/ |
A D | dom0_build.c | 347 start = ROUNDUP(entry->addr, PAGE_SIZE << PAGE_ORDER_4K); in pvh_setup_e820() 500 last_addr = ROUNDUP(parms.virt_kend - parms.virt_base, PAGE_SIZE); in pvh_load_kernel() 514 last_addr += ROUNDUP(initrd->mod_end, PAGE_SIZE); in pvh_load_kernel() 533 last_addr += ROUNDUP(strlen(cmdline) + 1, elf_64bit(&elf) ? 8 : 4); in pvh_load_kernel()
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | lib.h | 67 #define ROUNDUP(x, a) (((x) + (a) - 1) & ~((a) - 1)) macro
|
/xen-4.10.0-shim-comet/xen/common/gcov/ |
A D | gcc_3_4.c | 203 size = ROUNDUP(size, __alignof__(struct gcov_fn_info)); in get_fn_size()
|
/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | traps.c | 355 return ROUNDUP(sp, PAGE_SIZE) - in get_stack_trace_bottom() 362 return ROUNDUP(sp, STACK_SIZE) - in get_stack_trace_bottom() 375 return ROUNDUP(sp, PAGE_SIZE) - sizeof(unsigned long); in get_stack_dump_bottom() 381 return ROUNDUP(sp, STACK_SIZE) - sizeof(unsigned long); in get_stack_dump_bottom()
|
A D | xstate.c | 149 offset = ROUNDUP(offset, 64); in setup_xstate_comp()
|
/xen-4.10.0-shim-comet/xen/common/ |
A D | device_tree.c | 127 *mem = ROUNDUP(*mem, align); in unflatten_dt_alloc() 1699 *p = ROUNDUP(*p + l, 4); in unflatten_dt_node() 1796 *p = ROUNDUP(*p, sz >= 8 ? 8 : 4); in unflatten_dt_node() 1833 *p = ROUNDUP((*p) + sz, 4); in unflatten_dt_node()
|
/xen-4.10.0-shim-comet/tools/console/daemon/ |
A D | io.c | 82 #define ROUNDUP(_x,_w) (((unsigned long)(_x)+(1UL<<(_w))-1) & ~((1UL<<(_w))-1)) macro 1204 newsize = ROUNDUP(nr_fds + 1, 8); in set_fds()
|