Lines Matching refs:FF_FS_LOCK
190 #if FF_FS_LOCK != 0
192 #error FF_FS_LOCK must be 0 at read-only configuration
380 #if FF_FS_LOCK != 0
381 static FILESEM Files[FF_FS_LOCK]; /* Open object lock semaphores */
763 #if FF_FS_LOCK != 0
777 for (i = 0; i < FF_FS_LOCK; i++) { in chk_lock()
786 if (i == FF_FS_LOCK) { /* The object has not been opened */ in chk_lock()
799 for (i = 0; i < FF_FS_LOCK && Files[i].fs; i++) ; in enq_lock()
800 return (i == FF_FS_LOCK) ? 0 : 1; in enq_lock()
812 for (i = 0; i < FF_FS_LOCK; i++) { /* Find the object */ in inc_lock()
818 if (i == FF_FS_LOCK) { /* Not opened. Register it as new. */ in inc_lock()
819 for (i = 0; i < FF_FS_LOCK && Files[i].fs; i++) ; in inc_lock()
820 if (i == FF_FS_LOCK) return 0; /* No free entry to register (int err) */ in inc_lock()
843 if (--i < FF_FS_LOCK) { /* Index number origin from 0 */ in dec_lock()
863 for (i = 0; i < FF_FS_LOCK; i++) { in clear_lock()
873 for (i = 0; i < FF_FS_LOCK; i++) { in empty_lock()
883 #if FF_FS_LOCK != 0 in f_checkopenlock()
2932 #if FF_FS_LOCK != 0 /* Clear file lock semaphores */ in mount_volume()
3050 #if FF_FS_LOCK != 0 in f_mount()
3304 #if FF_FS_LOCK != 0 in f_open()
3315 #if FF_FS_LOCK != 0 in f_open()
3392 #if FF_FS_LOCK != 0 in f_open()
3427 #if FF_FS_LOCK != 0 in f_open()
3492 #if FF_FS_LOCK != 0 in f_open()
3850 #if FF_FS_LOCK != 0 in f_close()
4216 #if FF_FS_LOCK != 0 in f_opendir()
4253 #if FF_FS_LOCK != 0 in f_closedir()
4663 #if FF_FS_LOCK != 0 in f_unlink()
4897 #if FF_FS_LOCK != 0