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