summaryrefslogtreecommitdiffstats
path: root/sys/kern/sys_pipe.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Get rid of unnecessary includes.art2001-07-051-9/+2
|
* remove old vmart2001-06-271-36/+1
|
* pool_init, not pool_createart2001-06-231-6/+6
|
* pipe_stat isn't referenced from outside sys_pipe.c anymoreart2001-06-231-1/+2
|
* Add pipe_init, call it from main, move the pool initialization into it.art2001-06-231-6/+10
|
* fix kqueue EVFILT_WRITE; okay art@provos2001-06-051-3/+17
|
* Sync in some improvements from FreeBSD + my own improvements.art2001-05-261-101/+155
| | | | | | | | - use pool for allocating pipe structures. - use microtime instead of splhigh and time. - improve locking. - better handling of nonblocking. - various efficiency fixes.
* gc OLD_PIPE.art2001-05-141-4/+1
|
* Add a fo_stat member to struct fileops. Used soon.art2001-05-141-2/+2
| | | | Also add a stat function for kqueue from FreeBSD.
* More generic arguments to pipe_stat.art2001-05-141-3/+6
|
* We already have a prototype for pipe_stat in sys/pipe.hart2001-05-141-2/+1
|
* port kqueue changes from freebsd, plus all required openbsd glue.provos2001-03-011-9/+23
| | | | | | | okay deraadt@, millert@ from jlemon@freebsd.org: extend kqueue down to the device layer, backwards compatible approach suggested by peter@freebsd.org
* support kernel event queues, from FreeBSD by Jonathan Lemon,provos2000-11-161-1/+63
| | | | okay art@, millert@
* Change struct file interface methods read and write to pass file offset incsapuntz2000-04-191-5/+7
| | | | | | | and out. Make pread/pwrite in netbsd & linux thread safe - which is the whole point anyway.
* No need to include sys/vmmeter.hart2000-01-271-2/+1
|
* Annoying unnecessary space.art1999-11-251-2/+2
|
* if select returns writable on a pipe, the write should not returnderaadt1999-11-211-2/+3
| | | | | | EWOULDBLOCK. turns out the two checking conditions were not the same, and a certain use of rsync uncovered the bug by chewing all available cpu time; fix from art
* Use M_PIPE instead of M_TEMP.art1999-10-291-4/+4
|
* Remove the "Direct write" code.art1999-10-291-435/+28
| | | | | We never used it and some parts of it slowed the code down. Generally clean up the pipe code.
* Actually make ASYNC pipes generate SIGIO.niklas1999-10-271-1/+3
|
* vm_offset_t -> {v,p}addr_t ; vm_size_t -> {v,p}size_tart1999-07-151-10/+10
|
* introduce fdremove() to mark a file descriptor as unused. fdremove makesprovos1999-07-131-2/+2
| | | | | sure that the fd_freefile hints stay in sync, otherwise free file descriptors might not be overlooked by fdalloc(); ok millert@
* better fd leak preventionderaadt1999-06-081-29/+1
|
* need seperate sys_pipe() versions, for pipeclose() or soclose() callsderaadt1999-06-071-1/+29
|
* replacement pipe() system call; copies data into place inside kernel, soderaadt1999-06-071-2/+2
| | | | that EFAULT return value is possible
* oops, premature commitderaadt1999-06-071-2/+2
|
* store NULL in fd_ofilesderaadt1999-06-071-3/+3
|
* kmem allocation changes for uvmart1999-02-261-2/+21
|
* Move defining of PIPE_NODIRECT to pipe.h and conditionalize more code with it.art1999-02-161-10/+3
| | | | This allows this code to compile on sparc.
* Updates for VFS Lite 2 + soft update.csapuntz1997-11-061-2/+2
|
* back out vfs lite2 till after 2.2deraadt1997-10-061-2/+2
|
* VFS Lite2 Changescsapuntz1997-10-061-2/+2
|
* OpenBSD tagsniklas1997-02-241-2/+2
|
* Correct sys_pipe's 3rd arg type, alpha needs itniklas1996-10-121-1/+5
|
* compile!mickey1996-09-051-2/+3
|
* Stylistic cleanup, like removing "static"s, and removing warningsniklas1996-09-041-45/+47
| | | | given by -Wall -Wstrict-prototypes -Wmissing-prototypes
* New fast pipe(2) from freebsd without fancy vm stuff.shawn1996-08-271-0/+1131
The old pipes can be used with the "OLD_PIPE" config option.