/src/sys/external/bsd/drm2/dist/drm/virtio/ |
virtgpu_kms.c | 226 struct virtio_gpu_drv_cap_cache *cache_ent, *tmp; local in function:virtio_gpu_cleanup_cap_cache 228 list_for_each_entry_safe(cache_ent, tmp, &vgdev->cap_cache, head) { 229 kfree(cache_ent->caps_cache); 230 kfree(cache_ent);
|
virtgpu_ioctl.c | 412 struct virtio_gpu_drv_cap_cache *cache_ent; local in function:virtio_gpu_get_caps_ioctl 441 list_for_each_entry(cache_ent, &vgdev->cap_cache, head) { 442 if (cache_ent->id == args->cap_set_id && 443 cache_ent->version == args->cap_set_ver) { 452 &cache_ent); 456 atomic_read(&cache_ent->is_valid), 5 * HZ); 463 ptr = cache_ent->caps_cache;
|
virtgpu_vq.c | 693 struct virtio_gpu_drv_cap_cache *cache_ent; local in function:virtio_gpu_cmd_capset_cb 696 list_for_each_entry(cache_ent, &vgdev->cap_cache, head) { 697 if (cache_ent->version == le32_to_cpu(cmd->capset_version) && 698 cache_ent->id == le32_to_cpu(cmd->capset_id)) { 699 memcpy(cache_ent->caps_cache, resp->capset_data, 700 cache_ent->size); 703 atomic_set(&cache_ent->is_valid, 1); 803 struct virtio_gpu_drv_cap_cache *cache_ent; local in function:virtio_gpu_cmd_get_capset 815 cache_ent = kzalloc(sizeof(*cache_ent), GFP_KERNEL) [all...] |