Lines Matching refs:FF_FS_LOCK
256 #if FF_FS_LOCK != 0
258 #error FF_FS_LOCK must be 0 at read-only configuration
445 #if FF_FS_LOCK != 0
446 static FILESEM Files[FF_FS_LOCK]; /* Open object lock semaphores */
929 #if FF_FS_LOCK != 0
943 for (i = 0; i < FF_FS_LOCK; i++) { in chk_lock()
952 if (i == FF_FS_LOCK) { /* The object has not been opened */ in chk_lock()
965 for (i = 0; i < FF_FS_LOCK && Files[i].fs; i++) ; in enq_lock()
966 return (i == FF_FS_LOCK) ? 0 : 1; in enq_lock()
978 for (i = 0; i < FF_FS_LOCK; i++) { /* Find the object */ in inc_lock()
984 if (i == FF_FS_LOCK) { /* Not opened. Register it as new. */ in inc_lock()
985 for (i = 0; i < FF_FS_LOCK && Files[i].fs; i++) ; in inc_lock()
986 if (i == FF_FS_LOCK) return 0; /* No free entry to register (int err) */ in inc_lock()
1009 if (--i < FF_FS_LOCK) { /* Index number origin from 0 */ in dec_lock()
1029 for (i = 0; i < FF_FS_LOCK; i++) { in clear_lock()
3442 #if FF_FS_LOCK != 0 /* Clear file lock semaphores */
3517 #if FF_FS_LOCK != 0
3577 #if FF_FS_LOCK != 0
3587 #if FF_FS_LOCK != 0
3655 #if FF_FS_LOCK != 0
4053 #if FF_FS_LOCK != 0
4454 #if FF_FS_LOCK != 0
4491 #if FF_FS_LOCK != 0
4796 #if FF_FS_LOCK != 0
4971 #if FF_FS_LOCK != 0