Searched refs:nr_bits (Results 1 – 12 of 12) sorted by relevance
/xen/tools/libxc/ |
A D | xc_bitops.h | 17 static inline int bitmap_size(int nr_bits) in bitmap_size() argument 19 return (nr_bits + 7) / 8; in bitmap_size() 22 static inline void *bitmap_alloc(int nr_bits) in bitmap_alloc() argument 24 return calloc(1, bitmap_size(nr_bits)); in bitmap_alloc() 27 static inline void bitmap_set(void *addr, int nr_bits) in bitmap_set() argument 29 memset(addr, 0xff, bitmap_size(nr_bits)); in bitmap_set() 32 static inline void bitmap_clear(void *addr, int nr_bits) in bitmap_clear() argument 34 memset(addr, 0, bitmap_size(nr_bits)); in bitmap_clear() 70 int nr_bits) in bitmap_or() argument 75 for ( i = 0; i < bitmap_size(nr_bits); ++i ) in bitmap_or()
|
A D | xc_cpupool.c | 93 sysctl.u.cpupool_op.cpumap.nr_bits = local_size * 8; in xc_cpupool_getinfo() 203 sysctl.u.cpupool_op.cpumap.nr_bits = mapsize * 8; in xc_cpupool_freeinfo()
|
A D | xc_misc.c | 369 xc_cpumap_t cpumap, unsigned int nr_bits) in xc_mca_op_inject_v2() argument 382 if ( !nr_bits ) in xc_mca_op_inject_v2() 388 HYPERCALL_BOUNCE_SET_SIZE(cpumap, (nr_bits + 7) / 8); in xc_mca_op_inject_v2() 395 inject->cpumap.nr_bits = nr_bits; in xc_mca_op_inject_v2()
|
A D | xc_tbuf.c | 151 sysctl.u.tbuf_op.cpu_mask.nr_bits = bits; in xc_tbuf_set_cpu_mask()
|
A D | xc_domain.c | 153 domctl.u.nodeaffinity.nodemap.nr_bits = nodesize * 8; in xc_domain_node_setaffinity() 190 domctl.u.nodeaffinity.nodemap.nr_bits = nodesize * 8; in xc_domain_node_getaffinity() 241 domctl.u.vcpuaffinity.cpumap_hard.nr_bits = cpusize * 8; in xc_vcpu_setaffinity() 244 domctl.u.vcpuaffinity.cpumap_soft.nr_bits = cpusize * 8; in xc_vcpu_setaffinity() 293 domctl.u.vcpuaffinity.cpumap_hard.nr_bits = cpusize * 8; in xc_vcpu_getaffinity() 296 domctl.u.vcpuaffinity.cpumap_soft.nr_bits = cpusize * 8; in xc_vcpu_getaffinity()
|
/xen/xen/common/ |
A D | vsprintf.c | 270 unsigned int nr_bits) in print_bitmap_list() argument 276 rbot = cur = find_first_bit(bitmap, nr_bits); in print_bitmap_list() 277 while ( cur < nr_bits ) in print_bitmap_list() 280 cur = find_next_bit(bitmap, nr_bits, cur + 1); in print_bitmap_list() 282 if ( cur < nr_bits && cur <= rtop + 1 ) in print_bitmap_list() 312 unsigned int nr_bits) in print_bitmap_string() argument 319 chunksz = nr_bits & (CHUNKSZ - 1); in print_bitmap_string() 328 for ( i = ROUNDUP(nr_bits, CHUNKSZ) - CHUNKSZ; i >= 0; i -= CHUNKSZ ) in print_bitmap_string()
|
A D | domctl.c | 49 guest_bytes = (xenctl_bitmap->nr_bits + 7) / 8; in bitmap_to_xenctl_bitmap() 78 guest_bytes = (xenctl_bitmap->nr_bits + 7) / 8; in xenctl_bitmap_to_bitmap() 85 if ( (xenctl_bitmap->nr_bits & 7) && (guest_bytes == copy_bytes) ) in xenctl_bitmap_to_bitmap() 86 bytemap[guest_bytes-1] &= ~(0xff << (xenctl_bitmap->nr_bits & 7)); in xenctl_bitmap_to_bitmap()
|
/xen/tools/libxl/ |
A D | libxl_utils.h | 143 int nr_bits) in libxl_bitmap_equal() argument 147 if (nr_bits == 0) in libxl_bitmap_equal() 148 nr_bits = ba->size > bb->size ? ba->size * 8 : bb->size * 8; in libxl_bitmap_equal() 150 for (i = 0; i < nr_bits; i++) { in libxl_bitmap_equal()
|
/xen/xen/include/public/ |
A D | xen.h | 1032 uint32_t nr_bits; member
|
/xen/tools/tests/mce-test/tools/ |
A D | xen-mceinj.c | 200 mc.u.mc_inject_v2.cpumap.nr_bits = nr_cpus; in inject_cmci()
|
/xen/xen/arch/arm/ |
A D | vgic-v3-its.c | 167 paddr_t itt_address, uint32_t nr_bits) in its_set_itt_address() argument 170 dev_table_entry_t itt_entry = DEV_TABLE_ENTRY(itt_address, nr_bits); in its_set_itt_address()
|
/xen/xen/arch/x86/ |
A D | platform_hypercall.c | 462 ctlmap.nr_bits = op->u.getidletime.cpumap_nr_cpus; in do_platform_op()
|
Completed in 23 milliseconds