Searched refs:dp (Results 1 – 2 of 2) sorted by relevance
114 DIR *dp; in findTypeByName() local118 dp = opendir(iio_dir); in findTypeByName()119 if (dp == NULL) { in findTypeByName()124 while (ent = readdir(dp), ent != NULL) { in findTypeByName()147 closedir(dp); in findTypeByName()
112 DIR *dp; in find_type_by_name() local123 dp = opendir(iio_dir); in find_type_by_name()124 if (dp == NULL) { in find_type_by_name()128 while (ent = readdir(dp), ent != NULL) { in find_type_by_name()