Lines Matching refs:yaffs_tnode
35 struct yaffs_tnode *tnodes;
45 struct yaffs_tnode *free_tnodes;
100 struct yaffs_tnode *new_tnodes; in yaffs_create_tnodes()
102 struct yaffs_tnode *curr; in yaffs_create_tnodes()
103 struct yaffs_tnode *next; in yaffs_create_tnodes()
126 curr = (struct yaffs_tnode *)&mem[i * dev->tnode_size]; in yaffs_create_tnodes()
127 next = (struct yaffs_tnode *)&mem[(i + 1) * dev->tnode_size]; in yaffs_create_tnodes()
131 curr = (struct yaffs_tnode *)&mem[(n_tnodes - 1) * dev->tnode_size]; in yaffs_create_tnodes()
133 allocator->free_tnodes = (struct yaffs_tnode *)mem; in yaffs_create_tnodes()
158 struct yaffs_tnode *yaffs_alloc_raw_tnode(struct yaffs_dev *dev) in yaffs_alloc_raw_tnode()
162 struct yaffs_tnode *tn = NULL; in yaffs_alloc_raw_tnode()
183 void yaffs_free_raw_tnode(struct yaffs_dev *dev, struct yaffs_tnode *tn) in yaffs_free_raw_tnode()