/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | types.h | 8 #define BITS_TO_LONGS(bits) \ macro 11 unsigned long name[BITS_TO_LONGS(bits)]
|
A D | nodemask.h | 277 [BITS_TO_LONGS(MAX_NUMNODES)-1] = NODE_MASK_LAST_WORD \ 284 [0 ... BITS_TO_LONGS(MAX_NUMNODES)-2] = ~0UL, \ 285 [BITS_TO_LONGS(MAX_NUMNODES)-1] = NODE_MASK_LAST_WORD \ 292 [0 ... BITS_TO_LONGS(MAX_NUMNODES)-1] = 0UL \
|
A D | bitmap.h | 111 #define bitmap_bytes(nbits) (BITS_TO_LONGS(nbits) * sizeof(unsigned long)) 132 size_t nlongs = BITS_TO_LONGS(nbits); in bitmap_fill()
|
A D | cpumask.h | 91 # define nr_cpumask_bits (BITS_TO_LONGS(NR_CPUS) * BITS_PER_LONG) 303 cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)];
|
/xen-4.10.0-shim-comet/xen/common/ |
A D | bitmap.c | 126 int k, lim = BITS_TO_LONGS(bits), left = bits % BITS_PER_LONG; in __bitmap_shift_right() 173 int k, lim = BITS_TO_LONGS(bits), left = bits % BITS_PER_LONG; in __bitmap_shift_left() 204 int nr = BITS_TO_LONGS(bits); in __bitmap_and() 215 int nr = BITS_TO_LONGS(bits); in __bitmap_or() 226 int nr = BITS_TO_LONGS(bits); in __bitmap_xor() 237 int nr = BITS_TO_LONGS(bits); in __bitmap_andnot() 536 lp[BITS_TO_LONGS(nbits)-1] = 0; in bitmap_byte_to_long()
|
A D | cpu.c | 11 = BITS_TO_LONGS(NR_CPUS) * BITS_PER_LONG; in BITS_TO_LONGS() function 28 const unsigned long cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)] = {
|
A D | pdx.c | 31 unsigned long __read_mostly pdx_group_valid[BITS_TO_LONGS(
|
A D | event_channel.c | 1315 BITS_TO_LONGS(domain_max_vcpus(d))); in evtchn_init()
|
/xen-4.10.0-shim-comet/tools/xentrace/ |
A D | analyze.h | 26 #define BITS_TO_LONGS(bits) \ macro 29 unsigned long name[BITS_TO_LONGS(bits)]
|
/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | bitops.c | 21 : "1" (BITS_TO_LONGS(size)), "2" (addr), "b" ((int)(long)addr) in __find_first_bit() 71 : "1" (BITS_TO_LONGS(size)), "2" (addr), "b" ((int)(long)addr) in __find_first_zero_bit()
|
A D | domain_page.c | 127 for ( i = 0; i < BITS_TO_LONGS(dcache->entries); i++ ) in map_domain_page() 248 2 * PFN_UP(BITS_TO_LONGS(MAPCACHE_ENTRIES) * sizeof(long))) > in mapcache_domain_init() 250 bitmap_pages = PFN_UP(BITS_TO_LONGS(MAPCACHE_ENTRIES) * sizeof(long)); in mapcache_domain_init() 268 unsigned int nr = PFN_UP(BITS_TO_LONGS(ents) * sizeof(long)); in mapcache_vcpu_init()
|
A D | mpparse.c | 825 unsigned long pin_programmed[BITS_TO_LONGS(MP_MAX_IOAPIC_PIN + 1)];
|
A D | setup.c | 1505 module_map = xmalloc_array(unsigned long, BITS_TO_LONGS(mbi->mods_count)); in __start_xen()
|
A D | msi.c | 945 BITS_TO_LONGS(nr_entries) - 1); in msix_capability_init()
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/ |
A D | mpspec.h | 32 #define PHYSID_ARRAY_SIZE BITS_TO_LONGS(MAX_APICS)
|
/xen-4.10.0-shim-comet/tools/tests/vhpet/ |
A D | emul.h | 34 #define BITS_TO_LONGS(bits) \ macro 37 unsigned long name[BITS_TO_LONGS(bits)]
|
/xen-4.10.0-shim-comet/tools/misc/ |
A D | xen-hvmctx.c | 42 #define BITS_TO_LONGS(bits) \ macro 45 unsigned long name[BITS_TO_LONGS(bits)]
|
/xen-4.10.0-shim-comet/xen/arch/x86/guest/ |
A D | xen.c | 48 static unsigned long vcpu_info_mapped[BITS_TO_LONGS(NR_CPUS)];
|
/xen-4.10.0-shim-comet/xen/arch/arm/ |
A D | vgic.c | 156 xzalloc_array(unsigned long, BITS_TO_LONGS(vgic_num_irqs(d))); in domain_vgic_init()
|
A D | p2m.c | 1168 vmid_mask = xzalloc_array(unsigned long, BITS_TO_LONGS(MAX_VMID)); in p2m_vmid_allocator_init()
|
/xen-4.10.0-shim-comet/xen/arch/x86/cpu/mcheck/ |
A D | mce.c | 133 BITS_TO_LONGS(nr_mce_banks)); in mcabanks_alloc() 482 sizeof(long) * BITS_TO_LONGS(clear_bank->num)); in mcheck_cmn_handler()
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/amd/ |
A D | iommu_intr.c | 628 *inuse_map = xzalloc_array(unsigned long, BITS_TO_LONGS(INTREMAP_ENTRIES)); in amd_iommu_alloc_intremap_table()
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/ |
A D | io.c | 245 BITS_TO_LONGS(d->max_vcpus)); in vector_hashing_dest()
|
A D | pci.c | 472 size_t sz = BITS_TO_LONGS(PCI_BDF(-1, -1, -1) + 1) * sizeof(long); in pci_ro_device()
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/vtd/ |
A D | iommu.c | 1235 iommu->domid_bitmap = xzalloc_array(unsigned long, BITS_TO_LONGS(nr_dom)); in iommu_alloc()
|