Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/
Duar.c116 int tot_uuars = NUM_DRIVER_UARS * MLX5_BF_REGS_PER_PAGE; in need_uuar_lock() local
118 if (uuarn == 0 || tot_uuars - NUM_LOW_LAT_UUARS) in need_uuar_lock()
126 int tot_uuars = NUM_DRIVER_UARS * MLX5_BF_REGS_PER_PAGE; in mlx5_alloc_uuars() local
140 uuari->bfs = kcalloc(tot_uuars, sizeof(*uuari->bfs), GFP_KERNEL); in mlx5_alloc_uuars()
146 uuari->bitmap = kcalloc(BITS_TO_LONGS(tot_uuars), sizeof(*uuari->bitmap), in mlx5_alloc_uuars()
153 uuari->count = kcalloc(tot_uuars, sizeof(*uuari->count), GFP_KERNEL); in mlx5_alloc_uuars()
175 for (i = 0; i < tot_uuars; i++) { in mlx5_alloc_uuars()
/linux-4.1.27/drivers/infiniband/hw/mlx5/
Duser.h75 __u32 tot_uuars; member
Dmain.c495 resp.tot_uuars = req.total_num_uuars; in mlx5_ib_alloc_ucontext()