| /freebsd/tests/sys/capsicum/ |
| H A D | copy_file_range.cc | 77 off_t off_in = 0, off_out = 0; in TEST_F() local 80 EXPECT_NOTCAPABLE(copy_file_range(fd_in, &off_in, fd_out, NULL, 8, 0)); in TEST_F() 82 EXPECT_NOTCAPABLE(copy_file_range(fd_in, &off_in, fd_out, &off_out, 8, 0)); in TEST_F() 83 off_in = 20; in TEST_F() 85 EXPECT_NOTCAPABLE(copy_file_range(fd_in, &off_in, fd_out, NULL, 8, 0)); in TEST_F() 87 EXPECT_NOTCAPABLE(copy_file_range(fd_in, &off_in, fd_out, &off_out, 8, 0)); in TEST_F() 100 off_t off_in = 0, off_out = 0; in TEST_F() local 103 EXPECT_NOTCAPABLE(copy_file_range(fd_in, &off_in, fd_out, NULL, 8, 0)); in TEST_F() 105 EXPECT_NOTCAPABLE(copy_file_range(fd_in, &off_in, fd_out, &off_out, 8, 0)); in TEST_F() 106 off_in = 20; in TEST_F() [all …]
|
| /freebsd/sys/netlink/ |
| H A D | netlink_snl_route_parsers.h | 77 { .off_in = _IN(rtnh_flags), .off_out = _OUT(rtnh_flags), .cb = snl_field_get_uint8 }, 78 { .off_in = _IN(rtnh_hops), .off_out = _OUT(rtnh_weight), .cb = snl_field_get_uint8 }, 79 { .off_in = _IN(rtnh_ifindex), .off_out = _OUT(ifindex), .cb = snl_field_get_uint32 }, 157 {.off_in = _IN(rtm_family), .off_out = _OUT(rtm_family), .cb = snl_field_get_uint8 }, 158 {.off_in = _IN(rtm_type), .off_out = _OUT(rtm_type), .cb = snl_field_get_uint8 }, 159 {.off_in = _IN(rtm_protocol), .off_out = _OUT(rtm_protocol), .cb = snl_field_get_uint8 }, 160 {.off_in = _IN(rtm_dst_len), .off_out = _OUT(rtm_dst_len), .cb = snl_field_get_uint8 }, 218 {.off_in = _IN(ifi_index), .off_out = _OUT(ifi_index), .cb = snl_field_get_uint32 }, 219 {.off_in = _IN(ifi_flags), .off_out = _OUT(ifi_flags), .cb = snl_field_get_uint32 }, 220 {.off_in = _IN(ifi_change), .off_out = _OUT(ifi_change), .cb = snl_field_get_uint32 }, [all …]
|
| H A D | netlink_message_parser.h | 88 uint16_t off_in; member 246 void *src = (char *)hdr + fp->off_in; in nl_parse_header()
|
| H A D | netlink_snl.h | 131 uint16_t off_in; member 493 void *src = (char *)hdr + fp->off_in; in snl_parse_fields() 959 { .off_in = _IN(error), .off_out = _OUT(error), .cb = snl_field_get_uint32 }, 960 { .off_in = _IN(msg), .off_out = _OUT(orig_hdr), .cb = snl_field_get_ptr }, 969 { .off_in = _IN(error), .off_out = _OUT(error), .cb = snl_field_get_uint32 },
|
| H A D | netlink_generic.c | 250 { .off_in = _IN(version), .off_out = _OUT(version), .cb = nlf_get_u8 },
|
| /freebsd/tests/sys/fs/fusefs/ |
| H A D | copy_file_range.cc | 174 (off_t)in.body.copy_file_range.off_in == start1 && in TEST_F() 226 (off_t)in.body.copy_file_range.off_in == start1 && in TEST_F() 304 (off_t)in.body.copy_file_range.off_in == start1 && in TEST_F() 360 (off_t)in.body.copy_file_range.off_in == offset2_in && in TEST_F() 513 (off_t)in.body.copy_file_range.off_in == start1 && in TEST_F() 542 off_t off_in = 1 << 18; in TEST_F() local 554 (off_t)in.body.copy_file_range.off_in == off_in && in TEST_F() 568 ASSERT_EQ(len, copy_file_range(fd, &off_in, fd, &off_out, len, 0)); in TEST_F() 604 (off_t)in.body.copy_file_range.off_in == start1 && in TEST_F() 652 off_t off_in = 0; in TEST_F() local [all …]
|
| H A D | io.cc | 210 off_t off_in = in.body.copy_file_range.off_in; in SetUp() local 213 copy_file_range(m_backing_fd, &off_in, m_backing_fd, in SetUp() 253 void do_copy_file_range(off_t off_in, off_t off_out, size_t size) in do_copy_file_range() argument 256 off_t test_off_in = off_in; in do_copy_file_range() 259 off_t control_off_in = off_in; in do_copy_file_range()
|
| H A D | default_permissions.cc | 110 void expect_copy_file_range(uint64_t ino_in, uint64_t off_in, uint64_t ino_out, in expect_copy_file_range() argument 117 in.body.copy_file_range.off_in == off_in && in expect_copy_file_range() 514 off_t off_in = 0; in TEST_F() local 526 expect_copy_file_range(ino_in, off_in, ino_out, off_out, len); in TEST_F() 534 copy_file_range(fd_in, &off_in, fd_out, &off_out, len, 0)) in TEST_F() 558 off_t off_in = 0; in TEST_F() local 570 expect_copy_file_range(ino_in, off_in, ino_out, off_out, len); in TEST_F() 578 copy_file_range(fd_in, &off_in, fd_out, &off_out, len, 0)) in TEST_F()
|
| H A D | last_local_modify.cc | 131 off_t off_in = 0; in copy_file_range_th() local 141 r = copy_file_range(fd, &off_in, fd, &off_out, len, 0); in copy_file_range_th()
|
| H A D | mockfs.cc | 186 in.body.copy_file_range.off_in, in debug_request()
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
| H A D | clone_after_trunc.c | 59 off_t off_in = 0, off_out = 0; in run_test() local 61 copy_file_range(src, &off_in, dst, &off_out, FILE_SIZE, 0); in run_test()
|
| /freebsd/sys/netlink/route/ |
| H A D | rt.c | 443 { .off_in = _IN(rtnh_flags), .off_out = _OUT(rtnh_flags), .cb = nlf_get_u8 }, 444 { .off_in = _IN(rtnh_hops), .off_out = _OUT(rtnh_weight), .cb = nlf_get_u8 }, 445 { .off_in = _IN(rtnh_ifindex), .off_out = _OUT(ifp), .cb = nlf_get_ifpz }, 560 { .off_in = _IN(rtm_family), .off_out = _OUT(rtm_family), .cb = nlf_get_u8 }, 561 { .off_in = _IN(rtm_dst_len), .off_out = _OUT(rtm_dst_len), .cb = nlf_get_u8 }, 562 { .off_in = _IN(rtm_protocol), .off_out = _OUT(rtm_protocol), .cb = nlf_get_u8 }, 563 { .off_in = _IN(rtm_type), .off_out = _OUT(rtm_type), .cb = nlf_get_u8 }, 564 { .off_in = _IN(rtm_table), .off_out = _OUT(rtm_table), .cb = nlf_get_u8 }, 565 { .off_in = _IN(rtm_flags), .off_out = _OUT(rtm_flags), .cb = nlf_get_u32 },
|
| H A D | iface.c | 398 { .off_in = _IN(ifi_type), .off_out = _OUT(ifi_type), .cb = nlf_get_u16 }, 399 { .off_in = _IN(ifi_index), .off_out = _OUT(ifi_index), .cb = nlf_get_u32 }, 400 { .off_in = _IN(ifi_flags), .off_out = _OUT(ifi_flags), .cb = nlf_get_u32 }, 401 { .off_in = _IN(ifi_change), .off_out = _OUT(ifi_change), .cb = nlf_get_u32 }, 755 { .off_in = _IN(ifa_family), .off_out = _OUT(ifa_family), .cb = nlf_get_u8 }, 756 { .off_in = _IN(ifa_prefixlen), .off_out = _OUT(ifa_prefixlen), .cb = nlf_get_u8 }, 757 { .off_in = _IN(ifa_scope), .off_out = _OUT(ifa_scope), .cb = nlf_get_u8 }, 758 { .off_in = _IN(ifa_flags), .off_out = _OUT(ifa_flags), .cb = nlf_get_u8_u32 }, 759 { .off_in = _IN(ifa_index), .off_out = _OUT(ifa_index), .cb = nlf_get_u32 },
|
| H A D | neigh.c | 324 { .off_in = _IN(ndm_family), .off_out = _OUT(ndm_family), .cb = nlf_get_u8 }, 325 { .off_in = _IN(ndm_flags), .off_out = _OUT(ndm_flags), .cb = nlf_get_u8_u32 }, 326 { .off_in = _IN(ndm_state), .off_out = _OUT(ndm_state), .cb = nlf_get_u16 }, 327 { .off_in = _IN(ndm_ifindex), .off_out = _OUT(nda_ifp), .cb = nlf_get_ifpz },
|
| H A D | nexthop.c | 715 { .off_in = _IN(nh_family), .off_out = _OUT(nh_family), .cb = nlf_get_u8 }, 716 { .off_in = _IN(nh_protocol), .off_out = _OUT(nh_protocol), .cb = nlf_get_u8 },
|
| /freebsd/tests/sys/netlink/ |
| H A D | test_rtnl_gre.c | 72 { .off_in = _IN(ifi_index), .off_out = _OUT(ifi_index), .cb = snl_field_get_uint32 },
|
| H A D | test_snl.c | 194 {.off_in = _IN(ifi_index), .off_out = _OUT(ifi_index), .cb = snl_field_get_uint32 },
|
| /freebsd/contrib/llvm-project/libcxx/src/filesystem/ |
| H A D | operations.cpp | 251 loff_t off_in = 0; in copy_file_impl_copy_file_range() local 254 off_t off_in = 0; in copy_file_impl_copy_file_range() local 261 if ((res = ::copy_file_range(read_fd.fd, &off_in, write_fd.fd, &off_out, count, 0)) == -1) { in copy_file_impl_copy_file_range()
|
| /freebsd/sys/compat/linux/ |
| H A D | linux_file.c | 1793 if (args->off_in != NULL) { in linux_copy_file_range() 1794 error = copyin(args->off_in, &inoff, sizeof(l_loff_t)); in linux_copy_file_range() 1808 if (error == 0 && args->off_in != NULL) in linux_copy_file_range() 1809 error = copyout(inoffp, args->off_in, sizeof(l_loff_t)); in linux_copy_file_range()
|
| /freebsd/sys/fs/fuse/ |
| H A D | fuse_kernel.h | 967 uint64_t off_in; member
|
| /freebsd/contrib/llvm-project/compiler-rt/include/sanitizer/ |
| H A D | linux_syscall_hooks.h | 1676 #define __sanitizer_syscall_pre_splice(fd_in, off_in, fd_out, off_out, len, \ argument 1678 __sanitizer_syscall_pre_impl_splice((long)(fd_in), (long)(off_in), \ 1681 #define __sanitizer_syscall_post_splice(res, fd_in, off_in, fd_out, off_out, \ argument 1683 __sanitizer_syscall_post_impl_splice(res, (long)(fd_in), (long)(off_in), \ 2982 void __sanitizer_syscall_pre_impl_splice(long fd_in, long off_in, long fd_out, 2984 void __sanitizer_syscall_post_impl_splice(long res, long fd_in, long off_in,
|
| /freebsd/sbin/ifconfig/ |
| H A D | ifgeneve.c | 271 { .off_in = _IN(ifi_index), .off_out = _OUT(ifi_index), .cb = snl_field_get_uint32 },
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_common_syscalls.inc | 2909 (long fd_in, void *off_in, long fd_out, void *off_out, long len, long flags) {} 2912 (long res, long fd_in, void *off_in, long fd_out, void *off_out, long len, 2915 if (off_in) 2916 POST_WRITE(off_in, sizeof(long long));
|
| /freebsd/sys/arm64/linux/ |
| H A D | linux_systrace_args.c | 618 uarg[a++] = (intptr_t)p->off_in; /* l_loff_t * */ in systrace_args() 2177 uarg[a++] = (intptr_t)p->off_in; /* l_loff_t * */ in systrace_args()
|
| /freebsd/sys/amd64/linux/ |
| H A D | linux_systrace_args.c | 2116 uarg[a++] = (intptr_t)p->off_in; /* l_loff_t * */ in systrace_args() 2560 uarg[a++] = (intptr_t)p->off_in; /* l_loff_t * */ in systrace_args()
|