Searched refs:nr_bits (Results 1 – 11 of 11) sorted by relevance
/xen-4.10.0-shim-comet/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 | 367 xc_cpumap_t cpumap, unsigned int nr_bits) in xc_mca_op_inject_v2() argument 380 if ( !nr_bits ) in xc_mca_op_inject_v2() 386 HYPERCALL_BOUNCE_SET_SIZE(cpumap, (nr_bits + 7) / 8); in xc_mca_op_inject_v2() 393 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 | 175 domctl.u.nodeaffinity.nodemap.nr_bits = nodesize * 8; in xc_domain_node_setaffinity() 212 domctl.u.nodeaffinity.nodemap.nr_bits = nodesize * 8; in xc_domain_node_getaffinity() 263 domctl.u.vcpuaffinity.cpumap_hard.nr_bits = cpusize * 8; in xc_vcpu_setaffinity() 266 domctl.u.vcpuaffinity.cpumap_soft.nr_bits = cpusize * 8; in xc_vcpu_setaffinity() 315 domctl.u.vcpuaffinity.cpumap_hard.nr_bits = cpusize * 8; in xc_vcpu_getaffinity() 318 domctl.u.vcpuaffinity.cpumap_soft.nr_bits = cpusize * 8; in xc_vcpu_getaffinity()
|
/xen-4.10.0-shim-comet/tools/libxl/ |
A D | libxl_utils.h | 136 int nr_bits) in libxl_bitmap_equal() argument 140 if (nr_bits == 0) in libxl_bitmap_equal() 141 nr_bits = ba->size > bb->size ? ba->size * 8 : bb->size * 8; in libxl_bitmap_equal() 143 for (i = 0; i < nr_bits; i++) { in libxl_bitmap_equal()
|
/xen-4.10.0-shim-comet/xen/common/ |
A D | domctl.c | 51 guest_bytes = (xenctl_bitmap->nr_bits + 7) / 8; in bitmap_to_xenctl_bitmap() 80 guest_bytes = (xenctl_bitmap->nr_bits + 7) / 8; in xenctl_bitmap_to_bitmap() 87 if ( (xenctl_bitmap->nr_bits & 7) && (guest_bytes == copy_bytes) ) in xenctl_bitmap_to_bitmap() 88 bytemap[guest_bytes-1] &= ~(0xff << (xenctl_bitmap->nr_bits & 7)); in xenctl_bitmap_to_bitmap()
|
/xen-4.10.0-shim-comet/xen/include/public/ |
A D | xen.h | 982 uint32_t nr_bits; member
|
/xen-4.10.0-shim-comet/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-4.10.0-shim-comet/xen/arch/arm/ |
A D | vgic-v3-its.c | 166 paddr_t itt_address, uint32_t nr_bits) in its_set_itt_address() argument 169 dev_table_entry_t itt_entry = DEV_TABLE_ENTRY(itt_address, nr_bits); in its_set_itt_address()
|
/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | platform_hypercall.c | 474 ctlmap.nr_bits = op->u.getidletime.cpumap_nr_cpus; in do_platform_op()
|
Completed in 31 milliseconds