Home
last modified time | relevance | path

Searched refs:reserved_top (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/mellanox/mlx4/
Dalloc.c52 bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top) in mlx4_bitmap_alloc()
122 bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top) in mlx4_bitmap_alloc_range()
154 return obj & (bitmap->max + bitmap->reserved_top - 1); in mlx4_bitmap_masked_value()
160 obj &= bitmap->max + bitmap->reserved_top - 1; in mlx4_bitmap_free_range()
165 bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top) in mlx4_bitmap_free_range()
174 u32 reserved_bot, u32 reserved_top) in mlx4_bitmap_init() argument
182 bitmap->max = num - reserved_top; in mlx4_bitmap_init()
184 bitmap->reserved_top = reserved_top; in mlx4_bitmap_init()
185 bitmap->avail = num - reserved_top - reserved_bot; in mlx4_bitmap_init()
Dmlx4.h243 u32 reserved_top; member
/drivers/infiniband/hw/hns/
Dhns_roce_device.h224 unsigned long reserved_top; member