Home
last modified time | relevance | path

Searched refs:idr_ret (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/qxl/
Dqxl_release.c257 int idr_ret; in qxl_alloc_surface_release_reserved() local
262 idr_ret = qxl_release_alloc(qdev, QXL_RELEASE_SURFACE_CMD, release); in qxl_alloc_surface_release_reserved()
263 if (idr_ret < 0) in qxl_alloc_surface_release_reserved()
264 return idr_ret; in qxl_alloc_surface_release_reserved()
273 info->id = idr_ret; in qxl_alloc_surface_release_reserved()
287 int idr_ret; in qxl_alloc_release_reserved() local
308 idr_ret = qxl_release_alloc(qdev, type, release); in qxl_alloc_release_reserved()
309 if (idr_ret < 0) { in qxl_alloc_release_reserved()
312 return idr_ret; in qxl_alloc_release_reserved()
358 info->id = idr_ret; in qxl_alloc_release_reserved()
Dqxl_cmd.c423 int idr_ret; in qxl_surface_id_alloc() local
428 idr_ret = idr_alloc(&qdev->surf_id_idr, NULL, 1, 0, GFP_NOWAIT); in qxl_surface_id_alloc()
431 if (idr_ret < 0) in qxl_surface_id_alloc()
432 return idr_ret; in qxl_surface_id_alloc()
433 handle = idr_ret; in qxl_surface_id_alloc()