Home
last modified time | relevance | path

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

/linux/tools/objtool/
H A Dbuiltin-check.c216 int dst_fd, src_fd; in copy_file()
226 dst_fd = open(dst, O_WRONLY | O_CREAT | O_TRUNC, 0400); in copy_file()
227 if (dst_fd == -1) { in copy_file()
237 if (fchmod(dst_fd, stat.st_mode) == -1) { in save_argv()
243 copied = sendfile(dst_fd, src_fd, &offset, to_copy); in save_argv()
250 close(dst_fd); in print_args()
193 int dst_fd, src_fd; copy_file() local
/linux/io_uring/
H A Dmsg_ring.c29 u32 dst_fd; member
140 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()
291 msg->dst_fd = READ_ONCE(sqe->file_index); in __io_msg_ring_prep()
/linux/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/include/uapi/linux/
H A Df2fs.h85 __u32 dst_fd; /* destination fd */ member
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_basic.c73 int err, src_fd, dst_fd; in compare_cookies() local
76 dst_fd = bpf_map__fd(dst); in compare_cookies()
83 err = bpf_map_lookup_elem(dst_fd, &i, &dst_cookie); in compare_cookies()
91 err = bpf_map_lookup_elem(dst_fd, &i, &dst_cookie); in compare_cookies()
/linux/tools/testing/selftests/landlock/
H A Dfs_test.c1923 int dst_fd, src_fd; in test_relative_path()
1926 dst_fd = open(dst_path, O_WRONLY | O_TRUNC | O_CLOEXEC); in test_relative_path()
1927 ASSERT_LE(0, dst_fd) in test_relative_path()
1938 sendfile(dst_fd, src_fd, 0, statbuf.st_size)); in test_relative_path()
1940 ASSERT_EQ(0, close(dst_fd)); in test_relative_path()
2022 int dst_fd, src_fd; copy_file() local