Home
last modified time | relevance | path

Searched refs:dst_fd (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/tools/objtool/
H A Dbuiltin-check.c191 int dst_fd, src_fd; in copy_file() local
201 dst_fd = open(dst, O_WRONLY | O_CREAT | O_TRUNC, 0400); in copy_file()
202 if (dst_fd == -1) { in copy_file()
212 if (fchmod(dst_fd, stat.st_mode) == -1) { in copy_file()
218 copied = sendfile(dst_fd, src_fd, &offset, to_copy); in copy_file()
225 close(dst_fd); in copy_file()
/linux-6.15/fs/hfs/
H A Dcatalog.c292 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-6.15/fs/hfsplus/
H A Dcatalog.c439 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-6.15/io_uring/
H A Dmsg_ring.c30 u32 dst_fd; member
145 if (!(msg->flags & IORING_MSG_RING_FLAGS_PASS) && msg->dst_fd) in __io_msg_ring_data()
206 ret = __io_fixed_fd_install(target_ctx, src_file, msg->dst_fd); in io_msg_install_complete()
290 msg->dst_fd = READ_ONCE(sqe->file_index); in __io_msg_ring_prep()
/linux-6.15/fs/
H A Dremap_range.c539 CLASS(fd, dst_fd)(info->dest_fd); in vfs_dedupe_file_range()
541 if (fd_empty(dst_fd)) { in vfs_dedupe_file_range()
551 deduped = vfs_dedupe_file_range_one(file, off, fd_file(dst_fd), in vfs_dedupe_file_range()
/linux-6.15/include/uapi/linux/
H A Df2fs.h85 __u32 dst_fd; /* destination fd */ member
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_basic.c63 int err, src_fd, dst_fd; in compare_cookies() local
66 dst_fd = bpf_map__fd(dst); in compare_cookies()
73 err = bpf_map_lookup_elem(dst_fd, &i, &dst_cookie); in compare_cookies()
81 err = bpf_map_lookup_elem(dst_fd, &i, &dst_cookie); in compare_cookies()
/linux-6.15/tools/testing/selftests/landlock/
H A Dfs_test.c1982 int dst_fd, src_fd; in copy_file() local
1985 dst_fd = open(dst_path, O_WRONLY | O_TRUNC | O_CLOEXEC); in copy_file()
1986 ASSERT_LE(0, dst_fd) in copy_file()
1997 sendfile(dst_fd, src_fd, 0, statbuf.st_size)); in copy_file()
1999 ASSERT_EQ(0, close(dst_fd)); in copy_file()
/linux-6.15/fs/f2fs/
H A Dfile.c3157 CLASS(fd, dst)(range->dst_fd); in __f2fs_ioc_move_range()
5269 u32 dst_fd; member
5284 err = get_user(range.dst_fd, &urange->dst_fd); in f2fs_compat_ioc_move_range()