Searched refs:acc (Results 1 – 1 of 1) sorted by relevance
919 int acc /* Desired access type (0:Read mode open, 1:Write mode open, 2:Delete or rename) */ in chk_lock() argument936 …return (!be && acc != 2) ? FR_TOO_MANY_OPEN_FILES : FR_OK; /* Is there a blank entry for new objec… in chk_lock()940 return (acc != 0 || Files[i].ctr == 0x100) ? FR_LOCKED : FR_OK; in chk_lock()955 int acc /* Desired access (0:Read, 1:Write, 2:Delete/Rename) */ in inc_lock() argument976 if (acc >= 1 && Files[i].ctr) return 0; /* Access violation (int err) */ in inc_lock()978 Files[i].ctr = acc ? 0x100 : Files[i].ctr + 1; /* Set semaphore value */ in inc_lock()