/freebsd/contrib/capsicum-test/ |
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 | 73 { .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 D | netlink_message_parser.h | 88 uint16_t off_in; member 263 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() 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 D | netlink_generic.c | 242 { .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/netlink/route/ |
H A D | rt.c | 411 { .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 }, 521 { .off_in = _IN(rtm_dst_len), .off_out = _OUT(rtm_dst_len), .cb = nlf_get_u8 }, 522 { .off_in = _IN(rtm_protocol), .off_out = _OUT(rtm_protocol), .cb = nlf_get_u8 }, 523 { .off_in = _IN(rtm_type), .off_out = _OUT(rtm_type), .cb = nlf_get_u8 }, 524 { .off_in = _IN(rtm_table), .off_out = _OUT(rtm_table), .cb = nlf_get_u8 }, 525 { .off_in = _IN(rtm_flags), .off_out = _OUT(rtm_flags), .cb = nlf_get_u32 },
|
H A D | iface.c | 393 { .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 }, 745 { .off_in = _IN(ifa_family), .off_out = _OUT(ifa_family), .cb = nlf_get_u8 }, 746 { .off_in = _IN(ifa_prefixlen), .off_out = _OUT(ifa_prefixlen), .cb = nlf_get_u8 }, 747 { .off_in = _IN(ifa_scope), .off_out = _OUT(ifa_scope), .cb = nlf_get_u8 }, 748 { .off_in = _IN(ifa_flags), .off_out = _OUT(ifa_flags), .cb = nlf_get_u8_u32 }, 749 { .off_in = _IN(ifa_index), .off_out = _OUT(ifa_index), .cb = nlf_get_u32 },
|
H A D | neigh.c | 325 { .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 D | nexthop.c | 719 { .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 D | test_snl.c | 203 {.off_in = _IN(ifi_index), .off_out = _OUT(ifi_index), .cb = snl_field_get_uint32 },
|
/freebsd/sys/compat/linux/ |
H A D | linux_file.c | 1732 if (args->off_in != NULL) { in linux_copy_file_range() 1733 error = copyin(args->off_in, &inoff, sizeof(l_loff_t)); in linux_copy_file_range() 1747 if (error == 0 && args->off_in != NULL) in linux_copy_file_range() 1748 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/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_syscalls.inc | 2906 (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, 2912 if (off_in) 2913 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() 2176 uarg[a++] = (intptr_t)p->off_in; /* l_loff_t * */ in systrace_args()
|
H A D | linux_proto.h | 340 char off_in_l_[PADL_(l_loff_t *)]; l_loff_t * off_in; char off_in_r_[PADR_(l_loff_t *)]; member 1095 char off_in_l_[PADL_(l_loff_t *)]; l_loff_t * off_in; char off_in_r_[PADR_(l_loff_t *)]; member
|
/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() 2559 uarg[a++] = (intptr_t)p->off_in; /* l_loff_t * */ in systrace_args()
|
H A D | linux_proto.h | 1031 char off_in_l_[PADL_(l_loff_t *)]; l_loff_t * off_in; char off_in_r_[PADR_(l_loff_t *)]; member 1288 char off_in_l_[PADL_(l_loff_t *)]; l_loff_t * off_in; char off_in_r_[PADR_(l_loff_t *)]; member
|
/freebsd/sys/i386/linux/ |
H A D | linux_systrace_args.c | 2269 uarg[a++] = (intptr_t)p->off_in; /* l_loff_t * */ in systrace_args() 2833 uarg[a++] = (intptr_t)p->off_in; /* l_loff_t * */ in systrace_args()
|
/freebsd/sys/amd64/linux32/ |
H A D | linux32_systrace_args.c | 2234 uarg[a++] = (intptr_t)p->off_in; /* l_loff_t * */ in systrace_args() 2802 uarg[a++] = (intptr_t)p->off_in; /* l_loff_t * */ in systrace_args()
|