Lines Matching refs:usimple
96 struct vmw_user_simple_resource *usimple = in vmw_simple_resource_free() local
100 ttm_base_object_kfree(usimple, base); in vmw_simple_resource_free()
115 struct vmw_user_simple_resource *usimple = in vmw_simple_resource_base_release() local
117 struct vmw_resource *res = &usimple->simple.res; in vmw_simple_resource_base_release()
143 struct vmw_user_simple_resource *usimple; in vmw_simple_resource_create_ioctl() local
153 usimple = kzalloc(alloc_size, GFP_KERNEL); in vmw_simple_resource_create_ioctl()
154 if (!usimple) { in vmw_simple_resource_create_ioctl()
159 usimple->simple.func = func; in vmw_simple_resource_create_ioctl()
160 res = &usimple->simple.res; in vmw_simple_resource_create_ioctl()
161 usimple->base.shareable = false; in vmw_simple_resource_create_ioctl()
162 usimple->base.tfile = NULL; in vmw_simple_resource_create_ioctl()
167 ret = vmw_simple_resource_init(dev_priv, &usimple->simple, in vmw_simple_resource_create_ioctl()
173 ret = ttm_base_object_init(tfile, &usimple->base, false, in vmw_simple_resource_create_ioctl()
182 func->set_arg_handle(data, usimple->base.handle); in vmw_simple_resource_create_ioctl()
206 struct vmw_user_simple_resource *usimple; in vmw_simple_resource_lookup() local
226 usimple = container_of(base, typeof(*usimple), base); in vmw_simple_resource_lookup()
227 res = vmw_resource_reference(&usimple->simple.res); in vmw_simple_resource_lookup()