Lines Matching refs:DRM_DIR_NAME
336 sprintf(buf, dev_name, DRM_DIR_NAME, minor); in drmOpenDevice()
346 if (stat(DRM_DIR_NAME, &st)) { in drmOpenDevice()
349 mkdir(DRM_DIR_NAME, DRM_DEV_DIRMODE); in drmOpenDevice()
350 chown_check_return(DRM_DIR_NAME, 0, 0); /* root:root */ in drmOpenDevice()
351 chmod(DRM_DIR_NAME, DRM_DEV_DIRMODE); in drmOpenDevice()
372 if (stat(DRM_DIR_NAME, &st)) { in drmOpenDevice()
460 sprintf(buf, dev_name, DRM_DIR_NAME, minor); in drmOpenMinor()
2699 snprintf(name, sizeof name, DRM_DEV_NAME, DRM_DIR_NAME, i); in drmGetDeviceNameFromFd()
2805 snprintf(dev_name, sizeof(dev_name), DRM_DIR_NAME "/%s", in drmGetMinorNameForFD()
2940 return sizeof(DRM_DIR_NAME) + in drmGetMaxNodeName()
3108 sysdir = opendir(DRM_DIR_NAME); in drmGetDevice()
3120 snprintf(node, PATH_MAX, "%s/%s", DRM_DIR_NAME, dent->d_name); in drmGetDevice()
3210 sysdir = opendir(DRM_DIR_NAME); in drmGetDevices()
3222 snprintf(node, PATH_MAX, "%s/%s", DRM_DIR_NAME, dent->d_name); in drmGetDevices()