Home
last modified time | relevance | path

Searched refs:Files (Results 1 – 1 of 1) sorted by relevance

/fatfs-2.7.6/
Dff.c472 static FILESEM Files[FF_FS_LOCK]; /* Open object lock semaphores */ variable
927 if (Files[i].fs) { /* Existing entry */ in chk_lock()
928 if (Files[i].fs == dp->obj.fs && /* Check if the object matches with an open object */ in chk_lock()
929 Files[i].clu == dp->obj.sclust && in chk_lock()
930 Files[i].ofs == dp->dptr) break; in chk_lock()
940 return (acc != 0 || Files[i].ctr == 0x100) ? FR_LOCKED : FR_OK; in chk_lock()
948 for (i = 0; i < FF_FS_LOCK && Files[i].fs; i++) ; in enq_lock()
962 if (Files[i].fs == dp->obj.fs in inc_lock()
963 && Files[i].clu == dp->obj.sclust in inc_lock()
964 && Files[i].ofs == dp->dptr) break; in inc_lock()
[all …]