summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/pipe/fifo.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-04-28doxygen: Switch @brief and @ingroupSebastian Huber1-1/+2
This order change fixes the Latex documentation build via Doxygen.
2020-04-16Canonicalize config.h includeSebastian Huber1-1/+1
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2020-01-03cpukit/libfs: remove more dead code from pipe/fifo.cGedare Bloom1-2/+0
Dead code identified by Coverity (CID 1456674). The value of ret at line 358 is always 0.
2020-01-03cpukit/libfs: remove dead code from pipe/fifo.cGedare Bloom1-2/+0
Dead code identified by Coverity (CID 1456678). The value of ret at line 293 is always 0.
2019-12-11pipe: Use condition variablesSebastian Huber1-49/+17
Use self-contained condition variables instead of Classic API barriers. This simplifies the implementation and configuration. Update #3840.
2019-03-25libfs/src/pipe/fifo.c: Fix warning.Joel Sherrill1-2/+0
2019-03-14fifo.c: Eliminate logically dead code (Coverity 1437635)Joel Sherrill1-8/+5
2018-11-22pipe/fifo.c: Remove dead code (CID 1437649)Joel Sherrill1-1/+0
Closes #3581.
2018-02-02pipe: Use self-contained mutexSebastian Huber1-87/+19
Update #2843.
2017-12-13pipe: Include <rtems/pipe.h>Sebastian Huber1-2/+1
Prepare for header file move to common include directory. Update #3254.
2017-09-15libio: Add rtems_libio_iop_is_no_delay()Sebastian Huber1-1/+1
Update #3132.
2017-09-15libio: Add rtems_libio_iop_flags()Sebastian Huber1-1/+1
Update #3132.
2017-09-15libio: Add iop set/clear flagsSebastian Huber1-1/+1
Update #3132.
2017-06-07Do not include <sys/ioctl.h> in kernel-spaceSebastian Huber1-0/+1
Update #2833.
2016-06-06pipe: Use proper semaphore attr for mutexSebastian Huber1-2/+2
Close #2728.
2015-04-23score: Delete Thread_queue_Control::stateSebastian Huber1-25/+0
Use a parameter for _Thread_queue_Enqueue() instead to reduce memory usage.
2014-11-21pipe/fifo.c: NULL dereference flagged by Coverity ID 1063889Joel Sherrill1-1/+2
It does not appear that this is possible so adding an assert.
2014-11-21Delete or rename MIN/MAX macros and definesSebastian Huber1-3/+1
Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-1/+1
2013-12-10PR2159: Have the FIFO driver read follow POSIX standard.Chris Johns1-43/+41
The read call was only returning once the requested buffer was full. The change returns any available data.
2013-08-08PR766: Delete __RTEMS_VIOLATE_KERNEL_VISIBILITY__Sebastian Huber1-6/+0
2013-07-26score: Create states implementation headerSebastian Huber1-0/+1
Move implementation specific parts of states.h and states.inl into new header file statesimpl.h. The states.h contains now only the application visible API.
2013-07-23Include missing <string.h>Sebastian Huber1-0/+1
2013-07-22rtems: Create barrier implementation headerSebastian Huber1-0/+1
Move implementation specific parts of barrier.h and barrier.inl into new header file barrierimpl.h. The barrier.h contains now only the application visible API.
2013-06-07score: Add and use _Objects_Put()Sebastian Huber1-8/+10
Add and use _Objects_Put_without_thread_dispatch(). These two functions pair with the _Objects_Get() function. This helps to introduce object specific SMP locks to avoid lock contention.
2012-12-18libfs: Doxygen Enhancement Task #2Alex Ivanov1-24/+7
http://www.google-melange.com/gci/task/view/google/gci2012/8032207
2012-05-15Filesystem: Use ioctl_command_tSebastian Huber1-4/+4
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-2/+0
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
2012-05-04Filesystem: Remove pipe_lseek()Sebastian Huber1-14/+0
2011-10-182011-10-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+4
* libfs/src/pipe/fifo.c: Conditionally use var "sc".
2011-04-152011-04-15 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-1/+1
* libfs/src/pipe/fifo.c: Fixed integer type.
2010-08-102010-08-09 Bharath Suri <bharath.s.jois@gmail.com>Joel Sherrill1-5/+4
PR 1660/filesystem * libfs/src/pipe/fifo.c, libfs/src/pipe/pipe.h: Changed int pipe_release to void pipe_release. * libfs/src/imfs/imfs_fifo.c: Corresponding change to IMFS_fifo_close since pipe_release does not return any error. * libfs/src/imfs/imfs_initsupp.c: Changes to improve IMFS_determine_bytes_per_block
2010-08-022010-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-10/+11
* libfs/src/imfs/imfs_creat.c, libfs/src/imfs/imfs_eval.c, libfs/src/imfs/imfs_mknod.c, libfs/src/imfs/imfs_readlink.c, libfs/src/pipe/fifo.c: Clean up for coverage improvements and formatting.
2010-06-242010-06-24 Bharath Suri <bharath.s.jois@gmail.com>Joel Sherrill1-4/+8
PR 1542/filesystem PR 1585/filesystem * libfs/src/pipe/fifo.c: pipe_control_t was not deallocated if fifo_open() was attempted with (O_WRONLY|O_NONBLOCK). Mutex was locked too many times on this path and we needed an unlock.
2010-06-232010-06-23 Chris Johns <chrisj@rtems.org>Chris Johns1-2/+1
PR 1577/filesystem * libfs/src/pipe/fifo.c: Fixed the error codes returned on open.
2010-06-142010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-2/+2
* libfs/src/pipe/fifo.c, libfs/src/pipe/pipe.h: Eliminate "uint".
2010-06-122010-06-12 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill1-2/+0
* libfs/src/pipe/fifo.c: Remove unused variable to fix warning. * libnetworking/rtems/mkrootfs.c: Add include to fix warning. * rtems/src/tasksetpriority.c: Fix spacing.
2010-06-082010-06-08 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-45/+64
* libfs/src/imfs/fifoimfs_init.c: New file. * libfs/Makefile.am: Reflect change above. * libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_eval.c, libfs/src/imfs/imfs_init.c, libfs/src/imfs/imfs_initsupp.c, libfs/src/imfs/miniimfs_init.c, libfs/src/pipe/fifo.c, libfs/src/pipe/pipe.c, libfs/src/pipe/pipe.h: Pipe support is now link-time optional. * sapi/include/confdefs.h: Reflect changes above.
2009-12-172009-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* libcsupport/src/termios.c, libfs/src/dosfs/msdos_format.c, libfs/src/nfsclient/src/nfs.c, libfs/src/pipe/fifo.c, libnetworking/lib/rtems_bsdnet_ntp.c, libnetworking/lib/tftpDriver.c, libnetworking/rtems/rtems_glue.c, libnetworking/rtems/rtems_select.c: Eliminate uses of deprecated rtems_clock_get() and replace with properly typed routine.
2008-12-052008-12-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-2/+12
* libfs/src/pipe/fifo.c: Do not include .inl files directly. Use .h files with kernel visibility violated until functionality exposed.
2008-12-032008-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-0/+4
* libfs/src/pipe/fifo.c: Actually disable initializing pipes as requested in confdefs.h.
2008-10-142008-10-14 Wei Shen <cquark@gmail.com>Joel Sherrill1-0/+551
* Makefile.am, preinstall.am, libcsupport/src/mknod.c, libcsupport/src/open.c, libcsupport/src/pipe.c, libfs/Makefile.am, libfs/preinstall.am, libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_creat.c, libfs/src/imfs/imfs_debug.c, libfs/src/imfs/imfs_eval.c, libfs/src/imfs/imfs_initsupp.c, libfs/src/imfs/imfs_mknod.c, libfs/src/imfs/imfs_stat.c, libfs/src/imfs/memfile.c: Initial commit of POSIX pipe support. * libfs/src/imfs/imfs_fifo.c, libfs/src/pipe/fifo.c, libfs/src/pipe/pipe.c, libfs/src/pipe/pipe.h: New files.