Searched refs:BITS_TO_LONGS (Results 1 – 25 of 26) sorted by relevance
12
/xen/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 | 244 [BITS_TO_LONGS(MAX_NUMNODES)-1] = NODE_MASK_LAST_WORD \ 251 [0 ... BITS_TO_LONGS(MAX_NUMNODES)-2] = ~0UL, \ 252 [BITS_TO_LONGS(MAX_NUMNODES)-1] = NODE_MASK_LAST_WORD \ 259 [0 ... BITS_TO_LONGS(MAX_NUMNODES)-1] = 0UL \
|
A D | bitmap.h | 101 #define bitmap_bytes(nbits) (BITS_TO_LONGS(nbits) * sizeof(unsigned long)) 122 size_t nlongs = BITS_TO_LONGS(nbits); in bitmap_fill()
|
A D | cpumask.h | 77 # define nr_cpumask_bits (BITS_TO_LONGS(NR_CPUS) * BITS_PER_LONG) 278 cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)];
|
/xen/tools/xentrace/ |
A D | analyze.h | 26 #define BITS_TO_LONGS(bits) \ macro 29 unsigned long name[BITS_TO_LONGS(bits)]
|
/xen/xen/common/ |
A D | bitmap.c | 116 int nr = BITS_TO_LONGS(bits); in __bitmap_and() 127 int nr = BITS_TO_LONGS(bits); in __bitmap_or() 138 int nr = BITS_TO_LONGS(bits); in __bitmap_xor() 149 int nr = BITS_TO_LONGS(bits); in __bitmap_andnot() 382 lp[BITS_TO_LONGS(nbits)-1] = 0; in bitmap_byte_to_long()
|
A D | cpu.c | 12 = BITS_TO_LONGS(NR_CPUS) * BITS_PER_LONG; in BITS_TO_LONGS() function 16 .bits[0 ... (BITS_TO_LONGS(NR_CPUS) - 1)] = ~0UL 33 const unsigned long cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)] = {
|
A D | pdx.c | 32 unsigned long __read_mostly pdx_group_valid[BITS_TO_LONGS(
|
A D | event_channel.c | 1452 d->poll_mask = xzalloc_array(unsigned long, BITS_TO_LONGS(d->max_vcpus)); in evtchn_init()
|
/xen/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() 247 2 * PFN_UP(BITS_TO_LONGS(MAPCACHE_ENTRIES) * sizeof(long))) > in mapcache_domain_init() 249 bitmap_pages = PFN_UP(BITS_TO_LONGS(MAPCACHE_ENTRIES) * sizeof(long)); in mapcache_domain_init() 267 unsigned int nr = PFN_UP(BITS_TO_LONGS(ents) * sizeof(long)); in mapcache_vcpu_init()
|
A D | mpparse.c | 839 unsigned long pin_programmed[BITS_TO_LONGS(MP_MAX_IOAPIC_PIN + 1)];
|
A D | msi.c | 877 BITS_TO_LONGS(msix->nr_entries) - 1); in msix_capability_init()
|
/xen/tools/tests/vhpet/ |
A D | emul.h | 36 #define BITS_TO_LONGS(bits) \ macro 39 unsigned long name[BITS_TO_LONGS(bits)]
|
/xen/xen/include/asm-x86/ |
A D | mpspec.h | 32 #define PHYSID_ARRAY_SIZE BITS_TO_LONGS(MAX_APICS)
|
/xen/xen/arch/arm/vgic/ |
A D | vgic-init.c | 184 xzalloc_array(unsigned long, BITS_TO_LONGS(vgic_num_irqs(d))); in domain_vgic_init()
|
/xen/tools/misc/ |
A D | xen-hvmctx.c | 42 #define BITS_TO_LONGS(bits) \ macro 45 unsigned long name[BITS_TO_LONGS(bits)]
|
/xen/xen/arch/x86/guest/xen/ |
A D | xen.c | 47 static unsigned long vcpu_info_mapped[BITS_TO_LONGS(NR_CPUS)];
|
/xen/xen/arch/x86/cpu/mcheck/ |
A D | mce.c | 142 BITS_TO_LONGS(nr_mce_banks)); in mcabanks_alloc() 490 sizeof(long) * BITS_TO_LONGS(clear_bank->num)); in mcheck_cmn_handler()
|
/xen/xen/arch/arm/ |
A D | vgic.c | 164 xzalloc_array(unsigned long, BITS_TO_LONGS(vgic_num_irqs(d))); in domain_vgic_init()
|
A D | p2m.c | 1436 vmid_mask = xzalloc_array(unsigned long, BITS_TO_LONGS(MAX_VMID)); in p2m_vmid_allocator_init()
|
/xen/xen/drivers/passthrough/amd/ |
A D | iommu_intr.c | 765 *inuse_map = xzalloc_array(unsigned long, BITS_TO_LONGS(nr)); in amd_iommu_alloc_intremap_table()
|
/xen/xen/drivers/passthrough/ |
A D | io.c | 246 BITS_TO_LONGS(d->max_vcpus)); in vector_hashing_dest()
|
A D | pci.c | 512 size_t sz = BITS_TO_LONGS(PCI_BDF(-1, -1, -1) + 1) * sizeof(long); in pci_ro_device()
|
/xen/xen/drivers/passthrough/vtd/ |
A D | iommu.c | 1234 iommu->domid_bitmap = xzalloc_array(unsigned long, BITS_TO_LONGS(nr_dom)); in iommu_alloc()
|
Completed in 51 milliseconds
12