Searched refs:sobj (Results 1 – 3 of 3) sorted by relevance
54 FF_SYNC_t* sobj /* Pointer to return the created sync object */ in ff_cre_syncobj() argument58 *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() argument94 return (int)CloseHandle(sobj); in ff_del_syncobj()121 FF_SYNC_t sobj /* Sync object to wait */ in ff_req_grant() argument125 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() argument154 ReleaseMutex(sobj); in ff_rel_grant()
152 FF_SYNC_t sobj; /* Identifier of sync object */ member373 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 */
894 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; local5008 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 */