Searched refs:BITS_TO_LONGS (Results 1 - 18 of 18) sorted by relevance
/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | bitmap.h | 38 memset(addr, 0, BITS_TO_LONGS(size) * sizeof(long)); 273 const unsigned int end = BITS_TO_LONGS(size); 284 const unsigned int end = BITS_TO_LONGS(size); 295 const unsigned int end = BITS_TO_LONGS(size); 306 const unsigned int end = BITS_TO_LONGS(size); 317 const unsigned int end = BITS_TO_LONGS(size); 328 const unsigned int end = BITS_TO_LONGS(size); 338 return (kmalloc_array(BITS_TO_LONGS(size),
|
H A D | bitops.h | 52 #define BITS_TO_LONGS(n) howmany((n), BITS_PER_LONG) macro 362 nlongs_reg = BITS_TO_LONGS(nbits_reg);
|
/freebsd-13-stable/contrib/ofed/libmlx5/ |
H A D | bitmap.h | 57 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_LONG) macro
|
H A D | buf.c | 54 bitmap->table = calloc(BITS_TO_LONGS(bitmap->max), sizeof(uint32_t));
|
/freebsd-13-stable/sys/dev/cxgbe/iw_cxgbe/ |
H A D | id_table.c | 103 alloc->table = kmalloc(BITS_TO_LONGS(num) * sizeof(long),
|
/freebsd-13-stable/sys/dev/drm2/ |
H A D | drm_atomic.h | 40 #define BITS_TO_LONGS(x) howmany(x, NB_BITS_PER_LONG) macro
|
/freebsd-13-stable/sys/dev/axgbe/ |
H A D | xgbe_osdep.h | 200 #define BITS_TO_LONGS(n) howmany((n), BITS_PER_LONG) macro
|
H A D | if_axgbe_pci.c | 1278 for(i=0 ; i<BITS_TO_LONGS(VLAN_NVID); i++) {
|
/freebsd-13-stable/sys/dev/mthca/ |
H A D | mthca_allocator.c | 93 alloc->table = kmalloc(BITS_TO_LONGS(num) * sizeof (long),
|
H A D | mthca_mr.c | 155 s = BITS_TO_LONGS(1 << (buddy->max_order - i));
|
/freebsd-13-stable/sys/dev/mlx4/mlx4_en/ |
H A D | en.h | 540 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/freebsd-13-stable/sys/dev/mlx5/ |
H A D | driver.h | 718 long bitmap[BITS_TO_LONGS(MLX5_MPFS_TABLE_MAX)];
|
/freebsd-13-stable/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_alloc.c | 187 bitmap->table = kzalloc(BITS_TO_LONGS(bitmap->max) *
|
H A D | mlx4_mr.c | 120 s = BITS_TO_LONGS(1 << (buddy->max_order - i));
|
/freebsd-13-stable/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_eswitch.c | 1107 esw->l2_table.bitmap = kcalloc(BITS_TO_LONGS(l2_table_size),
|
/freebsd-13-stable/sys/dev/mlx5/mlx5_en/ |
H A D | en.h | 940 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/freebsd-13-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_user_mad.c | 682 for (i = 0; i < BITS_TO_LONGS(IB_MGMT_MAX_METHODS); ++i)
|
/freebsd-13-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_main.c | 2762 kmalloc(BITS_TO_LONGS(ibdev->steer_qpn_count) *
|
Completed in 226 milliseconds