/xen-4.10.0-shim-comet/xen/arch/arm/arm64/lib/ |
A D | find_next_bit.c | 31 offset %= BITS_PER_LONG; in find_next_bit() 39 size -= BITS_PER_LONG; in find_next_bit() 40 result += BITS_PER_LONG; in find_next_bit() 45 result += BITS_PER_LONG; in find_next_bit() 46 size -= BITS_PER_LONG; in find_next_bit() 77 offset %= BITS_PER_LONG; in find_next_zero_bit() 85 size -= BITS_PER_LONG; in find_next_zero_bit() 92 size -= BITS_PER_LONG; in find_next_zero_bit() 122 size -= BITS_PER_LONG; in find_first_bit() 169 #if BITS_PER_LONG == 64 in ext2_swabp() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | bitops.c | 14 " bsf -"STR(BITS_PER_LONG/8)"(%2),%0\n\t" in __find_first_bit() 16 " lea -"STR(BITS_PER_LONG/8)"(%2),%2\n\t" in __find_first_bit() 31 unsigned int set, bit = offset & (BITS_PER_LONG - 1); in __find_next_bit() 38 set = __scanbit(*p >> bit, BITS_PER_LONG - bit); in __find_next_bit() 39 if ( set < (BITS_PER_LONG - bit) ) in __find_next_bit() 41 offset += BITS_PER_LONG - bit; in __find_next_bit() 63 " xor -"STR(BITS_PER_LONG/8)"(%2),%3\n\t" in __find_first_zero_bit() 66 " lea -"STR(BITS_PER_LONG/8)"(%2),%2\n\t" in __find_first_zero_bit() 81 unsigned int set, bit = offset & (BITS_PER_LONG - 1); in __find_next_zero_bit() 89 if ( set < (BITS_PER_LONG - bit) ) in __find_next_zero_bit() [all …]
|
A D | flushtlb.c | 139 if ( order < (BITS_PER_LONG - PAGE_SHIFT) ) in flush_area_local()
|
/xen-4.10.0-shim-comet/xen/common/ |
A D | bitmap.c | 62 if (bits % BITS_PER_LONG) in __bitmap_empty() 77 if (bits % BITS_PER_LONG) in __bitmap_full() 93 if (bits % BITS_PER_LONG) in __bitmap_equal() 107 if (bits % BITS_PER_LONG) in __bitmap_complement() 127 int off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG; in __bitmap_shift_right() 174 int off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG; in __bitmap_shift_left() 252 if (bits % BITS_PER_LONG) in __bitmap_intersects() 267 if (bits % BITS_PER_LONG) in __bitmap_subset() 274 #if BITS_PER_LONG == 32 282 if (bits % BITS_PER_LONG) in __bitmap_weight() [all …]
|
A D | pdx.c | 83 i = find_next_zero_bit(&mask, BITS_PER_LONG, j); in pfn_pdx_hole_setup() 84 j = find_next_bit(&mask, BITS_PER_LONG, i); in pfn_pdx_hole_setup() 85 if ( j >= BITS_PER_LONG ) in pfn_pdx_hole_setup()
|
A D | cpu.c | 11 = BITS_TO_LONGS(NR_CPUS) * BITS_PER_LONG; in BITS_TO_LONGS() 28 const unsigned long cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)] = { 32 #if BITS_PER_LONG > 32
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | hash.h | 16 #if BITS_PER_LONG == 32 19 #elif BITS_PER_LONG == 64 30 #if BITS_PER_LONG == 64 in hash_long() 51 return hash >> (BITS_PER_LONG - bits); in hash_long()
|
A D | bitops.h | 11 (((~0UL) << (l)) & (~0UL >> (BITS_PER_LONG - 1 - (h)))) 84 #if BITS_PER_LONG == 64 109 #if BITS_PER_LONG == 64 180 #if BITS_PER_LONG < 64 in generic_hweight64()
|
A D | cpumask.h | 86 #if NR_CPUS > 4 * BITS_PER_LONG 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)]; 307 const unsigned long *p = cpu_bit_bitmap[1 + cpu % BITS_PER_LONG]; in cpumask_of() 308 return (const cpumask_t *)(p - cpu / BITS_PER_LONG); in cpumask_of() 341 #if NR_CPUS > 2 * BITS_PER_LONG
|
A D | types.h | 9 (((bits)+BITS_PER_LONG-1)/BITS_PER_LONG)
|
A D | bitmap.h | 107 ((nbits) % BITS_PER_LONG) ? \ 108 (1UL<<((nbits) % BITS_PER_LONG))-1 : ~0UL \ 117 } else if (__builtin_constant_p(nbits) && n__ <= BITS_PER_LONG) { \
|
/xen-4.10.0-shim-comet/tools/xentrace/ |
A D | analyze.h | 21 # define BITS_PER_LONG 64 macro 23 # define BITS_PER_LONG 32 macro 27 (((bits)+BITS_PER_LONG-1)/BITS_PER_LONG)
|
/xen-4.10.0-shim-comet/unmodified_drivers/linux-2.6/platform-pci/ |
A D | evtchn.c | 226 static DEFINE_PER_CPU(unsigned int, last_processed_l1i) = { BITS_PER_LONG - 1 }; 227 static DEFINE_PER_CPU(unsigned int, last_processed_l2i) = { BITS_PER_LONG - 1 }; 265 l1i = (l1i + 1) % BITS_PER_LONG; in evtchn_interrupt() 269 l1i = BITS_PER_LONG - 1; in evtchn_interrupt() 270 l2i = BITS_PER_LONG - 1; in evtchn_interrupt() 278 l2i = (l2i + 1) % BITS_PER_LONG; in evtchn_interrupt() 282 l2i = BITS_PER_LONG - 1; in evtchn_interrupt() 288 port = (l1i * BITS_PER_LONG) + l2i; in evtchn_interrupt() 319 } while (l2i != BITS_PER_LONG - 1); in evtchn_interrupt()
|
/xen-4.10.0-shim-comet/tools/xenpaging/ |
A D | policy_default.c | 94 if ( (current_gfn & (BITS_PER_LONG - 1)) == 0 ) in policy_choose_victim() 99 current_gfn += BITS_PER_LONG; in policy_choose_victim() 100 i += BITS_PER_LONG; in policy_choose_victim()
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/ |
A D | bitops.h | 310 if ( __builtin_constant_p(max) && max == BITS_PER_LONG ) in __scanbit() 345 else if ( __builtin_constant_p(size) && s__ <= BITS_PER_LONG ) \ 377 else if ( __builtin_constant_p(size) && s__ <= BITS_PER_LONG ) \
|
A D | config.h | 14 #define BITS_PER_LONG (BYTES_PER_LONG << 3) macro 20 #define BITS_PER_XEN_ULONG BITS_PER_LONG
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/ |
A D | div64.h | 25 #if BITS_PER_LONG == 64 35 #elif BITS_PER_LONG == 32
|
A D | vreg.h | 110 #define VREG_REG_MASK(size) ((~0UL) >> (BITS_PER_LONG - ((1 << (size)) * 8))) 213 #if BITS_PER_LONG == 64
|
/xen-4.10.0-shim-comet/xen/include/acpi/platform/ |
A D | aclinux.h | 63 #define ACPI_MACHINE_WIDTH BITS_PER_LONG
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/vmx/ |
A D | vmcs.h | 74 unsigned long read_low [0x2000 / BITS_PER_LONG]; 75 unsigned long read_high [0x2000 / BITS_PER_LONG]; 76 unsigned long write_low [0x2000 / BITS_PER_LONG]; 77 unsigned long write_high[0x2000 / BITS_PER_LONG];
|
/xen-4.10.0-shim-comet/xen/common/gcov/ |
A D | gcov.h | 22 #if BITS_PER_LONG >= 64
|
/xen-4.10.0-shim-comet/tools/libxl/ |
A D | libxl_arm_acpi.c | 33 #ifndef BITS_PER_LONG 35 #define BITS_PER_LONG 64 macro 37 #define BITS_PER_LONG 32 macro 40 #define ACPI_MACHINE_WIDTH BITS_PER_LONG
|
/xen-4.10.0-shim-comet/tools/tests/vhpet/ |
A D | emul.h | 33 #define BITS_PER_LONG __WORDSIZE macro 35 (((bits) + BITS_PER_LONG - 1) / BITS_PER_LONG)
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/arm64/ |
A D | bitops.h | 43 return BITS_PER_LONG - ret; in flsl()
|
/xen-4.10.0-shim-comet/tools/libxc/ |
A D | xc_bitops.h | 10 #define BITS_PER_LONG (sizeof(unsigned long) * 8) macro
|