Searched refs:idr_ret (Results 1 – 2 of 2) sorted by relevance
257 int idr_ret; in qxl_alloc_surface_release_reserved() local262 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() local308 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()
423 int idr_ret; in qxl_surface_id_alloc() local428 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()