/kernel/linux/linux-5.10/fs/hfs/ |
H 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()
|
/kernel/linux/linux-6.6/fs/hfs/ |
H 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()
|
/kernel/linux/linux-5.10/fs/hfsplus/ |
H 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()
|
/kernel/linux/linux-6.6/fs/hfsplus/ |
H 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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_basic.c | 55 int err, duration = 0, src_fd, dst_fd; in compare_cookies() local 58 dst_fd = bpf_map__fd(dst); in compare_cookies() 65 err = bpf_map_lookup_elem(dst_fd, &i, &dst_cookie); in compare_cookies() 74 err = bpf_map_lookup_elem(dst_fd, &i, &dst_cookie); in compare_cookies()
|
/kernel/linux/linux-6.6/io_uring/ |
H A D | msg_ring.c | 30 u32 dst_fd; member 135 if (!(msg->flags & IORING_MSG_RING_FLAGS_PASS) && msg->dst_fd) in io_msg_ring_data() 188 ret = __io_fixed_fd_install(target_ctx, src_file, msg->dst_fd); in io_msg_install_complete() 261 msg->dst_fd = READ_ONCE(sqe->file_index); in io_msg_ring_prep()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_basic.c | 62 int err, src_fd, dst_fd; in compare_cookies() local 65 dst_fd = bpf_map__fd(dst); in compare_cookies() 72 err = bpf_map_lookup_elem(dst_fd, &i, &dst_cookie); in compare_cookies() 80 err = bpf_map_lookup_elem(dst_fd, &i, &dst_cookie); in compare_cookies()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | f2fs.h | 70 __u32 dst_fd; /* destination fd */ member 72 __u64 pos_out; /* start position in dst_fd */
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | f2fs.h | 77 __u32 dst_fd; /* destination fd */ member 79 __u64 pos_out; /* start position in dst_fd */
|
/kernel/linux/linux-5.10/fs/ |
H A D | remap_range.c | 541 struct fd dst_fd = fdget(info->dest_fd); in vfs_dedupe_file_range() local 542 struct file *dst_file = dst_fd.file; in vfs_dedupe_file_range() 565 fdput(dst_fd); in vfs_dedupe_file_range()
|
/kernel/linux/linux-6.6/fs/ |
H A D | remap_range.c | 541 struct fd dst_fd = fdget(info->dest_fd); in vfs_dedupe_file_range() local 542 struct file *dst_file = dst_fd.file; in vfs_dedupe_file_range() 565 fdput(dst_fd); in vfs_dedupe_file_range()
|
/kernel/liteos_a/fs/vfs/vfs_cmd/ |
H A D | vfs_shellcmd.c | 594 int dst_fd = -1; in os_shell_cmd_do_cp() local 688 dst_fd = open(dst_fullpath, O_CREAT | O_WRONLY | O_TRUNC, src_mode); in os_shell_cmd_do_cp() 689 if (dst_fd < 0) { in os_shell_cmd_do_cp() 701 w_size = write(dst_fd, buf, r_size); in os_shell_cmd_do_cp() 714 (void)close(dst_fd); in os_shell_cmd_do_cp() 719 (void)close(dst_fd); in os_shell_cmd_do_cp()
|
/kernel/linux/linux-6.6/tools/testing/selftests/landlock/ |
H A D | fs_test.c | 1821 int dst_fd, src_fd; in copy_binary() local 1824 dst_fd = open(dst_path, O_WRONLY | O_TRUNC | O_CLOEXEC); in copy_binary() 1825 ASSERT_LE(0, dst_fd) in copy_binary() 1837 sendfile(dst_fd, src_fd, 0, statbuf.st_size)); in copy_binary() 1839 ASSERT_EQ(0, close(dst_fd)); in copy_binary()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
H A D | file.c | 2909 dst = fdget(range->dst_fd); in __f2fs_ioc_move_range() 4254 u32 dst_fd; member 4269 err = get_user(range.dst_fd, &urange->dst_fd); in f2fs_compat_ioc_move_range()
|
/kernel/linux/linux-6.6/fs/f2fs/ |
H A D | file.c | 2912 dst = fdget(range->dst_fd); in __f2fs_ioc_move_range() 4929 u32 dst_fd; member 4944 err = get_user(range.dst_fd, &urange->dst_fd); in f2fs_compat_ioc_move_range()
|