Lines Matching refs:dirent
95 struct dirent dirent; member
115 return strcmp(a->dirent.d_name, b->dirent.d_name); in compare_pstore_entries()
128 ifd_path = path_join(arg_sourcedir, pe->dirent.d_name); in move_file()
132 ofd_path = path_join(arg_archivedir, subdir, pe->dirent.d_name); in move_file()
138 message = strjoina("MESSAGE=PStore ", pe->dirent.d_name, suffix); in move_file()
226 if (!startswith(pe->dirent.d_name, "dmesg-")) in process_dmesg_files()
229 if (endswith(pe->dirent.d_name, ".enc.z")) /* indicates a problem */ in process_dmesg_files()
231 p = strrchr(pe->dirent.d_name, '-'); in process_dmesg_files()
304 size_t needed = strlen(pe->dirent.d_name) + strlen(":\n") + pe->content_size + 1; in process_dmesg_files()
311 dmesg_size += sprintf(dmesg + dmesg_size, "%s:\n", pe->dirent.d_name); in process_dmesg_files()
353 .dirent = *de, in list_files()