Home
last modified time | relevance | path

Searched refs:ROUNDUP (Results 1 – 25 of 44) sorted by relevance

12

/xen/tools/libxl/
A Dlibxl_arm_acpi.c110 *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 …]
/xen/tools/libxc/
A Dxg_private.h98 #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 Dxc_sr_common.c63 size_t record_length = ROUNDUP(combined_length, REC_ALIGN_ORDER); in write_split_record()
113 datasz = ROUNDUP(rhdr.length, REC_ALIGN_ORDER); in read_record()
A Dxc_dom_arm.c368 const uint64_t kernend = ROUNDUP(dom->kernel_seg.vend, 21/*2MB*/); in meminit()
371 ROUNDUP(dom->devicetree_size, XC_PAGE_SHIFT) : 0; in meminit()
373 ROUNDUP(dom->modules[0].size, XC_PAGE_SHIFT) : 0; in meminit()
A Dxg_save_restore.h109 #define M2P_SIZE(_m) ROUNDUP(((_m) * sizeof(xen_pfn_t)), M2P_SHIFT)
/xen/xen/arch/arm/acpi/
A Ddomain_build.c454 acpi_size = ROUNDUP(sizeof(struct acpi_table_fadt), 8); in estimate_acpi_efi_size()
455 acpi_size += ROUNDUP(sizeof(struct acpi_table_stao), 8); in estimate_acpi_efi_size()
458 acpi_size += ROUNDUP(madt_size, 8); in estimate_acpi_efi_size()
484 acpi_size += ROUNDUP(table->length + sizeof(u64), 8); in estimate_acpi_efi_size()
487 acpi_size += ROUNDUP(sizeof(struct acpi_table_rsdp), 8); in estimate_acpi_efi_size()
488 d->arch.efi_acpi_len = PAGE_ALIGN(ROUNDUP(efi_size, 8) in estimate_acpi_efi_size()
489 + ROUNDUP(acpi_size, 8)); in estimate_acpi_efi_size()
A Dlib.c73 offset += ROUNDUP(tbl_add[i].size, 8); in acpi_get_table_offset()
/xen/tools/libs/call/
A Dbuffer.c25 #define ROUNDUP(_x,_w) (((unsigned long)(_x)+(1UL<<(_w))-1) & ~((1UL<<(_w))-1)) macro
159 size_t actual_size = ROUNDUP(size + sizeof(struct allocation_header), PAGE_SHIFT); in xencall_alloc_buffer()
/xen/xen/arch/arm/
A Dkernel.c74 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()
/xen/xen/arch/arm/efi/
A Defi-dom0.c49 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/xen/arch/x86/hvm/
A Ddom0_build.c149 end = min(ROUNDUP(start + 1, orders[j - 1].align), in pvh_populate_memory_range()
378 start = ROUNDUP(entry->addr, PAGE_SIZE << PAGE_ORDER_4K); in pvh_setup_e820()
498 paddr_t kernel_end = ROUNDUP((paddr_t)elf->dest_base + elf->dest_size, in find_memory()
514 start = MAX(ROUNDUP(d->arch.e820[i].addr, PAGE_SIZE), MB(1)); in find_memory()
596 (initrd ? ROUNDUP(initrd->mod_end, PAGE_SIZE) + in pvh_load_kernel()
599 (cmdline ? ROUNDUP(strlen(cmdline) + 1, in pvh_load_kernel()
620 last_addr += ROUNDUP(initrd->mod_end, PAGE_SIZE); in pvh_load_kernel()
639 last_addr += ROUNDUP(strlen(cmdline) + 1, elf_64bit(&elf) ? 8 : 4); in pvh_load_kernel()
/xen/tools/libs/gnttab/
A Dprivate.h9 #define ROUNDUP(_x,_w) (((unsigned long)(_x)+(1UL<<(_w))-1) & ~((1UL<<(_w))-1)) macro
A Dfreebsd.c76 unsigned int refs_size = ROUNDUP(count * in osdep_gnttab_grant_map()
A Dlinux.c106 map_size = ROUNDUP(map_size, PAGE_SHIFT); in osdep_gnttab_grant_map()
/xen/tools/libs/foreignmemory/
A Dlinux.c31 #define ROUNDUP(_x,_w) (((unsigned long)(_x)+(1UL<<(_w))-1) & ~((1UL<<(_w))-1)) macro
205 unsigned int pfn_arr_size = ROUNDUP((num * sizeof(*pfn)), PAGE_SHIFT); in osdep_xenforeignmemory_map()
/xen/xen/common/coverage/
A Dllvm.c104 return ROUNDUP(sizeof(struct llvm_profile_header) + END_DATA - START_DATA + in get_size()
A Dgcc_3_4.c203 size = ROUNDUP(size, __alignof__(struct gcov_fn_info)); in get_fn_size()
/xen/xen/common/
A Dvirtual_region.c103 ROUNDUP((unsigned long)region->end, PAGE_SIZE), in reset_virtual_region_perms()
A Ddevice_tree.c127 *mem = ROUNDUP(*mem, align); in unflatten_dt_alloc()
1736 *p = ROUNDUP(*p + l, 4); in unflatten_dt_node()
1833 *p = ROUNDUP(*p, sz >= 8 ? 8 : 4); in unflatten_dt_node()
1870 *p = ROUNDUP((*p) + sz, 4); in unflatten_dt_node()
A Dhypfs.c25 ROUNDUP((name_len) + 1, alignof(struct xen_hypfs_direntry)))
/xen/xen/arch/x86/
A Dtraps.c391 return ROUNDUP(sp, PAGE_SIZE) - in get_stack_trace_bottom()
395 return ROUNDUP(sp, STACK_SIZE) - in get_stack_trace_bottom()
408 case 0: return ROUNDUP(sp, IST_SHSTK_SIZE) - sizeof(unsigned long); in get_shstk_bottom()
409 case 5: return ROUNDUP(sp, PAGE_SIZE) - sizeof(unsigned long); in get_shstk_bottom()
420 return ROUNDUP(sp, PAGE_SIZE) - sizeof(unsigned long); in get_stack_dump_bottom()
423 return ROUNDUP(sp, STACK_SIZE) - sizeof(unsigned long); in get_stack_dump_bottom()
A Dsrat.c291 l1tf_safe_maddr = max(l1tf_safe_maddr, ROUNDUP(end, PAGE_SIZE)); in acpi_numa_memory_affinity_init()
/xen/xen/arch/arm/vgic/
A Dvgic-init.c136 nr_spis = ROUNDUP(nr_spis, 32); in domain_vgic_init()
/xen/xen/include/xen/
A Dvpci.h203 : ROUNDUP(DIV_ROUND_UP(vpci->msix->max_entries, in vmsix_table_size()
A Dlib.h4 #define ROUNDUP(x, a) (((x) + (a) - 1) & ~((a) - 1)) macro

Completed in 52 milliseconds

12