Home
last modified time | relevance | path

Searched refs:off_out (Results 1 – 25 of 25) sorted by relevance

/freebsd/contrib/capsicum-test/
H A Dcopy_file_range.cc77 off_t off_in = 0, off_out = 0; in TEST_F() local
81 EXPECT_NOTCAPABLE(copy_file_range(fd_in, NULL, fd_out, &off_out, 8, 0)); in TEST_F()
82 EXPECT_NOTCAPABLE(copy_file_range(fd_in, &off_in, fd_out, &off_out, 8, 0)); in TEST_F()
84 off_out = 20; in TEST_F()
86 EXPECT_NOTCAPABLE(copy_file_range(fd_in, NULL, fd_out, &off_out, 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
104 EXPECT_NOTCAPABLE(copy_file_range(fd_in, NULL, fd_out, &off_out, 8, 0)); in TEST_F()
105 EXPECT_NOTCAPABLE(copy_file_range(fd_in, &off_in, fd_out, &off_out, 8, 0)); in TEST_F()
107 off_out = 20; in TEST_F()
[all …]
/freebsd/sys/netlink/
H A Dnetlink_snl_route_parsers.h73 { .off_in = _IN(rtnh_flags), .off_out = _OUT(rtnh_flags), .cb = snl_field_get_uint8 },
74 { .off_in = _IN(rtnh_hops), .off_out = _OUT(rtnh_weight), .cb = snl_field_get_uint8 },
75 { .off_in = _IN(rtnh_ifindex), .off_out = _OUT(ifindex), .cb = snl_field_get_uint32 },
152 {.off_in = _IN(rtm_family), .off_out = _OUT(rtm_family), .cb = snl_field_get_uint8 },
153 {.off_in = _IN(rtm_type), .off_out = _OUT(rtm_type), .cb = snl_field_get_uint8 },
154 {.off_in = _IN(rtm_protocol), .off_out = _OUT(rtm_protocol), .cb = snl_field_get_uint8 },
155 {.off_in = _IN(rtm_dst_len), .off_out = _OUT(rtm_dst_len), .cb = snl_field_get_uint8 },
213 {.off_in = _IN(ifi_index), .off_out = _OUT(ifi_index), .cb = snl_field_get_uint32 },
214 {.off_in = _IN(ifi_flags), .off_out = _OUT(ifi_flags), .cb = snl_field_get_uint32 },
215 {.off_in = _IN(ifi_change), .off_out = _OUT(ifi_change), .cb = snl_field_get_uint32 },
[all …]
H A Dnetlink_message_parser.h89 uint16_t off_out; member
263 void *dst = (char *)target + fp->off_out; in nl_parse_header()
H A Dnetlink_snl.h132 uint16_t off_out; member
494 void *dst = (char *)target + fp->off_out; in snl_parse_fields()
948 { .off_in = _IN(error), .off_out = _OUT(error), .cb = snl_field_get_uint32 },
949 { .off_in = _IN(msg), .off_out = _OUT(orig_hdr), .cb = snl_field_get_ptr },
958 { .off_in = _IN(error), .off_out = _OUT(error), .cb = snl_field_get_uint32 },
H A Dnetlink_generic.c242 { .off_in = _IN(version), .off_out = _OUT(version), .cb = nlf_get_u8 },
/freebsd/tests/sys/fs/fusefs/
H A Dcopy_file_range.cc177 (off_t)in.body.copy_file_range.off_out == start2 && in TEST_F()
229 (off_t)in.body.copy_file_range.off_out == start2 && in TEST_F()
307 (off_t)in.body.copy_file_range.off_out == start2 && in TEST_F()
361 (off_t)in.body.copy_file_range.off_out == offset2_out && in TEST_F()
467 (off_t)in.body.copy_file_range.off_out == start2 && in TEST_F()
516 (off_t)in.body.copy_file_range.off_out == start2 && in TEST_F()
543 off_t off_out = 3 << 17; in TEST_F() local
557 (off_t)in.body.copy_file_range.off_out == off_out && in TEST_F()
568 ASSERT_EQ(len, copy_file_range(fd, &off_in, fd, &off_out, len, 0)); in TEST_F()
607 (off_t)in.body.copy_file_range.off_out == start2 && in TEST_F()
[all …]
H A Dio.cc211 off_t off_out = in.body.copy_file_range.off_out; in SetUp() local
214 &off_out, in.body.copy_file_range.len, 0)); 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
257 off_t test_off_out = off_out; in do_copy_file_range()
260 off_t control_off_out = off_out; in do_copy_file_range()
275 m_filesize = std::max(m_filesize, off_out + (off_t)size); in do_copy_file_range()
H A Ddefault_permissions.cc111 uint64_t off_out, uint64_t len) in expect_copy_file_range() argument
119 in.body.copy_file_range.off_out == off_out && in expect_copy_file_range()
515 off_t off_out = 8; 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()
559 off_t off_out = 8; 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 Dlast_local_modify.cc132 off_t off_out = 10; 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 Dmockfs.cc189 in.body.copy_file_range.off_out, in debug_request()
/freebsd/sys/netlink/route/
H A Drt.c411 { .off_in = _IN(rtnh_flags), .off_out = _OUT(rtnh_flags), .cb = nlf_get_u8 },
412 { .off_in = _IN(rtnh_hops), .off_out = _OUT(rtnh_weight), .cb = nlf_get_u8 },
413 { .off_in = _IN(rtnh_ifindex), .off_out = _OUT(ifp), .cb = nlf_get_ifpz },
520 { .off_in = _IN(rtm_family), .off_out = _OUT(rtm_family), .cb = nlf_get_u8 }, in post_p_rtmsg()
521 { .off_in = _IN(rtm_dst_len), .off_out = _OUT(rtm_dst_len), .cb = nlf_get_u8 }, in post_p_rtmsg()
522 { .off_in = _IN(rtm_protocol), .off_out = _OUT(rtm_protocol), .cb = nlf_get_u8 }, in post_p_rtmsg()
523 { .off_in = _IN(rtm_type), .off_out = _OUT(rtm_type), .cb = nlf_get_u8 }, in post_p_rtmsg()
524 { .off_in = _IN(rtm_table), .off_out = _OUT(rtm_table), .cb = nlf_get_u8 }, in post_p_rtmsg()
525 { .off_in = _IN(rtm_flags), .off_out = _OUT(rtm_flags), .cb = nlf_get_u32 }, in post_p_rtmsg()
H A Diface.c393 { .off_in = _IN(ifi_type), .off_out = _OUT(ifi_type), .cb = nlf_get_u16 },
394 { .off_in = _IN(ifi_index), .off_out = _OUT(ifi_index), .cb = nlf_get_u32 },
395 { .off_in = _IN(ifi_flags), .off_out = _OUT(ifi_flags), .cb = nlf_get_u32 },
396 { .off_in = _IN(ifi_change), .off_out = _OUT(ifi_change), .cb = nlf_get_u32 },
744 { .off_in = _IN(ifa_family), .off_out = _OUT(ifa_family), .cb = nlf_get_u8 },
745 { .off_in = _IN(ifa_prefixlen), .off_out = _OUT(ifa_prefixlen), .cb = nlf_get_u8 },
746 { .off_in = _IN(ifa_scope), .off_out = _OUT(ifa_scope), .cb = nlf_get_u8 },
747 { .off_in = _IN(ifa_flags), .off_out = _OUT(ifa_flags), .cb = nlf_get_u8_u32 },
748 { .off_in = _IN(ifa_index), .off_out = _OUT(ifa_index), .cb = nlf_get_u32 },
H A Dneigh.c325 { .off_in = _IN(ndm_family), .off_out = _OUT(ndm_family), .cb = nlf_get_u8 },
326 { .off_in = _IN(ndm_flags), .off_out = _OUT(ndm_flags), .cb = nlf_get_u8_u32 },
327 { .off_in = _IN(ndm_state), .off_out = _OUT(ndm_state), .cb = nlf_get_u16 },
328 { .off_in = _IN(ndm_ifindex), .off_out = _OUT(nda_ifp), .cb = nlf_get_ifpz },
H A Dnexthop.c719 { .off_in = _IN(nh_family), .off_out = _OUT(nh_family), .cb = nlf_get_u8 },
720 { .off_in = _IN(nh_protocol), .off_out = _OUT(nh_protocol), .cb = nlf_get_u8 },
/freebsd/tests/sys/netlink/
H A Dtest_snl.c191 {.off_in = _IN(ifi_index), .off_out = _OUT(ifi_index), .cb = snl_field_get_uint32 },
/freebsd/sys/compat/linux/
H A Dlinux_file.c1736 if (args->off_out != NULL) { in linux_copy_file_range()
1737 error = copyin(args->off_out, &outoff, sizeof(l_loff_t)); in linux_copy_file_range()
1747 if (error == 0 && args->off_out != NULL) in linux_copy_file_range()
1748 error = copyout(outoffp, args->off_out, sizeof(l_loff_t)); in linux_copy_file_range()
/freebsd/sys/fs/fuse/
H A Dfuse_kernel.h926 uint64_t off_out; member
H A Dfuse_vnops.c925 fcfri->off_out = *ap->a_outoffp; in fuse_vnop_copy_file_range()
/freebsd/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h1676 #define __sanitizer_syscall_pre_splice(fd_in, off_in, fd_out, off_out, len, \ argument
1679 (long)(fd_out), (long)(off_out), \
1681 #define __sanitizer_syscall_post_splice(res, fd_in, off_in, fd_out, off_out, \ argument
1684 (long)(fd_out), (long)(off_out), \
2983 long off_out, long len, long flags);
2985 long fd_out, long off_out, long len,
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc2906 (long fd_in, void *off_in, long fd_out, void *off_out, long len, long flags) {}
2909 (long res, long fd_in, void *off_in, long fd_out, void *off_out, long len,
2914 if (off_out)
2915 POST_WRITE(off_out, sizeof(long long));
/freebsd/sys/arm64/linux/
H A Dlinux_systrace_args.c613 uarg[a++] = (intptr_t)p->off_out; /* l_loff_t * */ in systrace_args()
2171 uarg[a++] = (intptr_t)p->off_out; /* l_loff_t * */ in systrace_args()
/freebsd/sys/amd64/linux/
H A Dlinux_systrace_args.c2111 uarg[a++] = (intptr_t)p->off_out; /* l_loff_t * */ in systrace_args()
2554 uarg[a++] = (intptr_t)p->off_out; /* l_loff_t * */ in systrace_args()
/freebsd/sys/i386/linux/
H A Dlinux_systrace_args.c2264 uarg[a++] = (intptr_t)p->off_out; /* l_loff_t * */ in systrace_args()
2826 uarg[a++] = (intptr_t)p->off_out; /* l_loff_t * */ in systrace_args()
/freebsd/sys/amd64/linux32/
H A Dlinux32_systrace_args.c2229 uarg[a++] = (intptr_t)p->off_out; /* l_loff_t * */ in systrace_args()
2795 uarg[a++] = (intptr_t)p->off_out; /* l_loff_t * */ in systrace_args()
/freebsd/sys/netpfil/pf/
H A Dpf_nl.c77 { .off_in = _IN(version), .off_out = _OUT(version), .cb = nlf_get_u8 },