Home
last modified time | relevance | path

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

12345

/linux-2.4.37.9/include/asm-parisc/
Dbitops.h17 #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 …]
Dtypes.h43 #define BITS_PER_LONG 64 macro
45 #define BITS_PER_LONG 32 macro
Dirq.h26 #define MAX_CPU_IRQ (BITS_PER_LONG - 1)
28 #if BITS_PER_LONG == 32
/linux-2.4.37.9/include/asm-ia64/
Dnuma.h27 #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/
Dpcipool.c144 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/
Dxfs_types.h68 #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/
Drrunner.h6 #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/
Dballoc.c42 #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/
Dtypes.h8 (((bits)+BITS_PER_LONG-1)/BITS_PER_LONG)
/linux-2.4.37.9/drivers/ieee1394/
Dieee1394_types.h17 (((bits)+BITS_PER_LONG-1)/BITS_PER_LONG)
/linux-2.4.37.9/arch/ia64/hp/common/
Dsba_iommu.c238 #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/
Dutil.c141 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/
Dsba_iommu.c354 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 …]
Dpci-dma.c250 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/
Daclinux.h65 #define ACPI_MACHINE_WIDTH BITS_PER_LONG
/linux-2.4.37.9/include/asm-x86_64/
Dtypes.h40 #define BITS_PER_LONG 64 macro
/linux-2.4.37.9/include/asm-alpha/
Dtypes.h48 #define BITS_PER_LONG 64 macro
/linux-2.4.37.9/include/asm-cris/
Dtypes.h42 #define BITS_PER_LONG 32 macro
/linux-2.4.37.9/arch/ppc64/boot/
Dppc32-types.h28 #define BITS_PER_LONG 32 macro
/linux-2.4.37.9/include/asm-s390x/
Dtypes.h56 #define BITS_PER_LONG 64 macro
/linux-2.4.37.9/include/asm-arm/
Dtypes.h42 #define BITS_PER_LONG 32 macro
/linux-2.4.37.9/include/asm-m68k/
Dtypes.h50 #define BITS_PER_LONG 32 macro
/linux-2.4.37.9/include/asm-sparc64/
Dtypes.h46 #define BITS_PER_LONG 64 macro
/linux-2.4.37.9/include/asm-sparc/
Dtypes.h46 #define BITS_PER_LONG 32 macro
/linux-2.4.37.9/include/asm-i386/
Dtypes.h44 #define BITS_PER_LONG 32 macro

12345