| /OK3568_Linux_fs/kernel/tools/testing/selftests/filesystems/incfs/ |
| H A D | incfs_stress.c | 183 int test_files(int src_dir, int dst_dir, struct options const *options) in test_files() argument 186 int cmd_file = openat(dst_dir, INCFS_PENDING_READS_FILENAME, in test_files() 226 .dir_fd = dst_dir, in test_files() 245 err = write_data(cmd_file, dst_dir, name, size); in test_files() 264 const char *dst_dir = "dst"; in main() local 278 err = remove_dir(src_dir) || remove_dir(dst_dir); in main() 289 err = mkdir(dst_dir, 0700); in main() 296 err = mount_fs(dst_dir, src_dir, options.timeout); in main() 303 dst_dir_fd = open(dst_dir, O_RDONLY | O_CLOEXEC); in main() 316 umount(dst_dir); in main() [all …]
|
| H A D | incfs_perf.c | 545 int test_incfs_file(int dst_dir, const struct options *options, int flags) in test_incfs_file() argument 547 int cmd_file = openat(dst_dir, INCFS_PENDING_READS_FILENAME, in test_incfs_file() 580 err = load_hash_tree(cmd_file, dst_dir, name, mtree, in test_incfs_file() 592 if (write_data(cmd_file, dst_dir, name, options->size, flags)) in test_incfs_file() 600 err = measure_read_throughput(tag, dst_dir, name, options); in test_incfs_file() 627 const char *dst_dir = "dst"; in main() local 645 while (!umount(dst_dir)) in main() 649 remove_dir(dst_dir); in main() 667 err = mkdir(dst_dir, 0700); in main() 674 err = mount_fs_opt(dst_dir, src_dir, "readahead=0,rlog_pages=0", 0); in main() [all …]
|
| /OK3568_Linux_fs/buildroot/support/scripts/ |
| H A D | hardlink-or-copy | 20 local dst_dir="${2}" 24 dst_file="${dst_dir}/${dst_file}" 26 dst_file="${dst_dir}/${src_file##*/}" 29 mkdir -p "${dst_dir}"
|
| /OK3568_Linux_fs/kernel/fs/hfs/ |
| H A D | catalog.c | 289 struct inode *dst_dir, const struct qstr *dst_name) in hfs_cat_move() argument 299 dst_dir->i_ino, dst_name->name); in hfs_cat_move() 328 hfs_cat_build_key(sb, dst_fd.search_key, dst_dir->i_ino, dst_name); in hfs_cat_move() 339 dst_dir->i_size++; in hfs_cat_move() 340 dst_dir->i_mtime = dst_dir->i_ctime = current_time(dst_dir); in hfs_cat_move() 341 mark_inode_dirty(dst_dir); in hfs_cat_move() 371 dst_dir->i_ino, dst_name); in hfs_cat_move()
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/utils/ |
| H A D | package_manager.py | 121 dst_dir = os.path.join(extracted_path, pkg) 124 if os.path.exists(dst_dir): 129 oe.path.copytree(pkg_dir, dst_dir) 159 dst_dir = d.getVar('TEST_PACKAGED_DIR') 163 shutil.copy2(file_path, dst_dir)
|
| /OK3568_Linux_fs/kernel/fs/hfsplus/ |
| H A D | catalog.c | 436 struct inode *dst_dir, const struct qstr *dst_name) in hfsplus_rename_cat() argument 446 dst_dir->i_ino, dst_name->name); in hfsplus_rename_cat() 480 dst_dir->i_ino, dst_name); in hfsplus_rename_cat() 494 dst_dir->i_size++; in hfsplus_rename_cat() 496 hfsplus_subfolders_inc(dst_dir); in hfsplus_rename_cat() 497 dst_dir->i_mtime = dst_dir->i_ctime = current_time(dst_dir); in hfsplus_rename_cat() 529 dst_dir->i_ino, dst_name); in hfsplus_rename_cat() 543 hfsplus_mark_inode_dirty(dst_dir, HFSPLUS_I_CAT_DIRTY); in hfsplus_rename_cat()
|
| H A D | dir.c | 300 static int hfsplus_link(struct dentry *src_dentry, struct inode *dst_dir, in hfsplus_link() argument 303 struct hfsplus_sb_info *sbi = HFSPLUS_SB(dst_dir->i_sb); in hfsplus_link() 342 res = hfsplus_create_cat(cnid, dst_dir, &dst_dentry->d_name, inode); in hfsplus_link() 352 hfsplus_mark_mdb_dirty(dst_dir->i_sb); in hfsplus_link()
|
| H A D | hfsplus_fs.h | 460 struct inode *dst_dir, const struct qstr *dst_name);
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oe/package_manager/deb/ |
| H A D | sdk.py | 42 def _copy_apt_dir_to(self, dst_dir): argument 45 self.remove(dst_dir, True) 47 shutil.copytree(os.path.join(staging_etcdir_native, "apt"), dst_dir)
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/ |
| H A D | oetest.py | 447 dst_dir = os.path.join(extracted_path, pkg) 449 dst_dir = os.path.join(packaged_path) 457 if os.path.exists(dst_dir): 459 oe.path.copytree(pkg_dir, dst_dir) 526 dst_dir = self.d.getVar("TEST_PACKAGED_DIR") 530 shutil.copy2(file_path, dst_dir)
|