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 …]
2203 DIR *sysdir = NULL; local2283 sysdir = opendir(file);2285 if (sysdir) {2286 dent = readdir(sysdir);2351 dent = readdir(sysdir);2361 if (sysdir)2362 closedir(sysdir);