Lines Matching refs:useCount
81 short int useCount; member
146 if (h && h->useCount > 0 && h->fdId >= 0 && h->fdId < YAFFSFS_N_HANDLES) in yaffsfs_HandleToFileDes()
268 if (h->useCount < 1) { in yaffsfs_NewHandle()
271 h->useCount = 1; in yaffsfs_NewHandle()
302 h->useCount = 0; in yaffsfs_NewHandleAndFileDes()
316 if (h && h->useCount > 0) { in yaffsfs_GetHandle()
317 h->useCount++; in yaffsfs_GetHandle()
350 if (h && h->useCount > 0) { in yaffsfs_PutHandle()
351 h->useCount--; in yaffsfs_PutHandle()
352 if (h->useCount < 1) { in yaffsfs_PutHandle()
371 if (h && h->useCount > 0) { in yaffsfs_BreakDeviceHandles()
372 h->useCount = 0; in yaffsfs_BreakDeviceHandles()