Searched refs:resv_ref (Results 1 – 3 of 3) sorted by relevance
192 container_of(kref, typeof(*vm), resv_ref); in i915_vm_resv_release()235 if (!kref_read(&vm->resv_ref)) in i915_address_space_init()236 kref_init(&vm->resv_ref); in i915_address_space_init()
245 struct kref resv_ref; /* kref to keep the reservation lock alive. */ member488 kref_get(&vm->resv_ref); in i915_vm_resv_get()507 kref_put(&vm->resv_ref, i915_vm_resv_release); in i915_vm_resv_put()
813 GEM_WARN_ON(kref_read(&ggtt->vm.resv_ref) != 1); in i915_ggtt_driver_late_release()893 kref_init(&ggtt->vm.resv_ref); in ggtt_probe_common()