incubator-nuttx/fs
Jukka Laitinen a0ebddaac1 fs/shm: Add initial implementation for posix shared memory
This implements the file system logic for posix shared memory:
shm_open, shm_unlink, mmap, munmap and close

For flat and protected builds the memory simply allocated from (user) heap

For kernel build the memory is allocated from page pool and mapped with MMU

This doesn't yet support protection flags or re-sizing already truncated shared
memory area.

Co-authored-by: Ville Juven <ville.juven@unikie.com>
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2023-01-18 11:01:20 +08:00
..
aio use SEM_INITIALIZER inside of NXSEM_INITIALIZER 2022-10-22 14:50:48 +08:00
binfs fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
cromfs fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
driver Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
fat fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
hostfs fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
inode fs: Correct the comment of file_allocate 2022-10-28 10:12:08 +02:00
littlefs fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
mmap fs/mmap: fix compile warning if set the optimize level to O3 2023-01-17 21:56:37 +08:00
mount fs/mount: fix logging macro in FS automount 2023-01-13 12:18:36 +08:00
mqueue fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
nfs fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
nxffs fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
partition Fixes for GPT partition parsing 2022-09-27 09:42:39 +08:00
procfs fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
romfs fs: Check offset and length more carefully in mmap callback 2023-01-04 17:43:59 +02:00
rpmsgfs fs: Check offset and length more carefully in mmap callback 2023-01-04 17:43:59 +02:00
semaphore sem_unlink: return ENOENT when the named semaphore does not exist. 2023-01-09 22:46:30 +08:00
shm fs/shm: Add initial implementation for posix shared memory 2023-01-18 11:01:20 +08:00
smartfs fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
socket vfs/fs_truncate.c:Add socket judgment to return correct errno. 2023-01-17 10:29:41 +08:00
spiffs fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
tmpfs fs: Check offset and length more carefully in mmap callback 2023-01-04 17:43:59 +02:00
unionfs fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
userfs fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
vfs vfs/poll: Remove POLLFILE and POLLSOCK NuttX specific extension 2023-01-17 14:02:59 +08:00
Kconfig FS Disable FS_LARGEFILE by default 2022-08-04 22:31:57 +08:00
Makefile tools: replace INCDIR to Makefile variable 2022-11-03 19:59:55 +08:00
fs_initialize.c fs/rpmsg: Move the server initialization to fs_initialize 2022-08-11 02:08:42 +03:00