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

/linux-master/drivers/gpu/drm/virtio/
H A Dvirtgpu_vq.c705 struct virtio_gpu_drv_cap_cache *cache_ent; local
708 list_for_each_entry(cache_ent, &vgdev->cap_cache, head) {
709 if (cache_ent->version == le32_to_cpu(cmd->capset_version) &&
710 cache_ent->id == le32_to_cpu(cmd->capset_id)) {
711 memcpy(cache_ent->caps_cache, resp->capset_data,
712 cache_ent->size);
715 atomic_set(&cache_ent->is_valid, 1);
815 struct virtio_gpu_drv_cap_cache *cache_ent; local
827 cache_ent = kzalloc(sizeof(*cache_ent), GFP_KERNE
[all...]
H A Dvirtgpu_kms.c273 struct virtio_gpu_drv_cap_cache *cache_ent, *tmp; local
275 list_for_each_entry_safe(cache_ent, tmp, &vgdev->cap_cache, head) {
276 kfree(cache_ent->caps_cache);
277 kfree(cache_ent);
H A Dvirtgpu_ioctl.c377 struct virtio_gpu_drv_cap_cache *cache_ent; local
406 list_for_each_entry(cache_ent, &vgdev->cap_cache, head) {
407 if (cache_ent->id == args->cap_set_id &&
408 cache_ent->version == args->cap_set_ver) {
417 &cache_ent);
424 atomic_read(&cache_ent->is_valid), 5 * HZ);
431 ptr = cache_ent->caps_cache;
/linux-master/drivers/infiniband/hw/mlx5/
H A Dmr.c720 mr->mmkey.cache_ent = ent;
1587 if (!mr->mmkey.cache_ent)
1596 return (mr->mmkey.cache_ent->rb_key.ndescs) >=
1803 if (mr->mmkey.cache_ent) {
1804 spin_lock_irq(&mr->mmkey.cache_ent->mkeys_queue.lock);
1805 mr->mmkey.cache_ent->in_use--;
1817 mr->mmkey.cache_ent = ent;
1818 spin_lock_irq(&mr->mmkey.cache_ent->mkeys_queue.lock);
1829 mr->mmkey.cache_ent = ent;
1830 spin_lock_irq(&mr->mmkey.cache_ent
[all...]
H A Dmlx5_ib.h646 /* User Mkey must hold either a rb_key or a cache_ent. */
648 struct mlx5_cache_ent *cache_ent; member in struct:mlx5_ib_mkey

Completed in 208 milliseconds