Lines Matching refs:xef
1998 if (vm->xef)
1999 xe_file_put(vm->xef);
2012 struct xe_vm *xe_vm_lookup(struct xe_file *xef, u32 id)
2016 mutex_lock(&xef->vm.lock);
2017 vm = xa_load(&xef->vm.xa, id);
2020 mutex_unlock(&xef->vm.lock);
2060 struct xe_file *xef = to_xe_file(file);
2116 vm->xef = xe_file_get(xef);
2121 xe_drm_client_add_bo(vm->xef->client, vm->pt_root[id]->bo);
2129 err = xa_alloc(&xef->vm.xa, &id, vm, xa_limit_32b, GFP_KERNEL);
2147 struct xe_file *xef = to_xe_file(file);
2156 mutex_lock(&xef->vm.lock);
2157 vm = xa_load(&xef->vm.xa, args->vm_id);
2163 xa_erase(&xef->vm.xa, args->vm_id);
2164 mutex_unlock(&xef->vm.lock);
3521 struct xe_file *xef = to_xe_file(file);
3536 vm = xe_vm_lookup(xef, args->vm_id);
3545 q = xe_exec_queue_lookup(xef, args->exec_queue_id);
3635 err = xe_sync_entry_parse(xe, xef, &syncs[num_syncs],