Lines Matching refs:ctr
289 WORD ctr; /* Object open counter, 0:none, 0x01..0xFF:read mode open count, 0x100:write mode */ member
940 return (acc != 0 || Files[i].ctr == 0x100) ? FR_LOCKED : FR_OK; in chk_lock()
973 Files[i].ctr = 0; in inc_lock()
976 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()
993 n = Files[i].ctr; in dec_lock()
996 Files[i].ctr = n; in dec_lock()
1282 DWORD val, scl, ctr; in find_bitmap() local
1287 scl = val = clst; ctr = 0; in find_bitmap()
1298 if (++ctr == ncl) return scl + 2; /* Check if run length is sufficient for required */ in find_bitmap()
1300 scl = val; ctr = 0; /* Encountered a cluster in-use, restart to scan */ in find_bitmap()