Searched refs:YAFFSFS_N_HANDLES (Results 1 – 2 of 2) sorted by relevance
96 static struct yaffsfs_Inode yaffsfs_inode[YAFFSFS_N_HANDLES];97 static struct yaffsfs_FileDes yaffsfs_fd[YAFFSFS_N_HANDLES];98 static struct yaffsfs_Handle yaffsfs_handle[YAFFSFS_N_HANDLES];129 for (i = 0; i < YAFFSFS_N_HANDLES; i++) in yaffsfs_InitHandles()131 for (i = 0; i < YAFFSFS_N_HANDLES; i++) in yaffsfs_InitHandles()137 if (h >= 0 && h < YAFFSFS_N_HANDLES) in yaffsfs_HandleToPointer()146 if (h && h->useCount > 0 && h->fdId >= 0 && h->fdId < YAFFSFS_N_HANDLES) in yaffsfs_HandleToFileDes()157 fd->inodeId >= 0 && fd->inodeId < YAFFSFS_N_HANDLES) in yaffsfs_HandleToInode()187 for (i = 0; i < YAFFSFS_N_HANDLES && ret < 0; i++) { in yaffsfs_FindInodeIdForObject()209 for (i = 0; i < YAFFSFS_N_HANDLES && ret < 0; i++) { in yaffsfs_GetInodeIdForObject()[all …]
28 #define YAFFSFS_N_HANDLES 100 macro