Searched refs:BITS_TO_LONGS (Results 1 - 18 of 18) sorted by relevance

/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/
H A Dbitmap.h38 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 Dbitops.h52 #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 Dbitmap.h57 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_LONG) macro
H A Dbuf.c54 bitmap->table = calloc(BITS_TO_LONGS(bitmap->max), sizeof(uint32_t));
/freebsd-13-stable/sys/dev/cxgbe/iw_cxgbe/
H A Did_table.c103 alloc->table = kmalloc(BITS_TO_LONGS(num) * sizeof(long),
/freebsd-13-stable/sys/dev/drm2/
H A Ddrm_atomic.h40 #define BITS_TO_LONGS(x) howmany(x, NB_BITS_PER_LONG) macro
/freebsd-13-stable/sys/dev/axgbe/
H A Dxgbe_osdep.h200 #define BITS_TO_LONGS(n) howmany((n), BITS_PER_LONG) macro
H A Dif_axgbe_pci.c1278 for(i=0 ; i<BITS_TO_LONGS(VLAN_NVID); i++) {
/freebsd-13-stable/sys/dev/mthca/
H A Dmthca_allocator.c93 alloc->table = kmalloc(BITS_TO_LONGS(num) * sizeof (long),
H A Dmthca_mr.c155 s = BITS_TO_LONGS(1 << (buddy->max_order - i));
/freebsd-13-stable/sys/dev/mlx4/mlx4_en/
H A Den.h540 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/freebsd-13-stable/sys/dev/mlx5/
H A Ddriver.h718 long bitmap[BITS_TO_LONGS(MLX5_MPFS_TABLE_MAX)];
/freebsd-13-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_alloc.c187 bitmap->table = kzalloc(BITS_TO_LONGS(bitmap->max) *
H A Dmlx4_mr.c120 s = BITS_TO_LONGS(1 << (buddy->max_order - i));
/freebsd-13-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_eswitch.c1107 esw->l2_table.bitmap = kcalloc(BITS_TO_LONGS(l2_table_size),
/freebsd-13-stable/sys/dev/mlx5/mlx5_en/
H A Den.h940 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/freebsd-13-stable/sys/ofed/drivers/infiniband/core/
H A Dib_user_mad.c682 for (i = 0; i < BITS_TO_LONGS(IB_MGMT_MAX_METHODS); ++i)
/freebsd-13-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_main.c2762 kmalloc(BITS_TO_LONGS(ibdev->steer_qpn_count) *

Completed in 226 milliseconds