incubator-nuttx/fs/inode
chenrun1 4cec713dbf fs_inode:Change the type of i_crefs to atomic_int
Summary:
  1.Modified the i_crefs from int16_t to atomic_int
  2.Modified the i_crefs add, delete, read, and initialize interfaces to atomic operations
The purpose of this change is to avoid deadlock in cross-core scenarios, where A Core blocks B Core’s request for a write operation to A Core when A Core requests a read operation to B Core.

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2024-09-23 14:07:03 +08:00
..
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Make.defs
fs_files.c fs/mmap/msync:support msync. 2024-09-19 01:43:50 +08:00
fs_foreachinode.c Revert "sched: replace some global variables to macro" 2024-06-06 22:00:25 +08:00
fs_inode.c
fs_inodeaddref.c fs_inode:Change the type of i_crefs to atomic_int 2024-09-23 14:07:03 +08:00
fs_inodebasename.c
fs_inodefind.c fs_inode:Change the type of i_crefs to atomic_int 2024-09-23 14:07:03 +08:00
fs_inodefree.c
fs_inodegetpath.c fs/vfs: Add a new argument(size_t len) to inode_getpath 2023-05-08 09:57:01 +02:00
fs_inoderelease.c fs_inode:Change the type of i_crefs to atomic_int 2024-09-23 14:07:03 +08:00
fs_inoderemove.c fs_inode:Change the type of i_crefs to atomic_int 2024-09-23 14:07:03 +08:00
fs_inodereserve.c fs_inode:Change the type of i_crefs to atomic_int 2024-09-23 14:07:03 +08:00
fs_inodesearch.c Revert "sched: replace some global variables to macro" 2024-06-06 22:00:25 +08:00
inode.h fs: tweak backtrace for file open 2024-06-30 17:30:42 +08:00