Lines Matching refs:retcode
322 int retcode;
336 retcode = dev->driver->load(dev, 0);
337 if (retcode != 0) {
343 retcode = drm_ctxbitmap_init(dev);
344 if (retcode != 0) {
351 retcode = EFAULT;
372 return (retcode);
406 int retcode;
408 retcode = drm_open_helper(dev, mp, openflags, otyp, credp);
410 if (!retcode) {
414 retcode = drm_firstopen(dev);
418 return (retcode);
428 int retcode = 0;
485 retcode = drm_lastclose(dev);
489 return (retcode);