Lines Matching refs:namelist
283 struct dirent **namelist;
300 n = scandir(tz_name, &namelist, 0, alphasort);
313 if (find_tzone_tp(tz_name, namelist[n]->d_name,
316 temp_str = strstr(namelist[n]->d_name, "cdev");
318 free(namelist[n]);
321 if (!find_tzone_cdev(namelist[n], tz_name,
324 free(namelist[n]);
326 free(namelist);
341 struct dirent **namelist;
362 n = scandir(cdev_name, &namelist, 0, alphasort);
373 free(namelist[n]);
374 free(namelist);
386 struct dirent **namelist;
394 n = scandir(THERMAL_SYSFS, &namelist, 0, alphasort);
402 if (strstr(namelist[n]->d_name, CDEV)) {
403 inst = get_instance_id(namelist[n]->d_name, 1,
412 namelist[n]->d_name,
416 } else if (strstr(namelist[n]->d_name, TZONE)) {
417 inst = get_instance_id(namelist[n]->d_name, 1,
423 namelist[n]->d_name,
428 free(namelist[n]);
430 free(namelist);