Lines Matching defs:char
32 const char *input_name;
99 int mkdir_p(char *path, mode_t mode)
103 char *d = path;
125 static bool match_pat(char *file, const char **pat)
156 static int rm_rf_depth_pat(const char *path, int depth, const char **pat)
161 char namebuf[PATH_MAX];
211 static int rm_rf_a_kcore_dir(const char *path, const char *name)
213 char kcore_dir_path[PATH_MAX];
214 const char *pat[] = {
226 static bool kcore_dir_filter(const char *name __maybe_unused, struct dirent *d)
228 const char *pat[] = {
237 static int rm_rf_kcore_dir(const char *path)
259 void cpumask_to_cpulist(char *cpumask, char *cpulist)
264 char cpus[MAX_NR_CPUS];
284 char blk[17];
301 void print_separator2(int pre_dash_cnt, const char *s, int post_dash_cnt)
307 int rm_rf_perf_data(const char *path)
309 const char *pat[] = {
320 int rm_rf(const char *path)
326 bool lsdir_no_dot_filter(const char *name __maybe_unused, struct dirent *d)
332 struct strlist *lsdir(const char *name,
333 bool (*filter)(const char *, struct dirent *))
392 int perf_tip(char **strp, const char *dirpath)
420 char *perf_exe(char *buf, int len)
454 char *filename_with_chroot(int pid, const char *filename)
456 char buf[PATH_MAX];
457 char proc_root[32];
458 char *new_name = NULL;
531 int scandirat(int dirfd, const char *dirp,
536 char path[PATH_MAX];
550 const char *perf_basename(const char *path)
552 const char *base = strrchr(path, '/');