Lines Matching defs:sendfile
68 static MALLOC_DEFINE(M_SENDFILE, "sendfile", "sendfile dynamic memory");
75 * Structure describing a single sendfile(2) I/O, which may consist of
115 KASSERT(sfs->count == 0, ("sendfile sync %p still busy", sfs));
126 KASSERT(sfs->count > 0, ("sendfile sync %p not busy", sfs));
129 /* The sendfile() waiter was interrupted by a signal. */
163 "sendfile statistics");
667 * sendfile(). So indicate EINVAL for now.
731 mtx_init(&sfs->mtx, "sendfile", NULL, MTX_DEF);
732 cv_init(&sfs->cv, "sendfile");
1062 * Get a sendfile buf. When allocating the
1266 sendfile(struct thread *td, struct sendfile_args *uap, int compat)
1318 * sendfile(2) can start at any offset within a file so we require
1338 * sendfile(2)
1340 * int sendfile(int fd, int s, off_t offset, size_t nbytes,
1352 return (sendfile(td, uap, 0));
1369 return (sendfile(td, &args, 1));