Searched refs:order2idx (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/drivers/infiniband/hw/mlx5/ |
D | mr.c | 71 static int order2idx(struct mlx5_ib_dev *dev, int order) in order2idx() function 93 int c = order2idx(dev, mr->order); in reg_mr_callback() 244 c = order2idx(dev, ent->order); in size_write() 302 c = order2idx(dev, ent->order); in limit_write() 358 int i = order2idx(dev, ent->order); in __cache_work_func() 467 c = order2idx(dev, order); in alloc_cached_mr() 468 last_umr_cache_entry = order2idx(dev, mr_cache_max_order(dev)); in alloc_cached_mr() 511 c = order2idx(dev, mr->order); in mlx5_mr_cache_free() 864 err = add_keys(dev, order2idx(dev, order), 1); in alloc_mr_from_cache()
|