fromfd 166 examples/VFS/skel_opaque.c static ssize_t skel_recvfile(vfs_handle_struct *handle, int fromfd, files_struct *tofsp, SMB_OFF_T offset, size_t n) fromfd 168 examples/VFS/skel_opaque.c return vfswrap_recvfile(NULL, fromfd, tofsp, offset, n); fromfd 159 examples/VFS/skel_transparent.c static ssize_t skel_recvfile(vfs_handle_struct *handle, int fromfd, files_struct *tofsp, SMB_OFF_T offset, size_t n) fromfd 161 examples/VFS/skel_transparent.c return SMB_VFS_NEXT_RECVFILE(handle, fromfd, tofsp, offset, n); fromfd 647 source3/include/proto.h ssize_t sys_recvfile(int fromfd, fromfd 651 source3/include/proto.h ssize_t sys_recvfile(int fromfd, fromfd 705 source3/include/proto.h ssize_t sys_sendfile(int tofd, int fromfd, const DATA_BLOB *header, SMB_OFF_T offset, size_t count); fromfd 355 source3/include/vfs.h ssize_t (*recvfile)(struct vfs_handle_struct *handle, int fromfd, files_struct *tofsp, SMB_OFF_T offset, size_t count); fromfd 60 source3/include/vfs_macros.h #define SMB_VFS_RECVFILE(fromfd, tofsp, offset, count) ((tofsp)->conn->vfs.ops.recvfile((tofsp)->conn->vfs.handles.recvfile, (fromfd), (tofsp), (offset), (count))) fromfd 194 source3/include/vfs_macros.h #define SMB_VFS_OPAQUE_RECVFILE(fromfd, tofsp, offset, count) ((tofsp)->conn->vfs_opaque.ops.recvfile((tofsp)->conn->vfs_opaque.handles.recvfile, (fromfd), (tofsp), (offset), (count))) fromfd 329 source3/include/vfs_macros.h #define SMB_VFS_NEXT_RECVFILE(handle, fromfd, tofsp, offset, count) ((handle)->vfs_next.ops.recvfile((handle)->vfs_next.handles.recvfile, (fromfd), (tofsp), (offset), (count))) fromfd 50 source3/lib/recvfile.c static ssize_t default_sys_recvfile(int fromfd, fromfd 63 source3/lib/recvfile.c fromfd, tofd, (double)offset, fromfd 89 source3/lib/recvfile.c read_ret = sys_read(fromfd, buffer, toread); fromfd 143 source3/lib/recvfile.c ssize_t sys_recvfile(int fromfd, fromfd 155 source3/lib/recvfile.c fromfd, tofd, (double)offset, fromfd 170 source3/lib/recvfile.c return default_sys_recvfile(fromfd, fromfd 178 source3/lib/recvfile.c return default_sys_recvfile(fromfd, tofd, offset, count); fromfd 184 source3/lib/recvfile.c nread = splice(fromfd, NULL, pipefd[1], NULL, fromfd 193 source3/lib/recvfile.c return default_sys_recvfile(fromfd, tofd, fromfd 218 source3/lib/recvfile.c if (drain_socket(fromfd, count-total_written) != fromfd 234 source3/lib/recvfile.c ssize_t sys_recvfile(int fromfd, fromfd 239 source3/lib/recvfile.c return default_sys_recvfile(fromfd, tofd, offset, count); fromfd 36 source3/lib/sendfile.c ssize_t sys_sendfile(int tofd, int fromfd, const DATA_BLOB *header, SMB_OFF_T offset, size_t count) fromfd 62 source3/lib/sendfile.c nwritten = sendfile64(tofd, fromfd, &offset, total); fromfd 64 source3/lib/sendfile.c nwritten = sendfile(tofd, fromfd, &offset, total); fromfd 106 source3/lib/sendfile.c ssize_t sys_sendfile(int tofd, int fromfd, const DATA_BLOB *header, SMB_OFF_T offset, size_t count) fromfd 147 source3/lib/sendfile.c nwritten = sendfile(tofd, fromfd, &small_offset, small_total); fromfd 183 source3/lib/sendfile.c ssize_t sys_sendfile(int tofd, int fromfd, const DATA_BLOB *header, SMB_OFF_T offset, size_t count) fromfd 198 source3/lib/sendfile.c vec[1].sfv_fd = fromfd; fromfd 206 source3/lib/sendfile.c vec[0].sfv_fd = fromfd; fromfd 269 source3/lib/sendfile.c ssize_t sys_sendfile(int tofd, int fromfd, const DATA_BLOB *header, SMB_OFF_T offset, size_t count) fromfd 299 source3/lib/sendfile.c nwritten = sendfile64(tofd, fromfd, offset, total, &hdtrl[0], 0); fromfd 301 source3/lib/sendfile.c nwritten = sendfile(tofd, fromfd, offset, total, &hdtrl[0], 0); fromfd 340 source3/lib/sendfile.c ssize_t sys_sendfile(int tofd, int fromfd, const DATA_BLOB *header, SMB_OFF_T offset, size_t count) fromfd 373 source3/lib/sendfile.c ret = sendfile(fromfd, tofd, offset, total, &hdr, &nwritten, 0); fromfd 413 source3/lib/sendfile.c ssize_t sys_sendfile(int tofd, int fromfd, const DATA_BLOB *header, SMB_OFF_T offset, size_t count) fromfd 428 source3/lib/sendfile.c hdtrl.file_descriptor = fromfd; fromfd 463 source3/lib/sendfile.c ssize_t sys_sendfile(int tofd, int fromfd, const DATA_BLOB *header, SMB_OFF_T offset, size_t count) fromfd 166 source3/modules/onefs.h ssize_t onefs_sys_sendfile(connection_struct *conn, int tofd, int fromfd, fromfd 170 source3/modules/onefs.h ssize_t onefs_sys_recvfile(int fromfd, int tofd, SMB_OFF_T offset, fromfd 216 source3/modules/onefs_system.c static ssize_t onefs_sys_do_sendfile(int tofd, int fromfd, fromfd 255 source3/modules/onefs_system.c ret = sendfile(fromfd, tofd, offset, total, &hdr, fromfd 312 source3/modules/onefs_system.c ssize_t onefs_sys_sendfile(connection_struct *conn, int tofd, int fromfd, fromfd 328 source3/modules/onefs_system.c ret = onefs_sys_do_sendfile(tofd, fromfd, header, offset, count, fromfd 431 source3/modules/onefs_system.c ret = onefs_sys_do_sendfile(tofd, fromfd, header, offset, fromfd 519 source3/modules/onefs_system.c ssize_t onefs_sys_recvfile(int fromfd, int tofd, SMB_OFF_T offset, fromfd 533 source3/modules/onefs_system.c "%lu\n", fromfd, tofd, offset, count)); fromfd 565 source3/modules/onefs_system.c ret = recvfile(tofd, fromfd, offset + total_wbytes, fromfd 604 source3/modules/onefs_system.c ret = sys_read(fromfd, fromfd 659 source3/modules/onefs_system.c if (drain_socket(fromfd, count - total_rbytes) != fromfd 454 source3/modules/vfs_default.c int fromfd, fromfd 462 source3/modules/vfs_default.c result = sys_recvfile(fromfd, tofsp->fh->fd, offset, n); fromfd 148 source3/modules/vfs_full_audit.c static ssize_t smb_full_audit_recvfile(vfs_handle_struct *handle, int fromfd, fromfd 1325 source3/modules/vfs_full_audit.c static ssize_t smb_full_audit_recvfile(vfs_handle_struct *handle, int fromfd, fromfd 1332 source3/modules/vfs_full_audit.c result = SMB_VFS_NEXT_RECVFILE(handle, fromfd, tofsp, offset, n); fromfd 71 source3/modules/vfs_onefs.c static ssize_t onefs_recvfile(vfs_handle_struct *handle, int fromfd, fromfd 78 source3/modules/vfs_onefs.c result = onefs_sys_recvfile(fromfd, tofsp->fh->fd, offset, count);