tofd 160 examples/VFS/skel_opaque.c static ssize_t skel_sendfile(vfs_handle_struct *handle, int tofd, files_struct *fromfsp, const DATA_BLOB *hdr, tofd 163 examples/VFS/skel_opaque.c return vfswrap_sendfile(NULL, tofd, fromfsp, hdr, offset, n); tofd 154 examples/VFS/skel_transparent.c static ssize_t skel_sendfile(vfs_handle_struct *handle, int tofd, files_struct *fromfsp, const DATA_BLOB *hdr, SMB_OFF_T offset, size_t n) tofd 156 examples/VFS/skel_transparent.c return SMB_VFS_NEXT_SENDFILE(handle, tofd, fromfsp, hdr, offset, n); tofd 648 source3/include/proto.h int tofd, tofd 652 source3/include/proto.h int tofd, tofd 705 source3/include/proto.h ssize_t sys_sendfile(int tofd, int fromfd, const DATA_BLOB *header, SMB_OFF_T offset, size_t count); tofd 354 source3/include/vfs.h ssize_t (*sendfile)(struct vfs_handle_struct *handle, int tofd, files_struct *fromfsp, const DATA_BLOB *header, SMB_OFF_T offset, size_t count); tofd 59 source3/include/vfs_macros.h #define SMB_VFS_SENDFILE(tofd, fromfsp, header, offset, count) ((fromfsp)->conn->vfs.ops.sendfile((fromfsp)->conn->vfs.handles.sendfile, (tofd), (fromfsp), (header), (offset), (count))) tofd 193 source3/include/vfs_macros.h #define SMB_VFS_OPAQUE_SENDFILE(tofd, fromfsp, header, offset, count) ((fromfsp)->conn->vfs_opaque.ops.sendfile((fromfsp)->conn->vfs_opaque.handles.sendfile, (tofd), (fromfsp), (header), (offset), (count))) tofd 328 source3/include/vfs_macros.h #define SMB_VFS_NEXT_SENDFILE(handle, tofd, fromfsp, header, offset, count) ((handle)->vfs_next.ops.sendfile((handle)->vfs_next.handles.sendfile, (tofd), (fromfsp), (header), (offset), (count))) tofd 51 source3/lib/recvfile.c int tofd, tofd 63 source3/lib/recvfile.c fromfd, tofd, (double)offset, tofd 70 source3/lib/recvfile.c if (tofd != -1 && offset != (SMB_OFF_T)-1) { tofd 71 source3/lib/recvfile.c if (sys_lseek(tofd, offset, SEEK_SET) == -1) { tofd 101 source3/lib/recvfile.c if (tofd == -1) { tofd 105 source3/lib/recvfile.c write_ret = sys_write(tofd, tofd 111 source3/lib/recvfile.c tofd = -1; tofd 144 source3/lib/recvfile.c int tofd, tofd 155 source3/lib/recvfile.c fromfd, tofd, (double)offset, tofd 171 source3/lib/recvfile.c tofd, tofd 178 source3/lib/recvfile.c return default_sys_recvfile(fromfd, tofd, offset, count); tofd 193 source3/lib/recvfile.c return default_sys_recvfile(fromfd, tofd, tofd 202 source3/lib/recvfile.c thistime = splice(pipefd[0], NULL, tofd, tofd 235 source3/lib/recvfile.c int tofd, tofd 239 source3/lib/recvfile.c return default_sys_recvfile(fromfd, tofd, offset, count); tofd 36 source3/lib/sendfile.c ssize_t sys_sendfile(int tofd, int fromfd, const DATA_BLOB *header, SMB_OFF_T offset, size_t count) tofd 50 source3/lib/sendfile.c ret = sys_send(tofd, header->data + total,hdr_len - total, MSG_MORE); tofd 62 source3/lib/sendfile.c nwritten = sendfile64(tofd, fromfd, &offset, total); tofd 64 source3/lib/sendfile.c nwritten = sendfile(tofd, fromfd, &offset, total); tofd 106 source3/lib/sendfile.c ssize_t sys_sendfile(int tofd, int fromfd, const DATA_BLOB *header, SMB_OFF_T offset, size_t count) tofd 134 source3/lib/sendfile.c ret = sys_send(tofd, header->data + total,hdr_len - total, MSG_MORE); tofd 147 source3/lib/sendfile.c nwritten = sendfile(tofd, fromfd, &small_offset, small_total); tofd 183 source3/lib/sendfile.c ssize_t sys_sendfile(int tofd, int fromfd, const DATA_BLOB *header, SMB_OFF_T offset, size_t count) tofd 225 source3/lib/sendfile.c nwritten = sendfilev64(tofd, vec, sfvcnt, &xferred); tofd 227 source3/lib/sendfile.c nwritten = sendfilev(tofd, vec, sfvcnt, &xferred); tofd 269 source3/lib/sendfile.c ssize_t sys_sendfile(int tofd, int fromfd, const DATA_BLOB *header, SMB_OFF_T offset, size_t count) tofd 299 source3/lib/sendfile.c nwritten = sendfile64(tofd, fromfd, offset, total, &hdtrl[0], 0); tofd 301 source3/lib/sendfile.c nwritten = sendfile(tofd, fromfd, offset, total, &hdtrl[0], 0); tofd 340 source3/lib/sendfile.c ssize_t sys_sendfile(int tofd, int fromfd, const DATA_BLOB *header, SMB_OFF_T offset, size_t count) tofd 373 source3/lib/sendfile.c ret = sendfile(fromfd, tofd, offset, total, &hdr, &nwritten, 0); tofd 413 source3/lib/sendfile.c ssize_t sys_sendfile(int tofd, int fromfd, const DATA_BLOB *header, SMB_OFF_T offset, size_t count) tofd 451 source3/lib/sendfile.c ret = send_file(&tofd, &hdtrl, 0); tofd 463 source3/lib/sendfile.c ssize_t sys_sendfile(int tofd, int fromfd, const DATA_BLOB *header, SMB_OFF_T offset, size_t count) tofd 166 source3/modules/onefs.h ssize_t onefs_sys_sendfile(connection_struct *conn, int tofd, int fromfd, tofd 170 source3/modules/onefs.h ssize_t onefs_sys_recvfile(int fromfd, int tofd, SMB_OFF_T offset, tofd 216 source3/modules/onefs_system.c static ssize_t onefs_sys_do_sendfile(int tofd, int fromfd, tofd 255 source3/modules/onefs_system.c ret = sendfile(fromfd, tofd, offset, total, &hdr, tofd 312 source3/modules/onefs_system.c ssize_t onefs_sys_sendfile(connection_struct *conn, int tofd, int fromfd, tofd 328 source3/modules/onefs_system.c ret = onefs_sys_do_sendfile(tofd, fromfd, header, offset, count, tofd 431 source3/modules/onefs_system.c ret = onefs_sys_do_sendfile(tofd, fromfd, header, offset, tofd 519 source3/modules/onefs_system.c ssize_t onefs_sys_recvfile(int fromfd, int tofd, SMB_OFF_T offset, tofd 533 source3/modules/onefs_system.c "%lu\n", fromfd, tofd, offset, count)); tofd 565 source3/modules/onefs_system.c ret = recvfile(tofd, fromfd, offset + total_wbytes, tofd 635 source3/modules/onefs_system.c ret = sys_pwrite(tofd, spill_buffer, count - total_wbytes, tofd 126 source3/modules/vfs_cacheprime.c int tofd, tofd 136 source3/modules/vfs_cacheprime.c return SMB_VFS_NEXT_SENDFILE(handle, tofd, fromfsp, tofd 442 source3/modules/vfs_default.c static ssize_t vfswrap_sendfile(vfs_handle_struct *handle, int tofd, files_struct *fromfsp, const DATA_BLOB *hdr, tofd 448 source3/modules/vfs_default.c result = sys_sendfile(tofd, fromfsp->fh->fd, hdr, offset, n); tofd 144 source3/modules/vfs_full_audit.c static ssize_t smb_full_audit_sendfile(vfs_handle_struct *handle, int tofd, tofd 1310 source3/modules/vfs_full_audit.c static ssize_t smb_full_audit_sendfile(vfs_handle_struct *handle, int tofd, tofd 1317 source3/modules/vfs_full_audit.c result = SMB_VFS_NEXT_SENDFILE(handle, tofd, fromfsp, hdr, offset, n); tofd 58 source3/modules/vfs_onefs.c static ssize_t onefs_sendfile(vfs_handle_struct *handle, int tofd, tofd 65 source3/modules/vfs_onefs.c result = onefs_sys_sendfile(handle->conn, tofd, fromfsp->fh->fd, tofd 37 source3/modules/vfs_readahead.c int tofd, tofd 68 source3/modules/vfs_readahead.c tofd, tofd 279 source3/modules/vfs_tsmsm.c static ssize_t tsmsm_sendfile(vfs_handle_struct *handle, int tofd, files_struct *fsp, const DATA_BLOB *hdr, tofd 290 source3/modules/vfs_tsmsm.c return SMB_VFS_NEXT_SENDFILE(handle, tofd, fsp, hdr, offset, n);