Searched refs:sysdir (Results 1 – 3 of 3) sorted by relevance
2766 DIR *sysdir; in drmGetMinorNameForFD() local2791 sysdir = opendir(buf); in drmGetMinorNameForFD()2792 if (!sysdir) in drmGetMinorNameForFD()2795 name_max = fpathconf(dirfd(sysdir), _PC_NAME_MAX); in drmGetMinorNameForFD()2803 while (readdir_r(sysdir, pent, &ent) == 0 && ent != NULL) { in drmGetMinorNameForFD()2809 closedir(sysdir); in drmGetMinorNameForFD()2818 closedir(sysdir); in drmGetMinorNameForFD()3081 DIR *sysdir; in drmGetDevice() local3108 sysdir = opendir(DRM_DIR_NAME); in drmGetDevice()3109 if (!sysdir) { in drmGetDevice()[all …]
736 DIR *sysdir; in drmCheckModesettingSupported() local747 sysdir = opendir(pci_dev_dir); in drmCheckModesettingSupported()748 if (sysdir) { in drmCheckModesettingSupported()749 dent = readdir(sysdir); in drmCheckModesettingSupported()756 dent = readdir(sysdir); in drmCheckModesettingSupported()758 closedir(sysdir); in drmCheckModesettingSupported()766 sysdir = opendir(pci_dev_dir); in drmCheckModesettingSupported()767 if (!sysdir) in drmCheckModesettingSupported()770 dent = readdir(sysdir); in drmCheckModesettingSupported()777 dent = readdir(sysdir); in drmCheckModesettingSupported()[all …]
2587 DIR *sysdir = NULL; local2684 sysdir = opendir(file);2686 if (sysdir) {2687 dent = readdir(sysdir);2756 dent = readdir(sysdir);2767 if (sysdir) {2768 closedir(sysdir);2769 sysdir = NULL;2859 if (NULL != sysdir) {2860 closedir(sysdir);