Home
last modified time | relevance | path

Searched refs:cache_ent (Results 1 – 5 of 5) sorted by relevance

/drivers/gpu/drm/virtio/
A Dvirtgpu_vq.c880 cache_ent->size); in virtio_gpu_cmd_capset_cb()
995 cache_ent = kzalloc(sizeof(*cache_ent), GFP_KERNEL); in virtio_gpu_cmd_get_capset()
996 if (!cache_ent) in virtio_gpu_cmd_get_capset()
1001 if (!cache_ent->caps_cache) { in virtio_gpu_cmd_get_capset()
1002 kfree(cache_ent); in virtio_gpu_cmd_get_capset()
1009 kfree(cache_ent->caps_cache); in virtio_gpu_cmd_get_capset()
1010 kfree(cache_ent); in virtio_gpu_cmd_get_capset()
1014 cache_ent->version = version; in virtio_gpu_cmd_get_capset()
1017 cache_ent->size = max_size; in virtio_gpu_cmd_get_capset()
1035 kfree(cache_ent); in virtio_gpu_cmd_get_capset()
[all …]
A Dvirtgpu_ioctl.c377 struct virtio_gpu_drv_cap_cache *cache_ent; in virtio_gpu_get_caps_ioctl() local
406 list_for_each_entry(cache_ent, &vgdev->cap_cache, head) { in virtio_gpu_get_caps_ioctl()
407 if (cache_ent->id == args->cap_set_id && in virtio_gpu_get_caps_ioctl()
408 cache_ent->version == args->cap_set_ver) { in virtio_gpu_get_caps_ioctl()
417 &cache_ent); in virtio_gpu_get_caps_ioctl()
424 atomic_read(&cache_ent->is_valid), 5 * HZ); in virtio_gpu_get_caps_ioctl()
431 ptr = cache_ent->caps_cache; in virtio_gpu_get_caps_ioctl()
A Dvirtgpu_kms.c272 struct virtio_gpu_drv_cap_cache *cache_ent, *tmp; in virtio_gpu_cleanup_cap_cache() local
274 list_for_each_entry_safe(cache_ent, tmp, &vgdev->cap_cache, head) { in virtio_gpu_cleanup_cap_cache()
275 kfree(cache_ent->caps_cache); in virtio_gpu_cleanup_cap_cache()
276 kfree(cache_ent); in virtio_gpu_cleanup_cap_cache()
/drivers/infiniband/hw/mlx5/
A Dmr.c769 mr->mmkey.cache_ent = ent; in _mlx5_mr_cache_alloc()
1818 if (!mr->mmkey.cache_ent) in can_use_umr_rereg_pas()
1827 return (mr->mmkey.cache_ent->rb_key.ndescs) >= in can_use_umr_rereg_pas()
2036 if (mr->mmkey.cache_ent) { in cache_ent_find_and_store()
2049 mr->mmkey.cache_ent = ent; in cache_ent_find_and_store()
2061 mr->mmkey.cache_ent = ent; in cache_ent_find_and_store()
2062 spin_lock_irq(&mr->mmkey.cache_ent->mkeys_queue.lock); in cache_ent_find_and_store()
2135 struct mlx5_cache_ent *ent = mr->mmkey.cache_ent; in mlx5r_handle_mkey_cleanup()
2142 ent = mr->mmkey.cache_ent; in mlx5r_handle_mkey_cleanup()
2159 mr->mmkey.cache_ent = NULL; in mlx5r_handle_mkey_cleanup()
[all …]
A Dmlx5_ib.h661 struct mlx5_cache_ent *cache_ent; member

Completed in 28 milliseconds