Lines Matching refs:mlx5_cache_ent
112 static void queue_adjust_cache_locked(struct mlx5_cache_ent *ent);
138 struct mlx5_cache_ent *ent = mr->cache_ent; in create_mkey_callback()
168 static struct mlx5_ib_mr *alloc_cache_mr(struct mlx5_cache_ent *ent, void *mkc) in alloc_cache_mr()
191 static int add_keys(struct mlx5_cache_ent *ent, unsigned int num) in add_keys()
239 static struct mlx5_ib_mr *create_cache_mr(struct mlx5_cache_ent *ent) in create_cache_mr()
276 static void remove_cache_mr_locked(struct mlx5_cache_ent *ent) in remove_cache_mr_locked()
293 static int resize_available_mrs(struct mlx5_cache_ent *ent, unsigned int target, in resize_available_mrs()
327 struct mlx5_cache_ent *ent = filp->private_data; in size_write()
365 struct mlx5_cache_ent *ent = filp->private_data; in size_read()
386 struct mlx5_cache_ent *ent = filp->private_data; in limit_write()
410 struct mlx5_cache_ent *ent = filp->private_data; in limit_read()
433 struct mlx5_cache_ent *ent = &cache->ent[i]; in someone_adding()
450 static void queue_adjust_cache_locked(struct mlx5_cache_ent *ent) in queue_adjust_cache_locked()
479 static void __cache_work_func(struct mlx5_cache_ent *ent) in __cache_work_func()
545 struct mlx5_cache_ent *ent; in delayed_cache_work_func()
547 ent = container_of(work, struct mlx5_cache_ent, dwork.work); in delayed_cache_work_func()
553 struct mlx5_cache_ent *ent; in cache_work_func()
555 ent = container_of(work, struct mlx5_cache_ent, work); in cache_work_func()
564 struct mlx5_cache_ent *ent; in mlx5_mr_cache_alloc()
594 static struct mlx5_ib_mr *get_cache_mr(struct mlx5_cache_ent *req_ent) in get_cache_mr()
598 struct mlx5_cache_ent *ent = req_ent; in get_cache_mr()
627 struct mlx5_cache_ent *ent = mr->cache_ent; in detach_mr_from_cache()
637 struct mlx5_cache_ent *ent = mr->cache_ent; in mlx5_mr_cache_free()
658 struct mlx5_cache_ent *ent = &cache->ent[c]; in clean_keys()
696 struct mlx5_cache_ent *ent; in mlx5_mr_cache_debugfs_init()
726 struct mlx5_cache_ent *ent; in mlx5_mr_cache_init()
785 struct mlx5_cache_ent *ent = &dev->cache.ent[i]; in mlx5_mr_cache_cleanup()
964 static struct mlx5_cache_ent *mr_cache_ent_from_order(struct mlx5_ib_dev *dev, in mr_cache_ent_from_order()
983 struct mlx5_cache_ent *ent = mr_cache_ent_from_order(dev, order); in alloc_mr_from_cache()