Lines Matching refs:modulesdir
336 char *modulesdir[] = { NULL, NULL }; in dwfl_linux_kernel_report_offline() local
338 modulesdir[0] = (char *) release; in dwfl_linux_kernel_report_offline()
341 if (asprintf (&modulesdir[0], MODULEDIRFMT, release) < 0) in dwfl_linux_kernel_report_offline()
345 FTS *fts = fts_open (modulesdir, FTS_NOSTAT | FTS_LOGICAL, NULL); in dwfl_linux_kernel_report_offline()
346 if (modulesdir[0] == (char *) release) in dwfl_linux_kernel_report_offline()
347 modulesdir[0] = NULL; in dwfl_linux_kernel_report_offline()
350 free (modulesdir[0]); in dwfl_linux_kernel_report_offline()
427 free (modulesdir[0]); in dwfl_linux_kernel_report_offline()
678 char *modulesdir[] = { NULL, NULL }; in INTDEF() local
679 if (asprintf (&modulesdir[0], MODULEDIRFMT, release) < 0) in INTDEF()
682 FTS *fts = fts_open (modulesdir, FTS_NOSTAT | FTS_LOGICAL, NULL); in INTDEF()
685 free (modulesdir[0]); in INTDEF()
751 free (modulesdir[0]); in INTDEF()
776 free (modulesdir[0]); in INTDEF()