summaryrefslogtreecommitdiffstats
path: root/cpukit/libblock/src/blkdev-imfs.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libblock: Add RTEMS_DEPRECATEDSebastian Huber2018-08-071-4/+9
| | | | Close #3358.
* libblock: Init deps in rtems_blkdev_create()Sebastian Huber2018-05-181-4/+10
| | | | Update #3358.
* Fix IO control request typeSebastian Huber2017-07-281-1/+1
|
* posix/mmap: Add support for file handler and MAP_ANONKevin Kirspel2017-07-141-0/+1
| | | | | | | | | | | Added a mmap file handler to struct _rtems_filesystem_file_handlers_r. Updated each file handler object to support the default mmap handler. Updated mmap() to call the mmap handler for MAP_SHARED. Added a mmap file handler for shm Added support for MAP_ANON in mmap(). Updates #2859
* IMFS: Replace node union with individual structSebastian Huber2015-01-271-11/+10
| | | | | | This reduces the average node size. Add and use IMFS_GENERIC_INITIALIZER().
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* Filesystem: Use default kqfilter and poll handlerSebastian Huber2013-12-201-0/+2
|
* Filesystem: Add readv/writev handlersSebastian Huber2013-12-201-1/+3
| | | | | | | | | The readv() and writev() support was implemented in terms of multiple calls to the read and write handlers. This imposes a problem on device files which use an IO vector as single request entity. For example a low-level network device (e.g. BPF(4)) may use an IO vector to create one frame from multiple protocol layers each with its own IO vector entry.
* libblock: Doxygen Enhancement Task #1Mathew Kallada2012-12-211-0/+7
|
* libblock: DocumentationSebastian Huber2012-11-021-10/+10
|
* libblock: Simplify disk managementSebastian Huber2012-05-311-48/+35
| | | | | Add block_count and media_blocks_per_block to rtems_disk_device. Add and use rtems_disk_init_phys() and rtems_disk_init_log().
* libblock: Remove const qualifier from bdbuf APISebastian Huber2012-05-311-9/+9
| | | | This allows addtion of per disk statistics for example.
* Filesystem: PR1255: Move offset update to handlersSebastian Huber2012-05-151-0/+2
| | | | | | | It is now the responsibility of the read() and write() handler to update the offset field of the IO descriptor (rtems_libio_t). This change makes it possible to protect the IO descriptor from concurrent access by per file locks.
* Filesystem: PR1398: Fix lseek() mechanicSebastian Huber2012-05-111-1/+1
| | | | | | | | | | | | According to POSIX the lseek() function shall not, by itself, extend the size of a file. Remove the size field of rtems_libio_t. A file has only one size but may have multiple open file descriptors. Thus a file size field in the file descriptor may lead to inconsistencies. New default handlers rtems_filesystem_default_lseek_file() and rtems_filesystem_default_lseek_directory().
* libblock: Add rtems_bdbuf_set_block_size()Sebastian Huber2012-04-121-12/+15
| | | | | | | | The new function rtems_bdbuf_set_block_size() must be used to set the block size of a disk device. It will check if the block size is valid and set the new fields block_to_media_block_shift and bds_per_group of the rtems_disk_device structure. This helps to avoid complex arithmetic operations in the block device buffer get and read path.
* libblock: Add generic IMFS block device nodesSebastian Huber2012-03-131-0/+380
New functions o rtems_blkdev_create(), and o rtems_blkdev_create_partition(). New test libtests/block11.