Lines Matching refs:srcpath
689 file_to_archive(struct cpio *cpio, const char *srcpath) in file_to_archive() argument
703 archive_entry_copy_sourcepath(entry, srcpath); in file_to_archive()
733 destpath = srcpath; in file_to_archive()
735 len = cpio->destdir_len + strlen(srcpath) + 8; in file_to_archive()
748 strcat(cpio->pass_destpath, remove_leading_slash(srcpath)); in file_to_archive()
784 const char *srcpath = archive_entry_sourcepath(entry); in entry_to_archive() local
815 archive_entry_set_hardlink(t, srcpath); in entry_to_archive()
841 fd = open(srcpath, O_RDONLY | O_BINARY); in entry_to_archive()
844 "%s: could not open file", srcpath); in entry_to_archive()
857 srcpath, in entry_to_archive()
882 fd = restore_time(cpio, entry, srcpath, fd); in entry_to_archive()