summaryrefslogtreecommitdiffstats
path: root/cpukit/libblock/src/media.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cpukit/libblock: Ignore error notify return valueKinsey Moore2024-01-311-1/+1
| | | | This is already in the error path.
* cpukit/libblock: Ignore return value on error pathKinsey Moore2024-01-291-1/+1
|
* cpukit: Remove or use unused variable assignmentsKinsey Moore2024-01-161-1/+1
|
* Update company nameSebastian Huber2023-05-201-1/+1
| | | | | The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
* cpukit/: Scripted embedded brains header file clean upJoel Sherrill2022-03-101-6/+0
| | | | Updates #4625.
* cpukit/libblock: Change license to BSD-2Joel Sherrill2022-02-281-3/+22
| | | | Updates #3053.
* dosfs: Fix memory leak on failed mounts.Christian Mauderer2020-08-041-0/+1
| | | | | | | | | | | | | | | | | | | | Currently if mount fails, a converter isn't destroyed. We have to take care of two cases: 1. The user doesn't provide a converter. In this case mounting a dosfs creates a default converter. This patch makes sure that the converter is destroyed again if mount failes for this case. 2. The user provides a converter. In this case it's not sure that the dosfs specific routines are reached because mount can fail before that. Therefore the user has to destroy the converter himself again. This patch adds a documentation for that and implements it in the media server. Closes #4042.
* media-server: Add ability for retry.Christian Mauderer2020-07-171-13/+17
| | | | | | This adds the possibility to request a retry in the media-listener if an operation failed. Usefull for example if you want to automatically reformat a disk if it wasn't possible to mount it.
* libblock: Use self-contained mutex for mediaSebastian Huber2018-02-071-68/+35
| | | | Update #2843.
* libblock: Fix for RTEMS_DEBUGSebastian Huber2016-11-241-0/+2
|
* libblock: Drop superfluous <stdlib.h> includeSebastian Huber2016-04-071-0/+1
| | | | | | Drop superfluous <stdlib.h> include from <rtems/diskdevs.h> since this leads to conflicts with the latest Newlib in case this header file is used in the FreeBSD kernel space, e.g. for USB mass storage support.
* libblock: Avoid NULL pointer accessSebastian Huber2015-11-021-1/+3
|
* basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber2015-10-261-5/+5
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* libblock: Use unprotected chain extractSebastian Huber2013-08-271-1/+1
| | | | This area is protected by the media mutex.
* libblock: Use UTF-8 converter in media managerSebastian Huber2013-06-041-3/+10
|
* libblock: Use new API for disk mediaSebastian Huber2012-03-131-57/+14
|
* libblock: Change bdbuf APISebastian Huber2012-03-131-4/+11
| | | | | | | | | | | | | | | | | | | | The functions o rtems_bdbuf_get(), o rtems_bdbuf_read(), o rtems_bdbuf_syncdev(), and o rtems_bdbuf_purge_dev(), use now the disk device instead of the device identifier. This makes bdbuf independent of rtems_disk_obtain() and rtems_disk_release(). It is the responsiblity of the file system to obtain the disk device. This also reduces the overhead to get a buffer. The key for the AVL tree uses now the disk device instead of the device identifier. The pointer is interpreted as an unsigned integer. This reduces the memory overhead and makes the comparison operation a bit faster. Removed function rtems_bdbuf_purge_major(). This function was too destructive and could have unpredictable side effects.
* 2010-08-25 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-08-251-1/+1
| | | | | CID 114/SECURE_CODING * libblock/src/media.c: Avoid strcpy().
* 2010-08-13 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-08-131-1/+1
| | | | * libblock/src/media.c: Use unprotected chain extract.
* 2010-08-13 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-08-131-0/+1012
* libblock/include/rtems/media.h, libblock/src/media-desc.c, libblock/src/media-dev-ident.c, libblock/src/media-path.c, libblock/src/media-server.c, libblock/src/media.c: New files. * Makefile.am, preinstall.am, libblock/Makefile.am: Reflect changes above.