Lines Matching refs:dir
32 close_dir(data->dir.files, data->dir.nr); in perf_data__close_dir()
61 data->dir.version = PERF_DIR_VERSION; in perf_data__create_dir()
62 data->dir.files = files; in perf_data__create_dir()
63 data->dir.nr = nr; in perf_data__create_dir()
76 DIR *dir; in perf_data__open_dir() local
83 if (WARN_ON(data->dir.version != PERF_DIR_VERSION)) in perf_data__open_dir()
86 dir = opendir(data->path); in perf_data__open_dir()
87 if (!dir) in perf_data__open_dir()
90 while ((dent = readdir(dir)) != NULL) { in perf_data__open_dir()
123 closedir(dir); in perf_data__open_dir()
127 data->dir.files = files; in perf_data__open_dir()
128 data->dir.nr = nr; in perf_data__open_dir()
132 closedir(dir); in perf_data__open_dir()
144 for (i = 0; i < data->dir.nr; i++) { in perf_data__update_dir()
145 struct perf_data_file *file = &data->dir.files[i]; in perf_data__update_dir()
414 for (i = 0; i < data->dir.nr; i++) { in perf_data__size()
415 struct perf_data_file *file = &data->dir.files[i]; in perf_data__size()