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

/freebsd-9.3-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
316 if (sendfile(file_fd, connect_socket, test.offset, test.length,
320 FAIL_ERR("sendfile")
427 snprintf(path, PATH_MAX, "/tmp/sendfile.XXXXXXXXXXXX");
437 FAIL("usage: sendfile [path]");
/freebsd-9.3-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-9.3-release/lib/libc/sys/
H A DMakefile.inc113 select.2 semctl.2 semget.2 semop.2 send.2 setfib.2 sendfile.2 \
H A DSymbol.map242 sendfile;
/freebsd-9.3-release/sys/kern/
H A Dcapabilities.conf571 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 */
/freebsd-9.3-release/sys/amd64/linux32/
H A Dlinux32_dummy.c66 DUMMY(sendfile); variable
/freebsd-9.3-release/sys/i386/linux/
H A Dlinux_dummy.c69 DUMMY(sendfile); /* different semantics */ variable
/freebsd-9.3-release/sys/sys/
H A Dsyscall.mk271 sendfile.o \
H A Dsocket.h599 * sendfile(2) header/trailer struct
636 int sendfile(int, int, off_t, size_t, struct sf_hdtr *, off_t *, int);
/freebsd-9.3-release/lib/libc/include/
H A Dnamespace.h254 #define sendfile _sendfile
H A Dun-namespace.h227 #undef sendfile
/freebsd-9.3-release/tools/tools/netrate/httpd/
H A Dhttpd.c154 if (sendfile(fd, sock, 0, 0, &sf_hdtr, NULL, 0) < 0)
155 warn("sendfile");
/freebsd-9.3-release/usr.sbin/lpr/lpd/
H A Dprintjob.c149 static int sendfile(struct printer *_pp, int _type, char *_file,
961 switch (sendfile(pp, '\3', last+1, *last, dfcopies)) {
977 if (err == OK && sendfile(pp, '\2', file, '\0', 1) > 0) {
1001 sendfile(struct printer *pp, int type, char *file, char format, int copyreq) function
1784 * filter processing is handled in sendfile(), and that
/freebsd-9.3-release/contrib/ntp/sntp/libevent/
H A Dbuffer.c66 #include <sys/sendfile.h>
1183 /*XXX fails badly on sendfile case. */
1255 /*XXX can fail badly on sendfile case. */
1407 /* TODO(niels): deal with buffers that point to NULL like sendfile */
2466 res = sendfile(source_fd, dest_fd, chain->misalign, &len, NULL, 0);
2472 res = sendfile(source_fd, dest_fd, chain->misalign, chain->off, NULL, &len, 0);
2479 res = sendfile(dest_fd, source_fd, &offset, chain->off);
2488 res = sendfile(dest_fd, source_fd, &offset, chain->off);
H A Dconfigure12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendfile" >&5
12416 $as_echo_n "checking for library containing sendfile... " >&6; }
12430 char sendfile ();
12434 return sendfile ();
12439 for ac_lib in '' sendfile; do
13077 sys/sendfile.h \
13577 sendfile \
/freebsd-9.3-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-9.3-release/contrib/openbsm/etc/
H A Daudit_event418 43054:AUE_SENDFILE:sendfile(2):nt
/freebsd-9.3-release/libexec/ftpd/
H A Dftpd.c2129 err = sendfile(filefd, netfd, offset, 0,

Completed in 261 milliseconds