nuttx/fs/vfs
chenrun1 c528244f19 fs_lock:Fixed the problem that in multi-threaded situations, the bucket may be deleted by other factors during the search process, resulting in assertion.
hsearch_r(item = (key = 0x61492174,data = ?),action = ?, retval = 0x6266AC44, htab = 0x6159B758) H 1tem = Ckey = 0x61492174, data= :
 · action = ?
  retval = 0x6266AC44
  htab = 0x6159B758
  haad - 0x61616300
  ie= 0×38

file_lock_find_bucket(inline)
  filepath = 0x61492174
  hretvalue = 0x6055991D
  item = (key = 0x61492174, data = 0x0)

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2024-08-22 01:54:22 +08:00
..
CMakeLists.txt fs/vfs:cmakelists add fs_lock config 2024-02-21 13:29:36 -03:00
fs_chstat.c
fs_close.c fs:notify add support for inotify 2024-08-22 01:50:37 +08:00
fs_dir.c Revert "Don't call lib_free in the kernel code" 2023-08-08 11:58:29 -03:00
fs_dup2.c fs: add backtrace to where file opens 2024-06-24 23:53:59 +08:00
fs_dup.c fs/dup3: impletement dup3/nx_dup3_from_tcb function 2023-10-27 21:15:07 +08:00
fs_epoll.c fs/epoll: Double array size when it is full 2024-08-17 00:19:15 +02:00
fs_eventfd.c poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
fs_fchstat.c fs:notify add support for inotify 2024-08-22 01:50:37 +08:00
fs_fcntl.c filelock:Move filelock call to ioctl 2024-08-18 19:56:49 +08:00
fs_fstat.c libc/modlib: Replace nx_stat with file_stat 2023-07-06 09:20:24 -03:00
fs_fstatfs.c fs: move memset to upper lever for statfs 2023-06-16 11:10:25 +08:00
fs_fsync.c Revert commit 35602cc2ef 2023-08-25 20:37:38 +03:00
fs_ioctl.c filelock:Move filelock call to ioctl 2024-08-18 19:56:49 +08:00
fs_link.c fs: Implment link as a normal function instead macro 2023-02-04 18:31:23 -03:00
fs_lock.c fs_lock:Fixed the problem that in multi-threaded situations, the bucket may be deleted by other factors during the search process, resulting in assertion. 2024-08-22 01:54:22 +08:00
fs_lseek.c compiler/tasking: fix unreachable code on tasking toolchain 2024-01-30 20:53:00 -08:00
fs_mkdir.c fs:notify add support for inotify 2024-08-22 01:50:37 +08:00
fs_open.c fs:notify add support for inotify 2024-08-22 01:50:37 +08:00
fs_poll.c fs/poll: Compute tick from millisecond by MSEC2TICK 2024-08-17 00:19:15 +02:00
fs_pread.c
fs_pseudofile.c fs:notify add support for inotify 2024-08-22 01:50:37 +08:00
fs_pwrite.c
fs_read.c fs:notify add support for inotify 2024-08-22 01:50:37 +08:00
fs_readlink.c
fs_rename.c fs:notify add support for inotify 2024-08-22 01:50:37 +08:00
fs_rmdir.c fs:notify add support for inotify 2024-08-22 01:50:37 +08:00
fs_select.c libc/fdcheck: add fdcheck module 2023-06-10 02:19:58 +08:00
fs_sendfile.c sendfile: Fixed behavior of sendfile when count is set to zero. 2023-06-22 16:10:58 +08:00
fs_signalfd.c poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
fs_stat.c fs/shmfs: Fix stat() system call for shmfs object 2024-02-02 09:12:18 -08:00
fs_statfs.c fs: move memset to upper lever for statfs 2023-06-16 11:10:25 +08:00
fs_symlink.c fs:notify add support for inotify 2024-08-22 01:50:37 +08:00
fs_syncfs.c fs: Add VFS docs 2024-02-20 18:28:09 -08:00
fs_timerfd.c poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
fs_truncate.c fs/vfs: ftruncate produce EINVAL if fd is not open for writing 2023-08-02 22:57:28 -07:00
fs_unlink.c fs:notify add support for inotify 2024-08-22 01:50:37 +08:00
fs_write.c fs:notify add support for inotify 2024-08-22 01:50:37 +08:00
Kconfig fs: add backtrace to where file opens 2024-06-24 23:53:59 +08:00
lock.h fs_lock:Implementing file locks 2024-02-21 13:29:36 -03:00
Make.defs fs_lock:Implementing file locks 2024-02-21 13:29:36 -03:00