Lines Matching refs:fdId
80 short int fdId; member
132 yaffsfs_handle[i].fdId = -1; in yaffsfs_InitHandles()
146 if (h && h->useCount > 0 && h->fdId >= 0 && h->fdId < YAFFSFS_N_HANDLES) in yaffsfs_HandleToFileDes()
147 return &yaffsfs_fd[h->fdId]; in yaffsfs_HandleToFileDes()
270 h->fdId = -1; in yaffsfs_NewHandle()
296 h->fdId = i; in yaffsfs_NewHandleAndFileDes()
329 static int yaffsfs_PutFileDes(int fdId) in yaffsfs_PutFileDes() argument
333 if (fdId >= 0 && fdId < YAFFSFS_N_HANDLES) { in yaffsfs_PutFileDes()
334 fd = &yaffsfs_fd[fdId]; in yaffsfs_PutFileDes()
353 yaffsfs_PutFileDes(h->fdId); in yaffsfs_PutHandle()
354 h->fdId = -1; in yaffsfs_PutHandle()
373 h->fdId = 0; in yaffsfs_BreakDeviceHandles()
748 newHandle->fdId = existingHandle->fdId; in yaffs_dup()