namelist 157 daemons/based/based_io.c struct dirent **namelist = NULL; namelist 187 daemons/based/based_io.c lpc = scandir(cib_root, &namelist, cib_archive_filter, cib_archive_sort); namelist 199 daemons/based/based_io.c filename = crm_strdup_printf("%s/%s", cib_root, namelist[lpc]->d_name); namelist 212 daemons/based/based_io.c free(namelist[lpc]); namelist 216 daemons/based/based_io.c free(namelist); namelist 400 lib/common/schemas.c struct dirent **namelist = NULL; namelist 402 lib/common/schemas.c int num_matches = scandir(dir, &namelist, transform_filter, namelist 418 lib/common/schemas.c if (sscanf(namelist[i]->d_name, "upgrade-%hhu.%hhu-%hhu.xsl", namelist 433 lib/common/schemas.c list = g_list_append(list, namelist[i]); namelist 437 lib/common/schemas.c list = g_list_append(list, namelist[i]); namelist 443 lib/common/schemas.c free(namelist[i]); namelist 448 lib/common/schemas.c free(namelist); namelist 456 lib/common/schemas.c struct dirent **namelist = NULL; namelist 459 lib/common/schemas.c max = scandir(dir, &namelist, schema_filter, schema_cmp_directory); namelist 473 lib/common/schemas.c if (version_from_filename(namelist[lpc]->d_name, &version)) { namelist 496 lib/common/schemas.c namelist[lpc]->d_name); namelist 501 lib/common/schemas.c free(namelist[lpc]); namelist 505 lib/common/schemas.c free(namelist); namelist 71 lib/fencing/st_rhcs.c struct dirent **namelist = NULL; namelist 72 lib/fencing/st_rhcs.c const int file_num = scandir(PCMK__FENCE_BINDIR, &namelist, namelist 79 lib/fencing/st_rhcs.c free(namelist); namelist 84 lib/fencing/st_rhcs.c *devices = stonith__key_value_add(*devices, NULL, namelist[i]->d_name); namelist 85 lib/fencing/st_rhcs.c free(namelist[i]); namelist 87 lib/fencing/st_rhcs.c free(namelist); namelist 428 lib/pacemaker/pcmk_simulate.c struct dirent **namelist = NULL; namelist 449 lib/pacemaker/pcmk_simulate.c num_files = scandir(dir, &namelist, profile_filter, alphasort); namelist 464 lib/pacemaker/pcmk_simulate.c char *path = crm_strdup_printf("%s/%s", dir, namelist[i]->d_name); namelist 468 lib/pacemaker/pcmk_simulate.c free(namelist[i]); namelist 474 lib/pacemaker/pcmk_simulate.c free(namelist); namelist 1405 lib/services/services_linux.c struct dirent **namelist = NULL; namelist 1409 lib/services/services_linux.c entries = scandir(root, &namelist, NULL, alphasort); namelist 1417 lib/services/services_linux.c if ('.' == namelist[lpc]->d_name[0]) { namelist 1418 lib/services/services_linux.c free(namelist[lpc]); namelist 1422 lib/services/services_linux.c snprintf(buffer, sizeof(buffer), "%s/%s", root, namelist[lpc]->d_name); namelist 1430 lib/services/services_linux.c free(namelist[lpc]); namelist 1436 lib/services/services_linux.c free(namelist[lpc]); namelist 1442 lib/services/services_linux.c free(namelist[lpc]); namelist 1447 lib/services/services_linux.c list = g_list_append(list, strdup(namelist[lpc]->d_name)); namelist 1449 lib/services/services_linux.c free(namelist[lpc]); namelist 1452 lib/services/services_linux.c free(namelist);