/freebsd-11-stable/contrib/ofed/libmlx5/ |
H A D | bitmap.h | 56 #define BITS_PER_LONG (8 * sizeof(long)) macro 57 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_LONG) 79 while (size & ~(BITS_PER_LONG - 1)) { 83 result += BITS_PER_LONG; 84 size -= BITS_PER_LONG; 98 addr[(nr / BITS_PER_LONG)] |= (1 << (nr % BITS_PER_LONG)); 103 addr[(nr / BITS_PER_LONG)] &= ~(1 << (nr % BITS_PER_LONG)); 108 return !!(addr[(nr / BITS_PER_LONG)] [all...] |
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | bitops.h | 43 #define BITS_PER_LONG 64 macro 45 #define BITS_PER_LONG 32 macro 50 #define BITMAP_FIRST_WORD_MASK(start) (~0UL << ((start) % BITS_PER_LONG)) 51 #define BITMAP_LAST_WORD_MASK(n) (~0UL >> (BITS_PER_LONG - (n))) 52 #define BITS_TO_LONGS(n) howmany((n), BITS_PER_LONG) 53 #define BIT_MASK(nr) (1UL << ((nr) & (BITS_PER_LONG - 1))) 54 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG) 55 #define GENMASK(h, l) (((~0UL) >> (BITS_PER_LONG - (h) - 1)) & ((~0UL) << (l))) 120 for (bit = 0; size >= BITS_PER_LONG; 121 size -= BITS_PER_LONG, bi [all...] |
H A D | bitmap.h | 43 const unsigned int tail = size & (BITS_PER_LONG - 1); 55 const unsigned int tail = size & (BITS_PER_LONG - 1); 76 const unsigned int tail = size & (BITS_PER_LONG - 1); 97 int bits_to_set = BITS_PER_LONG - (start % BITS_PER_LONG); 105 bits_to_set = BITS_PER_LONG; 120 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG); 128 bits_to_clear = BITS_PER_LONG; 209 const unsigned int tail = size & (BITS_PER_LONG [all...] |
/freebsd-11-stable/sys/dev/pms/freebsd/driver/common/ |
H A D | ostypes.h | 91 #define BITS_PER_LONG 64 macro 93 #define BITS_PER_LONG 32 macro 109 #if (BITS_PER_LONG == 64)
|
H A D | lxcommon.h | 566 #if (BITS_PER_LONG == 64)
|
/freebsd-11-stable/sys/dev/mlx4/ |
H A D | doorbell.h | 44 #if BITS_PER_LONG == 64 65 * BITS_PER_LONG is 32 -- there's no portable way to do atomic 64-bit
|
H A D | device.h | 1076 if (BITS_PER_LONG == 64 || buf->nbufs == 1)
|
/freebsd-11-stable/sys/dev/mlx5/ |
H A D | doorbell.h | 34 #if BITS_PER_LONG == 64 53 * BITS_PER_LONG is 32 -- there's no portable way to do atomic 64-bit
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_mem.c | 69 m = find_first_bit(&tmp, BITS_PER_LONG); 79 m = min_t(unsigned long, m, find_first_bit(&tmp, BITS_PER_LONG)); 87 m = find_first_bit(&tmp, BITS_PER_LONG);
|
/freebsd-11-stable/sys/dev/mthca/ |
H A D | mthca_doorbell.h | 43 #if BITS_PER_LONG == 64 74 * BITS_PER_LONG is 32 -- there's no portable way to do atomic 64-bit
|
H A D | mthca_profile.c | 274 if (mthca_is_memfree(dev) || BITS_PER_LONG == 64)
|
/freebsd-11-stable/sys/compat/linuxkpi/common/include/net/ |
H A D | ipv6.h | 68 #if BITS_PER_LONG == 64
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_resources.c | 111 if (BITS_PER_LONG == 64 || buf->nbufs == 1)
|
H A D | mlx4_en_netdev.c | 2227 #if BITS_PER_LONG == 64 2230 #elif BITS_PER_LONG == 32
|
/freebsd-11-stable/sys/dev/hptmv/ |
H A D | osbsd.h | 248 #define BITS_PER_LONG 32 macro 252 #define BITS_PER_LONG 64 macro
|
/freebsd-11-stable/sys/dev/drm2/ |
H A D | drm_os_freebsd.h | 22 #define BITS_PER_LONG 64 macro 24 #define BITS_PER_LONG 32 macro
|
H A D | drm_gem.c | 57 #if BITS_PER_LONG == 64
|
H A D | drm_bufs.c | 157 #if (BITS_PER_LONG == 64) 159 #elif (BITS_PER_LONG == 32)
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_alloc.c | 632 if (BITS_PER_LONG == 64) { 664 if (BITS_PER_LONG == 64)
|
/freebsd-11-stable/sys/dev/bxe/ |
H A D | bxe_stats.c | 34 #define BITS_PER_LONG 32 macro 36 #define BITS_PER_LONG 64 macro 44 #if (BITS_PER_LONG == 64)
|
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | bcm_osal.h | 486 bit %= BITS_PER_LONG;
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_cache.c | 775 BITS_PER_LONG,
|
H A D | ib_cma.c | 4278 BITS_PER_LONG);
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_qp.c | 484 qp->sq_signal_bits && BITS_PER_LONG == 64 &&
|
/freebsd-11-stable/sys/dev/pms/RefTisa/tisa/sassata/sas/ini/ |
H A D | itddisc.c | 2840 #if (BITS_PER_LONG > 32)
|