namelist 195 cib/io.c struct dirent **namelist = NULL; namelist 223 cib/io.c lpc = scandir(cib_root, &namelist, cib_archive_filter, cib_archive_sort); namelist 234 cib/io.c filename = crm_strdup_printf("%s/%s", cib_root, namelist[lpc]->d_name); namelist 245 cib/io.c free(namelist[lpc]); namelist 249 cib/io.c free(namelist); namelist 277 lib/common/schemas.c struct dirent **namelist = NULL; namelist 280 lib/common/schemas.c max = scandir(base, &namelist, schema_filter, schema_sort); namelist 300 lib/common/schemas.c if (!version_from_filename(namelist[lpc]->d_name, &version)) { namelist 303 lib/common/schemas.c namelist[lpc]->d_name); namelist 304 lib/common/schemas.c free(namelist[lpc]); namelist 310 lib/common/schemas.c if (version_from_filename(namelist[lpc+1]->d_name, &next_version) namelist 334 lib/common/schemas.c free(namelist[lpc]); namelist 348 lib/common/schemas.c free(namelist); namelist 1165 lib/fencing/st_client.c struct dirent **namelist; namelist 1166 lib/fencing/st_client.c int file_num = scandir(RH_STONITH_DIR, &namelist, 0, alphasort); namelist 1173 lib/fencing/st_client.c if ('.' == namelist[file_num]->d_name[0]) { namelist 1174 lib/fencing/st_client.c free(namelist[file_num]); namelist 1177 lib/fencing/st_client.c } else if (!crm_starts_with(namelist[file_num]->d_name, namelist 1179 lib/fencing/st_client.c free(namelist[file_num]); namelist 1183 lib/fencing/st_client.c snprintf(buffer, FILENAME_MAX, "%s/%s", RH_STONITH_DIR, namelist[file_num]->d_name); namelist 1185 lib/fencing/st_client.c *devices = stonith_key_value_add(*devices, NULL, namelist[file_num]->d_name); namelist 1189 lib/fencing/st_client.c free(namelist[file_num]); namelist 1191 lib/fencing/st_client.c free(namelist); namelist 812 lib/services/services_linux.c struct dirent **namelist; namelist 816 lib/services/services_linux.c entries = scandir(root, &namelist, NULL, alphasort); namelist 824 lib/services/services_linux.c if ('.' == namelist[lpc]->d_name[0]) { namelist 825 lib/services/services_linux.c free(namelist[lpc]); namelist 829 lib/services/services_linux.c snprintf(buffer, sizeof(buffer), "%s/%s", root, namelist[lpc]->d_name); namelist 837 lib/services/services_linux.c free(namelist[lpc]); namelist 843 lib/services/services_linux.c free(namelist[lpc]); namelist 849 lib/services/services_linux.c free(namelist[lpc]); namelist 854 lib/services/services_linux.c list = g_list_append(list, strdup(namelist[lpc]->d_name)); namelist 856 lib/services/services_linux.c free(namelist[lpc]); namelist 859 lib/services/services_linux.c free(namelist); namelist 554 tools/crm_simulate.c struct dirent **namelist; namelist 557 tools/crm_simulate.c int file_num = scandir(dir, &namelist, 0, alphasort); namelist 564 tools/crm_simulate.c if ('.' == namelist[file_num]->d_name[0]) { namelist 565 tools/crm_simulate.c free(namelist[file_num]); namelist 568 tools/crm_simulate.c } else if (!crm_ends_with_ext(namelist[file_num]->d_name, ".xml")) { namelist 569 tools/crm_simulate.c free(namelist[file_num]); namelist 574 tools/crm_simulate.c snprintf(buffer, sizeof(buffer), "%s/%s", dir, namelist[file_num]->d_name); namelist 578 tools/crm_simulate.c free(namelist[file_num]); namelist 580 tools/crm_simulate.c free(namelist);