zephyr/subsys/fs
Pavel Hübner 104714394f kernel: Introduce K_MEM_SLAB_DEFINE_STATIC
As the already existing macro K_MEM_SLAB_DEFINE results in
two variable definitions, the preceding static modifier leads to
a seemingly working solution, though linkage conflicts will occur
when the same memory slab name is used across multiple modules.

The new K_MEM_SLAB_DEFINE_STATIC macro duplicates the functionality of
K_MEM_SLAB_DEFINE with the difference that the static keywords are
internally prepended before both variable definitions.

The implementation has been tested on my Zephyr project (the build
issue faded out). The documentation has been updated altogether
with all incorrect occurences of static K_MEM_SLAB_DEFINE.

Signed-off-by: Pavel Hübner <pavel.hubner@hardwario.com>
2021-11-07 05:36:48 -05:00
..
fcb fs/fcb: Enable FCB to work with non-0xff erase value flash 2020-11-16 13:39:04 +01:00
nvs fs/nvs: prevent use after clear without init 2021-07-20 13:34:45 +02:00
CMakeLists.txt fs: remove NFFS subsystem 2020-01-21 15:32:47 +01:00
fat_fs.c fs: fat_fs: Fix fs_statvfs when using variable sector sizes 2021-08-26 06:53:57 -04:00
fs.c fs: core: remove include of <sys/stat.h> from fs.c. 2021-10-16 06:30:23 -04:00
fs_impl.c subsys/fs: add implementation helper module 2019-07-22 12:46:50 +02:00
fs_impl.h include: Fix use of <fs.h> -> <fs/fs.h> 2019-12-10 08:39:37 -05:00
fuse_fs_access.c fs: Add fs_dir_t type variable initializations 2021-02-05 07:32:20 -05:00
Kconfig fs: Move FAT FS Kconfig options to Kconfig.fatfs 2020-10-14 13:19:47 -05:00
Kconfig.fatfs kconfig: add names to some choices 2021-09-28 19:56:32 -04:00
Kconfig.littlefs fs: allow to configure per-alloaction heap overhead 2021-10-29 06:09:43 -04:00
littlefs_fs.c kernel: Introduce K_MEM_SLAB_DEFINE_STATIC 2021-11-07 05:36:48 -05:00
shell.c fs/shell: Fix formatting for output of ssize_t variable 2021-10-28 11:19:04 +02:00