Searched refs:dst_fd (Results 1 – 8 of 8) sorted by relevance
/linux/tools/testing/selftests/kvm/x86_64/ |
A D | sev_migrate_tests.c | 72 static int __sev_migrate_from(int dst_fd, int src_fd) in __sev_migrate_from() argument 79 return ioctl(dst_fd, KVM_ENABLE_CAP, &cap); in __sev_migrate_from() 83 static void sev_migrate_from(int dst_fd, int src_fd) in sev_migrate_from() argument 87 ret = __sev_migrate_from(dst_fd, src_fd); in sev_migrate_from() 209 static int __sev_mirror_create(int dst_fd, int src_fd) in __sev_mirror_create() argument 216 return ioctl(dst_fd, KVM_ENABLE_CAP, &cap); in __sev_mirror_create() 220 static void sev_mirror_create(int dst_fd, int src_fd) in sev_mirror_create() argument 224 ret = __sev_mirror_create(dst_fd, src_fd); in sev_mirror_create()
|
/linux/fs/hfs/ |
A D | catalog.c | 292 struct hfs_find_data src_fd, dst_fd; in hfs_cat_move() local 304 dst_fd = src_fd; in hfs_cat_move() 328 hfs_cat_build_key(sb, dst_fd.search_key, dst_dir->i_ino, dst_name); in hfs_cat_move() 329 err = hfs_brec_find(&dst_fd); in hfs_cat_move() 336 err = hfs_brec_insert(&dst_fd, &entry, src_fd.entrylength); in hfs_cat_move() 369 hfs_cat_build_key(sb, dst_fd.search_key, cnid, NULL); in hfs_cat_move() 372 err = hfs_brec_find(&dst_fd); in hfs_cat_move() 378 err = hfs_brec_insert(&dst_fd, &entry, entry_size); in hfs_cat_move() 380 hfs_bnode_put(dst_fd.bnode); in hfs_cat_move()
|
/linux/fs/hfsplus/ |
A D | catalog.c | 439 struct hfs_find_data src_fd, dst_fd; in hfsplus_rename_cat() local 450 dst_fd = src_fd; in hfsplus_rename_cat() 479 err = hfsplus_cat_build_key(sb, dst_fd.search_key, in hfsplus_rename_cat() 484 err = hfs_brec_find(&dst_fd, hfs_find_rec_by_key); in hfsplus_rename_cat() 491 err = hfs_brec_insert(&dst_fd, &entry, src_fd.entrylength); in hfsplus_rename_cat() 527 hfsplus_cat_build_key_with_cnid(sb, dst_fd.search_key, cnid); in hfsplus_rename_cat() 535 err = hfs_brec_find(&dst_fd, hfs_find_rec_by_key); in hfsplus_rename_cat() 541 err = hfs_brec_insert(&dst_fd, &entry, entry_size); in hfsplus_rename_cat() 546 hfs_bnode_put(dst_fd.bnode); in hfsplus_rename_cat()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | sockmap_basic.c | 56 int err, duration = 0, src_fd, dst_fd; in compare_cookies() local 59 dst_fd = bpf_map__fd(dst); in compare_cookies() 66 err = bpf_map_lookup_elem(dst_fd, &i, &dst_cookie); in compare_cookies() 75 err = bpf_map_lookup_elem(dst_fd, &i, &dst_cookie); in compare_cookies()
|
/linux/fs/ |
A D | remap_range.c | 539 struct fd dst_fd = fdget(info->dest_fd); in vfs_dedupe_file_range() local 540 struct file *dst_file = dst_fd.file; in vfs_dedupe_file_range() 563 fdput(dst_fd); in vfs_dedupe_file_range()
|
/linux/include/uapi/linux/ |
A D | f2fs.h | 76 __u32 dst_fd; /* destination fd */ member
|
/linux/tools/testing/selftests/landlock/ |
A D | fs_test.c | 1500 int dst_fd, src_fd; in copy_binary() local 1503 dst_fd = open(dst_path, O_WRONLY | O_TRUNC | O_CLOEXEC); in copy_binary() 1504 ASSERT_LE(0, dst_fd) { in copy_binary() 1514 ASSERT_EQ(statbuf.st_size, sendfile(dst_fd, src_fd, 0, in copy_binary() 1517 ASSERT_EQ(0, close(dst_fd)); in copy_binary()
|
/linux/fs/f2fs/ |
A D | file.c | 2859 dst = fdget(range->dst_fd); in __f2fs_ioc_move_range() 4406 u32 dst_fd; member 4421 err = get_user(range.dst_fd, &urange->dst_fd); in f2fs_compat_ioc_move_range()
|
Completed in 54 milliseconds