Home
last modified time | relevance | path

Searched refs:BITS_PER_LONG (Results 1 – 25 of 57) sorted by relevance

123

/xen-4.10.0-shim-comet/xen/arch/arm/arm64/lib/
A Dfind_next_bit.c31 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 Dbitops.c14 " 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 Dflushtlb.c139 if ( order < (BITS_PER_LONG - PAGE_SHIFT) ) in flush_area_local()
/xen-4.10.0-shim-comet/xen/common/
A Dbitmap.c62 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 Dpdx.c83 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 Dcpu.c11 = 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 Dhash.h16 #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 Dbitops.h11 (((~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 Dcpumask.h86 #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 Dtypes.h9 (((bits)+BITS_PER_LONG-1)/BITS_PER_LONG)
A Dbitmap.h107 ((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 Danalyze.h21 # 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 Devtchn.c226 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 Dpolicy_default.c94 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 Dbitops.h310 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 Dconfig.h14 #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 Ddiv64.h25 #if BITS_PER_LONG == 64
35 #elif BITS_PER_LONG == 32
A Dvreg.h110 #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 Daclinux.h63 #define ACPI_MACHINE_WIDTH BITS_PER_LONG
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/vmx/
A Dvmcs.h74 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 Dgcov.h22 #if BITS_PER_LONG >= 64
/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxl_arm_acpi.c33 #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 Demul.h33 #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 Dbitops.h43 return BITS_PER_LONG - ret; in flsl()
/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_bitops.h10 #define BITS_PER_LONG (sizeof(unsigned long) * 8) macro

Completed in 40 milliseconds

123