Home
last modified time | relevance | path

Searched refs:sysdir (Results 1 – 3 of 3) sorted by relevance

/external/libdrm/
Dxf86drm.c2766 DIR *sysdir; in drmGetMinorNameForFD() local
2791 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() local
3108 sysdir = opendir(DRM_DIR_NAME); in drmGetDevice()
3109 if (!sysdir) { in drmGetDevice()
[all …]
Dxf86drmMode.c736 DIR *sysdir; in drmCheckModesettingSupported() local
747 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 …]
/external/vulkan-validation-layers/loader/
Dloader.c2203 DIR *sysdir = NULL; local
2283 sysdir = opendir(file);
2285 if (sysdir) {
2286 dent = readdir(sysdir);
2351 dent = readdir(sysdir);
2361 if (sysdir)
2362 closedir(sysdir);