Lines Matching refs:mlx5_cache_ent
125 static void queue_adjust_cache_locked(struct mlx5_cache_ent *ent);
143 struct mlx5_cache_ent *ent = mr->cache_ent; in create_mkey_callback()
175 static struct mlx5_ib_mr *alloc_cache_mr(struct mlx5_cache_ent *ent, void *mkc) in alloc_cache_mr()
196 static int add_keys(struct mlx5_cache_ent *ent, unsigned int num) in add_keys()
244 static struct mlx5_ib_mr *create_cache_mr(struct mlx5_cache_ent *ent) in create_cache_mr()
281 static void remove_cache_mr_locked(struct mlx5_cache_ent *ent) in remove_cache_mr_locked()
298 static int resize_available_mrs(struct mlx5_cache_ent *ent, unsigned int target, in resize_available_mrs()
332 struct mlx5_cache_ent *ent = filp->private_data; in size_write()
370 struct mlx5_cache_ent *ent = filp->private_data; in size_read()
391 struct mlx5_cache_ent *ent = filp->private_data; in limit_write()
415 struct mlx5_cache_ent *ent = filp->private_data; in limit_read()
438 struct mlx5_cache_ent *ent = &cache->ent[i]; in someone_adding()
455 static void queue_adjust_cache_locked(struct mlx5_cache_ent *ent) in queue_adjust_cache_locked()
484 static void __cache_work_func(struct mlx5_cache_ent *ent) in __cache_work_func()
550 struct mlx5_cache_ent *ent; in delayed_cache_work_func()
552 ent = container_of(work, struct mlx5_cache_ent, dwork.work); in delayed_cache_work_func()
558 struct mlx5_cache_ent *ent; in cache_work_func()
560 ent = container_of(work, struct mlx5_cache_ent, work); in cache_work_func()
569 struct mlx5_cache_ent *ent; in mlx5_mr_cache_alloc()
601 static struct mlx5_ib_mr *get_cache_mr(struct mlx5_cache_ent *req_ent) in get_cache_mr()
605 struct mlx5_cache_ent *ent = req_ent; in get_cache_mr()
632 struct mlx5_cache_ent *ent = mr->cache_ent; in mlx5_mr_cache_free()
644 struct mlx5_cache_ent *ent = &cache->ent[c]; in clean_keys()
682 struct mlx5_cache_ent *ent; in mlx5_mr_cache_debugfs_init()
712 struct mlx5_cache_ent *ent; in mlx5_mr_cache_init()
771 struct mlx5_cache_ent *ent = &dev->cache.ent[i]; in mlx5_mr_cache_cleanup()
900 static struct mlx5_cache_ent *mr_cache_ent_from_order(struct mlx5_ib_dev *dev, in mr_cache_ent_from_order()
939 struct mlx5_cache_ent *ent; in alloc_cacheable_mr()