Home
last modified time | relevance | path

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

/fatfs-2.7.6/option/
Dffsystem.c54 FF_SYNC_t* sobj /* Pointer to return the created sync object */ in ff_cre_syncobj() argument
58 *sobj = CreateMutex(NULL, FALSE, NULL); in ff_cre_syncobj()
59 return (int)(*sobj != INVALID_HANDLE_VALUE); in ff_cre_syncobj()
90 FF_SYNC_t sobj /* Sync object tied to the logical drive to be deleted */ in ff_del_syncobj() argument
94 return (int)CloseHandle(sobj); in ff_del_syncobj()
121 FF_SYNC_t sobj /* Sync object to wait */ in ff_req_grant() argument
125 return (int)(WaitForSingleObject(sobj, FF_FS_TIMEOUT) == WAIT_OBJECT_0); in ff_req_grant()
150 FF_SYNC_t sobj /* Sync object to be signaled */ in ff_rel_grant() argument
154 ReleaseMutex(sobj); in ff_rel_grant()
/fatfs-2.7.6/include/
Dff.h152 FF_SYNC_t sobj; /* Identifier of sync object */ member
373 int ff_cre_syncobj (BYTE vol, FF_SYNC_t* sobj); /* Create a sync object */
374 int ff_req_grant (FF_SYNC_t sobj); /* Lock sync object */
375 void ff_rel_grant (FF_SYNC_t sobj); /* Unlock sync object */
376 int ff_del_syncobj (FF_SYNC_t sobj); /* Delete a sync object */
/fatfs-2.7.6/
Dff.c894 return ff_req_grant(fs->sobj); in lock_fs()
904 ff_rel_grant(fs->sobj); in unlock_fs()
3627 if (!ff_del_syncobj(cfs->sobj)) return FR_INT_ERR;
3635 if (!ff_cre_syncobj((BYTE)vol, &fs->sobj)) return FR_INT_ERR;
4992 FFOBJID sobj; local
5008 sobj.fs = fs; /* New object id to create a new chain */
5009 dcl = create_chain(&sobj, 0); /* Allocate a cluster for the new directory */
5054 remove_chain(&sobj, dcl, 0); /* Could not register, remove the allocated cluster */