Searched refs:nTnodes (Results 1 - 1 of 1) sorted by relevance

/external/yaffs2/yaffs2/
H A Dyaffs_guts.c597 static int yaffs_CreateTnodes(yaffs_Device * dev, int nTnodes) argument
607 if (nTnodes < 1)
616 newTnodes = YMALLOC(nTnodes * tnodeSize);
627 for (i = 0; i < nTnodes - 1; i++) {
634 newTnodes[nTnodes - 1].internal[0] = dev->freeTnodes;
636 newTnodes[nTnodes - 1].internal[YAFFS_NTNODES_INTERNAL] = (void *)1;
641 for(i = 0; i < nTnodes -1; i++) {
647 curr = (yaffs_Tnode *) &mem[(nTnodes - 1) * tnodeSize];
654 dev->nFreeTnodes += nTnodes;
655 dev->nTnodesCreated += nTnodes;
[all...]

Completed in 1622 milliseconds