Home
last modified time | relevance | path

Searched refs:BITS_TO_LONGS (Results 1 – 25 of 26) sorted by relevance

12

/xen/xen/include/xen/
A Dtypes.h8 #define BITS_TO_LONGS(bits) \ macro
11 unsigned long name[BITS_TO_LONGS(bits)]
A Dnodemask.h244 [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 Dbitmap.h101 #define bitmap_bytes(nbits) (BITS_TO_LONGS(nbits) * sizeof(unsigned long))
122 size_t nlongs = BITS_TO_LONGS(nbits); in bitmap_fill()
A Dcpumask.h77 # 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 Danalyze.h26 #define BITS_TO_LONGS(bits) \ macro
29 unsigned long name[BITS_TO_LONGS(bits)]
/xen/xen/common/
A Dbitmap.c116 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 Dcpu.c12 = 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 Dpdx.c32 unsigned long __read_mostly pdx_group_valid[BITS_TO_LONGS(
A Devent_channel.c1452 d->poll_mask = xzalloc_array(unsigned long, BITS_TO_LONGS(d->max_vcpus)); in evtchn_init()
/xen/xen/arch/x86/
A Dbitops.c21 : "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 Ddomain_page.c127 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 Dmpparse.c839 unsigned long pin_programmed[BITS_TO_LONGS(MP_MAX_IOAPIC_PIN + 1)];
A Dmsi.c877 BITS_TO_LONGS(msix->nr_entries) - 1); in msix_capability_init()
/xen/tools/tests/vhpet/
A Demul.h36 #define BITS_TO_LONGS(bits) \ macro
39 unsigned long name[BITS_TO_LONGS(bits)]
/xen/xen/include/asm-x86/
A Dmpspec.h32 #define PHYSID_ARRAY_SIZE BITS_TO_LONGS(MAX_APICS)
/xen/xen/arch/arm/vgic/
A Dvgic-init.c184 xzalloc_array(unsigned long, BITS_TO_LONGS(vgic_num_irqs(d))); in domain_vgic_init()
/xen/tools/misc/
A Dxen-hvmctx.c42 #define BITS_TO_LONGS(bits) \ macro
45 unsigned long name[BITS_TO_LONGS(bits)]
/xen/xen/arch/x86/guest/xen/
A Dxen.c47 static unsigned long vcpu_info_mapped[BITS_TO_LONGS(NR_CPUS)];
/xen/xen/arch/x86/cpu/mcheck/
A Dmce.c142 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 Dvgic.c164 xzalloc_array(unsigned long, BITS_TO_LONGS(vgic_num_irqs(d))); in domain_vgic_init()
A Dp2m.c1436 vmid_mask = xzalloc_array(unsigned long, BITS_TO_LONGS(MAX_VMID)); in p2m_vmid_allocator_init()
/xen/xen/drivers/passthrough/amd/
A Diommu_intr.c765 *inuse_map = xzalloc_array(unsigned long, BITS_TO_LONGS(nr)); in amd_iommu_alloc_intremap_table()
/xen/xen/drivers/passthrough/
A Dio.c246 BITS_TO_LONGS(d->max_vcpus)); in vector_hashing_dest()
A Dpci.c512 size_t sz = BITS_TO_LONGS(PCI_BDF(-1, -1, -1) + 1) * sizeof(long); in pci_ro_device()
/xen/xen/drivers/passthrough/vtd/
A Diommu.c1234 iommu->domid_bitmap = xzalloc_array(unsigned long, BITS_TO_LONGS(nr_dom)); in iommu_alloc()

Completed in 51 milliseconds

12