Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c613 struct virtio_gpu_drv_cap_cache *cache_ent; in virtio_gpu_cmd_capset_cb() local
616 list_for_each_entry(cache_ent, &vgdev->cap_cache, head) { in virtio_gpu_cmd_capset_cb()
617 if (cache_ent->version == le32_to_cpu(cmd->capset_version) && in virtio_gpu_cmd_capset_cb()
618 cache_ent->id == le32_to_cpu(cmd->capset_id)) { in virtio_gpu_cmd_capset_cb()
619 memcpy(cache_ent->caps_cache, resp->capset_data, in virtio_gpu_cmd_capset_cb()
620 cache_ent->size); in virtio_gpu_cmd_capset_cb()
621 atomic_set(&cache_ent->is_valid, 1); in virtio_gpu_cmd_capset_cb()
683 struct virtio_gpu_drv_cap_cache *cache_ent; in virtio_gpu_cmd_get_capset() local
692 cache_ent = kzalloc(sizeof(*cache_ent), GFP_KERNEL); in virtio_gpu_cmd_get_capset()
693 if (!cache_ent) in virtio_gpu_cmd_get_capset()
[all …]
Dvirtgpu_ioctl.c490 struct virtio_gpu_drv_cap_cache *cache_ent; in virtio_gpu_get_caps_ioctl() local
516 list_for_each_entry(cache_ent, &vgdev->cap_cache, head) { in virtio_gpu_get_caps_ioctl()
517 if (cache_ent->id == args->cap_set_id && in virtio_gpu_get_caps_ioctl()
518 cache_ent->version == args->cap_set_ver) { in virtio_gpu_get_caps_ioctl()
519 ptr = cache_ent->caps_cache; in virtio_gpu_get_caps_ioctl()
528 &cache_ent); in virtio_gpu_get_caps_ioctl()
531 atomic_read(&cache_ent->is_valid), 5 * HZ); in virtio_gpu_get_caps_ioctl()
533 ptr = cache_ent->caps_cache; in virtio_gpu_get_caps_ioctl()
Dvirtgpu_kms.c240 struct virtio_gpu_drv_cap_cache *cache_ent, *tmp; in virtio_gpu_cleanup_cap_cache() local
242 list_for_each_entry_safe(cache_ent, tmp, &vgdev->cap_cache, head) { in virtio_gpu_cleanup_cap_cache()
243 kfree(cache_ent->caps_cache); in virtio_gpu_cleanup_cap_cache()
244 kfree(cache_ent); in virtio_gpu_cleanup_cap_cache()
/linux-4.4.14/include/linux/mlx5/
Ddriver.h198 struct cache_ent *cache;
218 struct cache_ent { struct
226 struct cache_ent large; argument
227 struct cache_ent med;
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c1333 struct cache_ent *ent = NULL; in alloc_msg()