namelist 188 daemons/based/based_io.c struct dirent **namelist = NULL; namelist 220 daemons/based/based_io.c lpc = scandir(cib_root, &namelist, cib_archive_filter, cib_archive_sort); namelist 231 daemons/based/based_io.c filename = crm_strdup_printf("%s/%s", cib_root, namelist[lpc]->d_name); namelist 242 daemons/based/based_io.c free(namelist[lpc]); namelist 246 daemons/based/based_io.c free(namelist); namelist 387 lib/common/schemas.c struct dirent **namelist = NULL; namelist 389 lib/common/schemas.c max = scandir(dir, &namelist, schema_filter, schema_cmp_directory); namelist 399 lib/common/schemas.c if (!version_from_filename(namelist[lpc]->d_name, &version)) { namelist 402 lib/common/schemas.c namelist[lpc]->d_name); namelist 408 lib/common/schemas.c if (version_from_filename(namelist[lpc+1]->d_name, &next_version) namelist 420 lib/common/schemas.c free(namelist[lpc]); namelist 423 lib/common/schemas.c free(namelist); namelist 41 lib/fencing/st_rhcs.c struct dirent **namelist; namelist 42 lib/fencing/st_rhcs.c const int file_num = scandir(PCMK__FENCE_BINDIR, &namelist, 0, alphasort); namelist 55 lib/fencing/st_rhcs.c if (pcmk__starts_with(namelist[i]->d_name, RH_STONITH_PREFIX)) { namelist 58 lib/fencing/st_rhcs.c namelist[i]->d_name); namelist 66 lib/fencing/st_rhcs.c free(namelist[i]); namelist 72 lib/fencing/st_rhcs.c if (fstatat(dirfd, namelist[i]->d_name, &prop, 0) == 0 namelist 76 lib/fencing/st_rhcs.c namelist[i]->d_name); namelist 80 lib/fencing/st_rhcs.c free(namelist[i]); namelist 83 lib/fencing/st_rhcs.c free(namelist); namelist 386 lib/pacemaker/pcmk_simulate.c struct dirent **namelist; namelist 388 lib/pacemaker/pcmk_simulate.c int file_num = scandir(dir, &namelist, 0, alphasort); namelist 399 lib/pacemaker/pcmk_simulate.c if ('.' == namelist[file_num]->d_name[0]) { namelist 400 lib/pacemaker/pcmk_simulate.c free(namelist[file_num]); namelist 403 lib/pacemaker/pcmk_simulate.c } else if (!pcmk__ends_with_ext(namelist[file_num]->d_name, namelist 405 lib/pacemaker/pcmk_simulate.c free(namelist[file_num]); namelist 409 lib/pacemaker/pcmk_simulate.c dir, namelist[file_num]->d_name); namelist 413 lib/pacemaker/pcmk_simulate.c free(namelist[file_num]); namelist 415 lib/pacemaker/pcmk_simulate.c free(namelist); namelist 1406 lib/services/services_linux.c struct dirent **namelist; namelist 1410 lib/services/services_linux.c entries = scandir(root, &namelist, NULL, alphasort); namelist 1418 lib/services/services_linux.c if ('.' == namelist[lpc]->d_name[0]) { namelist 1419 lib/services/services_linux.c free(namelist[lpc]); namelist 1423 lib/services/services_linux.c snprintf(buffer, sizeof(buffer), "%s/%s", root, namelist[lpc]->d_name); namelist 1431 lib/services/services_linux.c free(namelist[lpc]); namelist 1437 lib/services/services_linux.c free(namelist[lpc]); namelist 1443 lib/services/services_linux.c free(namelist[lpc]); namelist 1448 lib/services/services_linux.c list = g_list_append(list, strdup(namelist[lpc]->d_name)); namelist 1450 lib/services/services_linux.c free(namelist[lpc]); namelist 1453 lib/services/services_linux.c free(namelist); namelist 278 maint/gnulib/lib/dirent.in.h (const char *dir, struct dirent ***namelist, namelist 286 maint/gnulib/lib/dirent.in.h (const char *dir, struct dirent ***namelist, namelist 98 maint/gnulib/lib/scandir.c DIRENT_TYPE ***namelist, namelist 105 maint/gnulib/lib/scandir.c DIRENT_TYPE ***namelist, namelist 189 maint/gnulib/lib/scandir.c *namelist = v;