Lines Matching refs:dir
282 DIR *dir; in scan_tzones() local
294 dir = opendir(tz_name); in scan_tzones()
295 if (!dir) { in scan_tzones()
329 closedir(dir); in scan_tzones()
340 DIR *dir; in scan_cdevs() local
353 dir = opendir(cdev_name); in scan_cdevs()
354 if (!dir) { in scan_cdevs()
376 closedir(dir); in scan_cdevs()
385 DIR *dir; in probe_thermal_sysfs() local
389 dir = opendir(THERMAL_SYSFS); in probe_thermal_sysfs()
390 if (!dir) { in probe_thermal_sysfs()
435 closedir(dir); in probe_thermal_sysfs()