Searched refs:DIV_ROUND_UP (Results 1 – 18 of 18) sorted by relevance
/xen/xen/arch/x86/pv/ |
A D | descriptor-tables.c | 89 unsigned int i, nr_frames = DIV_ROUND_UP(entries, 512); in pv_set_gdt() 130 unsigned int nr_frames = DIV_ROUND_UP(entries, 512); in do_set_gdt() 156 unsigned int i, nr_frames = DIV_ROUND_UP(entries, 512); in compat_set_gdt()
|
/xen/xen/include/xen/ |
A D | vpci.h | 203 : ROUNDUP(DIV_ROUND_UP(vpci->msix->max_entries, in vmsix_table_size()
|
A D | lib.h | 7 #define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) macro
|
A D | sched.h | 81 #define NR_EVTCHN_GROUPS DIV_ROUND_UP(MAX_NR_EVTCHNS, EVTCHNS_PER_GROUP)
|
/xen/xen/arch/arm/ |
A D | guest_walk.c | 496 level = 4 - DIV_ROUND_UP((input_size - grainsizes[gran]), (grainsizes[gran] - 3)); in guest_walk_ld()
|
A D | vgic-v2.c | 195 | DIV_ROUND_UP(v->domain->arch.vgic.nr_spis, 32); in vgic_v2_distr_mmio_read()
|
A D | domain.c | 546 for ( i = 0; i < DIV_ROUND_UP(sizeof(*v), PAGE_SIZE); i++ ) in alloc_vcpu_struct()
|
A D | gic-v2.c | 1108 nr = DIV_ROUND_UP(csize, PAGE_SIZE); in gicv2_iomem_deny_access()
|
A D | vgic-v3.c | 1130 DIV_ROUND_UP(v->domain->arch.vgic.nr_spis, 32)); in vgic_v3_distr_mmio_read()
|
/xen/xen/arch/x86/ |
A D | tboot.c | 313 unsigned int max_idx = DIV_ROUND_UP(max_pdx, PDX_GROUP_COUNT); in tboot_gen_frametable_integrity()
|
A D | domain.c | 946 nr_gdt_frames = DIV_ROUND_UP(c(gdt_ents), 512); in arch_set_info_guest()
|
A D | mm.c | 243 unsigned int max_idx = DIV_ROUND_UP(max_pdx, PDX_GROUP_COUNT); in init_frametable()
|
/xen/xen/common/ |
A D | radix-tree.c | 31 #define RADIX_TREE_MAX_PATH (DIV_ROUND_UP(RADIX_TREE_INDEX_BITS, \
|
A D | vsprintf.c | 343 str = number(str, end, val, 16, DIV_ROUND_UP(chunksz, 4), -1, ZEROPAD); in print_bitmap_string()
|
A D | grant_table.c | 408 return DIV_ROUND_UP(num * sha_per_page, ACGNT_PER_PAGE); in num_act_frames_from_sha_frames() 449 return DIV_ROUND_UP(grant_frames * GRANT_PER_PAGE, GRANT_STATUS_PER_PAGE); in grant_to_status_frames() 454 return DIV_ROUND_UP(status_frames * GRANT_STATUS_PER_PAGE, GRANT_PER_PAGE); in status_to_grant_frames()
|
/xen/xen/arch/arm/tee/ |
A D | optee.c | 708 int pages = DIV_ROUND_UP(num_entries, PAGELIST_ENTRIES_PER_PAGE); in get_pages_list_size() 752 pg_count = DIV_ROUND_UP(size, OPTEE_MSG_NONCONTIG_PAGE_SIZE); in translate_noncontig()
|
/xen/xen/arch/x86/x86_64/ |
A D | mm.c | 779 eidx = DIV_ROUND_UP(mfn_to_pdx(epfn), PDX_GROUP_COUNT); in extend_frame_table()
|
/xen/xen/common/sched/ |
A D | core.c | 644 unit_priv = xzalloc_array(void *, DIV_ROUND_UP(d->max_vcpus, gran)); in sched_move_domain()
|
Completed in 50 milliseconds