Searched refs:sendfile (Results 1 - 25 of 25) sorted by relevance

/freebsd-10.0-release/tools/regression/sockets/sendfile/
H A DMakefile5 PROG= sendfile
H A Dsendfile.c49 * Simple regression test for sendfile. Creates a file sized at four pages
315 if (sendfile(file_fd, connect_socket, test.offset, test.length,
319 FAIL_ERR("sendfile")
469 snprintf(path, PATH_MAX, "/tmp/sendfile.XXXXXXXXXXXX");
479 FAIL("usage: sendfile [path]");
/freebsd-10.0-release/usr.bin/tip/tip/
H A Dcmdtab.c48 { '>', NORM, "send file to remote host", sendfile },
H A Dtip.h332 void sendfile(int);
H A Dcmds.c273 sendfile(int c) function
300 * used by sendfile() and cu_put()
/freebsd-10.0-release/contrib/apr/include/arch/unix/
H A Dapr_arch_networkio.h80 #include <sys/sendfile.h>
/freebsd-10.0-release/contrib/apr/network_io/unix/
H A Dsendrecv.c25 /* osreldate.h is only needed on FreeBSD for sendfile detection */
266 #define sendfile sendfile64 macro
282 /* Multiple reports have shown sendfile failing with EINVAL if
333 rv = sendfile(sock->socketdes, /* socket */
349 rv = sendfile(sock->socketdes, /* socket */
472 rv = sendfile(file->filedes, /* file to be sent */
484 /* BSD's sendfile can return -1/EAGAIN even if it
553 /* On early versions of FreeBSD sendfile, the number of bytes to send
556 * src/sys/kern/uipc_syscalls::sendfile().
583 /* We won't dare call sendfile() i
679 #define sendfile macro
[all...]
/freebsd-10.0-release/sys/kern/
H A Dcapabilities.conf580 sendfile
H A Dinit_sysent.c373 { compat4(AS(freebsd4_sendfile_args),sendfile), AUE_SENDFILE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 336 = freebsd4 sendfile */
430 { AS(sendfile_args), (sy_call_t *)sys_sendfile, AUE_SENDFILE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 393 = sendfile */
H A Duipc_syscalls.c5 * sendfile(2) and related extensions:
124 * sendfile(2)-related variables and associated sysctls
126 static SYSCTL_NODE(_kern_ipc, OID_AUTO, sendfile, CTLFLAG_RW, 0,
127 "sendfile(2) tunables");
130 &sfreadahead, 0, "Number of sendfile(2) read-ahead MAXBSIZE blocks");
153 NULL, 0, sfstat_sysctl, "I", "sendfile statistics");
1886 * sendfile(2)
1888 * int sendfile(int fd, int s, off_t offset, size_t nbytes,
1941 * sendfile(2) can start at any offset within a file so we require
2224 mtx_init(&sfs->mtx, "sendfile", NUL
[all...]
/freebsd-10.0-release/sys/amd64/linux32/
H A Dlinux32_dummy.c66 DUMMY(sendfile); variable
/freebsd-10.0-release/sys/i386/linux/
H A Dlinux_dummy.c69 DUMMY(sendfile); /* different semantics */ variable
/freebsd-10.0-release/lib/libc/sys/
H A DMakefile.inc229 sendfile.2 \
H A DSymbol.map242 sendfile;
/freebsd-10.0-release/sys/sys/
H A Dsyscall.mk274 sendfile.o \
H A Dsocket.h570 * sendfile(2) header/trailer struct
616 int sendfile(int, int, off_t, size_t, struct sf_hdtr *, off_t *, int);
/freebsd-10.0-release/lib/libc/include/
H A Dnamespace.h254 #define sendfile _sendfile
H A Dun-namespace.h227 #undef sendfile
/freebsd-10.0-release/tools/tools/netrate/httpd/
H A Dhttpd.c154 if (sendfile(fd, sock, 0, 0, &sf_hdtr, NULL, 0) < 0)
155 warn("sendfile");
/freebsd-10.0-release/usr.sbin/lpr/lpd/
H A Dprintjob.c150 static int sendfile(struct printer *_pp, int _type, char *_file,
962 switch (sendfile(pp, '\3', last+1, *last, dfcopies)) {
978 if (err == OK && sendfile(pp, '\2', file, '\0', 1) > 0) {
1002 sendfile(struct printer *pp, int type, char *file, char format, int copyreq) function
1785 * filter processing is handled in sendfile(), and that
/freebsd-10.0-release/contrib/apr/include/
H A Dapr.h.in269 #define APR_HAS_SENDFILE @sendfile@
/freebsd-10.0-release/tools/regression/security/open_to_operation/
H A Dopen_to_operation.c69 * sendfile(2) O_RDONLY or O_RDWR on file yes
683 * sendfile() should work only on files, and only when the access mode
697 if (sendfile(fd, sv[0], 0, 1, NULL, &sent, 0) == 0) {
/freebsd-10.0-release/contrib/openbsm/etc/
H A Daudit_event418 43054:AUE_SENDFILE:sendfile(2):nt
/freebsd-10.0-release/libexec/ftpd/
H A Dftpd.c2127 err = sendfile(filefd, netfd, offset, 0,
/freebsd-10.0-release/contrib/apr/
H A Dconfigure763 sendfile
1582 --with-sendfile Override decision to use sendfile
21850 sendfile="0"
21896 for ac_func in sendfile send_file sendfilev
21904 sendfile="1"
21911 # Check whether --with-sendfile was given.
21914 sendfile="1"
21916 sendfile="0"
21920 orig_sendfile=$sendfile
[all...]

Completed in 289 milliseconds