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

123

/external/qemu/util/
H A Dbitops.c16 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG)
25 unsigned long result = offset & ~(BITS_PER_LONG-1);
32 offset %= BITS_PER_LONG;
36 if (size < BITS_PER_LONG) {
42 size -= BITS_PER_LONG;
43 result += BITS_PER_LONG;
45 while (size >= 4*BITS_PER_LONG) {
58 result += 4*BITS_PER_LONG;
59 size -= 4*BITS_PER_LONG;
61 while (size >= BITS_PER_LONG) {
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/include/linux/
H A Dbitops.h16 #define BITS_PER_LONG __WORDSIZE macro
36 addr[nr / BITS_PER_LONG] |= 1UL << (nr % BITS_PER_LONG);
41 addr[nr / BITS_PER_LONG] &= ~(1UL << (nr % BITS_PER_LONG));
46 return ((1UL << (nr % BITS_PER_LONG)) &
47 (((unsigned long *)addr)[nr / BITS_PER_LONG])) != 0;
55 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG)
67 #if BITS_PER_LONG == 64
104 while (size & ~(BITS_PER_LONG
[all...]
H A Dbitmap.h13 ((nbits) % BITS_PER_LONG) ? \
14 (1UL<<((nbits) % BITS_PER_LONG))-1 : ~0UL \
18 (__builtin_constant_p(nbits) && (nbits) <= BITS_PER_LONG)
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dbitmap.c12 int k, w = 0, lim = bits/BITS_PER_LONG;
17 if (bits % BITS_PER_LONG)
H A Dhweight.c21 #if BITS_PER_LONG == 32
23 #elif BITS_PER_LONG == 64
/external/fio/lib/
H A Dffz.h8 #if BITS_PER_LONG == 64
H A Dhweight.c23 #if BITS_PER_LONG == 32
H A Dprio_tree.c50 static unsigned long index_bits_to_maxindex[BITS_PER_LONG];
231 mask = 1UL << (BITS_PER_LONG - 1);
319 iter->mask = 1UL << (BITS_PER_LONG - 1);
361 iter->mask = 1UL << (BITS_PER_LONG - 1);
/external/linux-tools-perf/perf-3.12.0/include/linux/
H A Dhash.h25 #if BITS_PER_LONG == 32
28 #elif BITS_PER_LONG == 64
76 #if BITS_PER_LONG == 64
/external/fio/crc/
H A Dcrc32c-intel.c25 #if BITS_PER_LONG == 64
58 #if BITS_PER_LONG == 64
/external/f2fs-tools/lib/
H A Dlibf2fs.c149 #if BITS_PER_LONG == 64
180 unsigned long result = offset & ~(BITS_PER_LONG-1);
186 offset %= BITS_PER_LONG;
190 if (size < BITS_PER_LONG)
194 size -= BITS_PER_LONG;
195 result += BITS_PER_LONG;
197 while (size & ~(BITS_PER_LONG-1)) {
200 result += BITS_PER_LONG;
201 size -= BITS_PER_LONG;
208 tmp &= (~0UL >> (BITS_PER_LONG
[all...]
/external/fio/
H A Dhash.h21 #if BITS_PER_LONG == 32
24 #elif BITS_PER_LONG == 64
37 #if BITS_PER_LONG == 64
63 return __hash_long(val) >> (BITS_PER_LONG - bits);
/external/qemu/include/qemu/
H A Dbitmap.h60 ((nbits) % BITS_PER_LONG) ? \
61 (1UL<<((nbits) % BITS_PER_LONG))-1 : ~0UL \
68 ((nbits) <= BITS_PER_LONG)
H A Dbitops.h19 #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) macro
22 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG))
23 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG)
117 return 1UL & (addr[BIT_WORD(nr)] >> (nr & (BITS_PER_LONG-1)));
/external/chromium_org/third_party/npapi/npspy/extern/nspr/
H A Dprcpucfg.h168 #define BITS_PER_LONG PR_BITS_PER_LONG macro
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/browsers/
H A Dmap.c113 char tmp[BITS_PER_LONG / 4];
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/
H A D_aix32.cfg110 #define BITS_PER_LONG PR_BITS_PER_LONG
H A D_aix64.cfg111 #define BITS_PER_LONG PR_BITS_PER_LONG
H A D_beos.cfg118 #define BITS_PER_LONG PR_BITS_PER_LONG
H A D_darwin.cfg111 #define BITS_PER_LONG PR_BITS_PER_LONG
H A D_dgux.cfg106 #define BITS_PER_LONG PR_BITS_PER_LONG
H A D_hpux32.cfg110 #define BITS_PER_LONG PR_BITS_PER_LONG
H A D_hpux64.cfg111 #define BITS_PER_LONG PR_BITS_PER_LONG
H A D_irix32.cfg117 #define BITS_PER_LONG PR_BITS_PER_LONG
H A D_irix64.cfg116 #define BITS_PER_LONG PR_BITS_PER_LONG

Completed in 2350 milliseconds

123