/linux-2.4.37.9/include/asm-parisc/ |
D | bitops.h | 17 #ifndef BITS_PER_LONG 18 # define BITS_PER_LONG 64 macro 22 #ifndef BITS_PER_LONG 23 # define BITS_PER_LONG 32 macro 27 #define CHOP_SHIFTCOUNT(x) ((x) & (BITS_PER_LONG - 1)) 240 unsigned long result = offset & ~(BITS_PER_LONG-1); in find_next_zero_bit() 246 offset &= (BITS_PER_LONG-1); in find_next_zero_bit() 249 tmp |= ~0UL >> (BITS_PER_LONG-offset); in find_next_zero_bit() 250 if (size < BITS_PER_LONG) in find_next_zero_bit() 254 size -= BITS_PER_LONG; in find_next_zero_bit() [all …]
|
D | types.h | 43 #define BITS_PER_LONG 64 macro 45 #define BITS_PER_LONG 32 macro
|
D | irq.h | 26 #define MAX_CPU_IRQ (BITS_PER_LONG - 1) 28 #if BITS_PER_LONG == 32
|
/linux-2.4.37.9/include/asm-ia64/ |
D | numa.h | 27 #define NODEMASK_WORDCOUNT ((NR_NODES+(BITS_PER_LONG-1))/BITS_PER_LONG) 29 #define NODE_MASK_NONE { [0 ... ((NR_NODES+BITS_PER_LONG-1)/BITS_PER_LONG)-1] = 0 }
|
/linux-2.4.37.9/arch/arm/common/ |
D | pcipool.c | 144 mapsize = (mapsize + BITS_PER_LONG - 1) / BITS_PER_LONG; in pool_alloc_page() 173 blocks -= BITS_PER_LONG; in is_page_busy() 256 i += BITS_PER_LONG, map++) { in pci_pool_alloc() 262 offset = (BITS_PER_LONG * map) + block; in pci_pool_alloc() 344 map = block / BITS_PER_LONG; in pci_pool_free() 345 block %= BITS_PER_LONG; in pci_pool_free()
|
/linux-2.4.37.9/fs/xfs/ |
D | xfs_types.h | 68 #if (BITS_PER_LONG == 32) 71 #elif (BITS_PER_LONG == 64) 75 #error BITS_PER_LONG must be 32 or 64
|
/linux-2.4.37.9/drivers/net/ |
D | rrunner.h | 6 #if ((BITS_PER_LONG != 32) && (BITS_PER_LONG != 64)) 490 #if (BITS_PER_LONG == 64) 502 #if (BITS_PER_LONG == 64) in set_rraddr() 515 #if (BITS_PER_LONG == 64) && defined(__LITTLE_ENDIAN) in set_rxaddr() 518 #elif (BITS_PER_LONG == 64) in set_rxaddr() 532 #if (BITS_PER_LONG == 64) && defined(__LITTLE_ENDIAN) in set_infoaddr() 535 #elif (BITS_PER_LONG == 64) in set_infoaddr()
|
/linux-2.4.37.9/fs/udf/ |
D | balloc.c | 42 #define leBPL_to_cpup(x) leNUM_to_cpup(BITS_PER_LONG, x) 45 #define uintBPL_t uint(BITS_PER_LONG) 51 uintBPL_t * p = ((uintBPL_t *) addr) + (offset / BITS_PER_LONG); in find_next_one_bit() 52 uintBPL_t result = offset & ~(BITS_PER_LONG-1); in find_next_one_bit() 58 offset &= (BITS_PER_LONG-1); in find_next_one_bit() 63 if (size < BITS_PER_LONG) in find_next_one_bit() 67 size -= BITS_PER_LONG; in find_next_one_bit() 68 result += BITS_PER_LONG; in find_next_one_bit() 70 while (size & ~(BITS_PER_LONG-1)) in find_next_one_bit() 74 result += BITS_PER_LONG; in find_next_one_bit() [all …]
|
/linux-2.4.37.9/include/linux/ |
D | types.h | 8 (((bits)+BITS_PER_LONG-1)/BITS_PER_LONG)
|
/linux-2.4.37.9/drivers/ieee1394/ |
D | ieee1394_types.h | 17 (((bits)+BITS_PER_LONG-1)/BITS_PER_LONG)
|
/linux-2.4.37.9/arch/ia64/hp/common/ |
D | sba_iommu.c | 238 #define DMA_CHUNK_SIZE (BITS_PER_LONG*iovp_size) 287 u64 *ptr = &ioc->pdir_base[pide & ~(BITS_PER_LONG - 1)]; in sba_dump_pdir_entry() 292 msg, rptr, pide & (BITS_PER_LONG - 1), *rptr); in sba_dump_pdir_entry() 295 while (rcnt < BITS_PER_LONG) { in sba_dump_pdir_entry() 297 (rcnt == (pide & (BITS_PER_LONG - 1))) in sba_dump_pdir_entry() 458 if (bits_wanted > (BITS_PER_LONG/2)) { in sba_search_bitmap() 482 if (bitshiftcnt >= BITS_PER_LONG) { in sba_search_bitmap() 541 ASSERT(pages_needed <= BITS_PER_LONG); in sba_alloc_range() 597 unsigned long m = RESMAP_MASK(bits_not_wanted) << (pide & (BITS_PER_LONG - 1)); in sba_free_range() 606 ASSERT(bits_not_wanted <= BITS_PER_LONG); in sba_free_range() [all …]
|
/linux-2.4.37.9/fs/devfs/ |
D | util.c | 141 unsigned long bits[256 / BITS_PER_LONG]; 143 #if BITS_PER_LONG == 32 225 unsigned long bits[256 / BITS_PER_LONG];
|
/linux-2.4.37.9/arch/parisc/kernel/ |
D | sba_iommu.c | 354 u64 *ptr = &(ioc->pdir_base[pide & (~0U * BITS_PER_LONG)]); in sba_dump_pdir_entry() 360 rptr, pide & (BITS_PER_LONG - 1), *rptr); in sba_dump_pdir_entry() 363 while (rcnt < BITS_PER_LONG) { in sba_dump_pdir_entry() 365 (rcnt == (pide & (BITS_PER_LONG - 1))) in sba_dump_pdir_entry() 464 #define RESMAP_MASK(n) (~0UL << (BITS_PER_LONG - (n))) 486 if (bits_wanted > (BITS_PER_LONG/2)) { in sba_search_bitmap() 510 if (bitshiftcnt >= BITS_PER_LONG) { in sba_search_bitmap() 570 ASSERT(pages_needed <= BITS_PER_LONG); in sba_alloc_range() 633 unsigned long m = RESMAP_MASK(bits_not_wanted) >> (pide & (BITS_PER_LONG - 1)); in sba_free_range() 646 ASSERT(bits_not_wanted <= BITS_PER_LONG); in sba_free_range() [all …]
|
D | pci-dma.c | 250 ASSERT(pages_needed < (BITS_PER_LONG - PAGE_SHIFT)); in pcxl_alloc_range() 253 mask >>= BITS_PER_LONG - pages_needed; in pcxl_alloc_range() 308 ASSERT(pages_mapped < (BITS_PER_LONG - PAGE_SHIFT)); in pcxl_free_range() 311 mask >>= BITS_PER_LONG - pages_mapped; in pcxl_free_range()
|
/linux-2.4.37.9/include/acpi/platform/ |
D | aclinux.h | 65 #define ACPI_MACHINE_WIDTH BITS_PER_LONG
|
/linux-2.4.37.9/include/asm-x86_64/ |
D | types.h | 40 #define BITS_PER_LONG 64 macro
|
/linux-2.4.37.9/include/asm-alpha/ |
D | types.h | 48 #define BITS_PER_LONG 64 macro
|
/linux-2.4.37.9/include/asm-cris/ |
D | types.h | 42 #define BITS_PER_LONG 32 macro
|
/linux-2.4.37.9/arch/ppc64/boot/ |
D | ppc32-types.h | 28 #define BITS_PER_LONG 32 macro
|
/linux-2.4.37.9/include/asm-s390x/ |
D | types.h | 56 #define BITS_PER_LONG 64 macro
|
/linux-2.4.37.9/include/asm-arm/ |
D | types.h | 42 #define BITS_PER_LONG 32 macro
|
/linux-2.4.37.9/include/asm-m68k/ |
D | types.h | 50 #define BITS_PER_LONG 32 macro
|
/linux-2.4.37.9/include/asm-sparc64/ |
D | types.h | 46 #define BITS_PER_LONG 64 macro
|
/linux-2.4.37.9/include/asm-sparc/ |
D | types.h | 46 #define BITS_PER_LONG 32 macro
|
/linux-2.4.37.9/include/asm-i386/ |
D | types.h | 44 #define BITS_PER_LONG 32 macro
|