/freebsd-10.0-release/tools/regression/sockets/sendfile/ |
H A D | Makefile | 5 PROG= sendfile
|
H A D | sendfile.c | 49 * 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 D | cmdtab.c | 48 { '>', NORM, "send file to remote host", sendfile },
|
H A D | tip.h | 332 void sendfile(int);
|
H A D | cmds.c | 273 sendfile(int c) function 300 * used by sendfile() and cu_put()
|
/freebsd-10.0-release/contrib/apr/include/arch/unix/ |
H A D | apr_arch_networkio.h | 80 #include <sys/sendfile.h>
|
/freebsd-10.0-release/contrib/apr/network_io/unix/ |
H A D | sendrecv.c | 25 /* 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 D | capabilities.conf | 580 sendfile
|
H A D | init_sysent.c | 373 { 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 D | uipc_syscalls.c | 5 * 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 D | linux32_dummy.c | 66 DUMMY(sendfile); variable
|
/freebsd-10.0-release/sys/i386/linux/ |
H A D | linux_dummy.c | 69 DUMMY(sendfile); /* different semantics */ variable
|
/freebsd-10.0-release/lib/libc/sys/ |
H A D | Makefile.inc | 229 sendfile.2 \
|
H A D | Symbol.map | 242 sendfile;
|
/freebsd-10.0-release/sys/sys/ |
H A D | syscall.mk | 274 sendfile.o \
|
H A D | socket.h | 570 * 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 D | namespace.h | 254 #define sendfile _sendfile
|
H A D | un-namespace.h | 227 #undef sendfile
|
/freebsd-10.0-release/tools/tools/netrate/httpd/ |
H A D | httpd.c | 154 if (sendfile(fd, sock, 0, 0, &sf_hdtr, NULL, 0) < 0) 155 warn("sendfile");
|
/freebsd-10.0-release/usr.sbin/lpr/lpd/ |
H A D | printjob.c | 150 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 D | apr.h.in | 269 #define APR_HAS_SENDFILE @sendfile@
|
/freebsd-10.0-release/tools/regression/security/open_to_operation/ |
H A D | open_to_operation.c | 69 * 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 D | audit_event | 418 43054:AUE_SENDFILE:sendfile(2):nt
|
/freebsd-10.0-release/libexec/ftpd/ |
H A D | ftpd.c | 2127 err = sendfile(filefd, netfd, offset, 0,
|
/freebsd-10.0-release/contrib/apr/ |
H A D | configure | 763 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...] |