Searched refs:resv_ref (Results 1 – 3 of 3) sorted by relevance
227 container_of(kref, typeof(*vm), resv_ref); in i915_vm_resv_release()270 if (!kref_read(&vm->resv_ref)) in i915_address_space_init()271 kref_init(&vm->resv_ref); in i915_address_space_init()
268 struct kref resv_ref; /* kref to keep the reservation lock alive. */ member503 kref_get(&vm->resv_ref); in i915_vm_resv_get()522 kref_put(&vm->resv_ref, i915_vm_resv_release); in i915_vm_resv_put()
1096 GEM_WARN_ON(kref_read(&ggtt->vm.resv_ref) != 1); in i915_ggtt_driver_late_release()1177 kref_init(&ggtt->vm.resv_ref); in ggtt_probe_common()