Searched refs:pid_dir (Results 1 – 2 of 2) sorted by relevance
68 struct dirent *pid_dir; in dump_proc_data() local74 while ((pid_dir = readdir(proc_dir))) { in dump_proc_data()78 if (!isdigit(pid_dir->d_name[0])) continue; in dump_proc_data()79 sscanf(pid_dir->d_name, "%d", &pid); in dump_proc_data()
398 struct dirent *pid_dir, *t_dir; in read_procs() local409 while ((pid_dir = readdir(proc_dir))) { in read_procs()410 if (!isdigit(pid_dir->d_name[0])) continue; in read_procs()412 pid = atoi(pid_dir->d_name); in read_procs()