namelist 183 daemons/based/based_io.c struct dirent **namelist = NULL; namelist 215 daemons/based/based_io.c lpc = scandir(cib_root, &namelist, cib_archive_filter, cib_archive_sort); namelist 226 daemons/based/based_io.c filename = crm_strdup_printf("%s/%s", cib_root, namelist[lpc]->d_name); namelist 237 daemons/based/based_io.c free(namelist[lpc]); namelist 241 daemons/based/based_io.c free(namelist); namelist 383 lib/common/schemas.c struct dirent **namelist = NULL; namelist 388 lib/common/schemas.c max = scandir(base, &namelist, schema_filter, schema_sort); namelist 400 lib/common/schemas.c if (!version_from_filename(namelist[lpc]->d_name, &version)) { namelist 403 lib/common/schemas.c namelist[lpc]->d_name); namelist 409 lib/common/schemas.c if (version_from_filename(namelist[lpc+1]->d_name, &next_version) namelist 424 lib/common/schemas.c free(namelist[lpc]); namelist 426 lib/common/schemas.c free(namelist); namelist 38 lib/fencing/st_rhcs.c struct dirent **namelist; namelist 39 lib/fencing/st_rhcs.c const int file_num = scandir(PCMK__FENCE_BINDIR, &namelist, 0, alphasort); namelist 52 lib/fencing/st_rhcs.c if (pcmk__starts_with(namelist[i]->d_name, RH_STONITH_PREFIX)) { namelist 55 lib/fencing/st_rhcs.c namelist[i]->d_name); namelist 63 lib/fencing/st_rhcs.c free(namelist[i]); namelist 69 lib/fencing/st_rhcs.c if (fstatat(dirfd, namelist[i]->d_name, &prop, 0) == 0 namelist 73 lib/fencing/st_rhcs.c namelist[i]->d_name); namelist 77 lib/fencing/st_rhcs.c free(namelist[i]); namelist 80 lib/fencing/st_rhcs.c free(namelist); namelist 1084 lib/services/services_linux.c struct dirent **namelist; namelist 1088 lib/services/services_linux.c entries = scandir(root, &namelist, NULL, alphasort); namelist 1096 lib/services/services_linux.c if ('.' == namelist[lpc]->d_name[0]) { namelist 1097 lib/services/services_linux.c free(namelist[lpc]); namelist 1101 lib/services/services_linux.c snprintf(buffer, sizeof(buffer), "%s/%s", root, namelist[lpc]->d_name); namelist 1109 lib/services/services_linux.c free(namelist[lpc]); namelist 1115 lib/services/services_linux.c free(namelist[lpc]); namelist 1121 lib/services/services_linux.c free(namelist[lpc]); namelist 1126 lib/services/services_linux.c list = g_list_append(list, strdup(namelist[lpc]->d_name)); namelist 1128 lib/services/services_linux.c free(namelist[lpc]); namelist 1131 lib/services/services_linux.c free(namelist); namelist 737 tools/crm_simulate.c struct dirent **namelist; namelist 739 tools/crm_simulate.c int file_num = scandir(dir, &namelist, 0, alphasort); namelist 748 tools/crm_simulate.c if ('.' == namelist[file_num]->d_name[0]) { namelist 749 tools/crm_simulate.c free(namelist[file_num]); namelist 752 tools/crm_simulate.c } else if (!pcmk__ends_with_ext(namelist[file_num]->d_name, namelist 754 tools/crm_simulate.c free(namelist[file_num]); namelist 757 tools/crm_simulate.c snprintf(buffer, sizeof(buffer), "%s/%s", dir, namelist[file_num]->d_name); namelist 761 tools/crm_simulate.c free(namelist[file_num]); namelist 763 tools/crm_simulate.c free(namelist);