Searched refs:tnode_size (Results 1 – 4 of 4) sorted by relevance
116 new_tnodes = kmalloc(n_tnodes * dev->tnode_size, GFP_NOFS); in yaffs_create_tnodes()127 curr = (struct yaffs_tnode *)&mem[i * dev->tnode_size]; in yaffs_create_tnodes()128 next = (struct yaffs_tnode *)&mem[(i + 1) * dev->tnode_size]; in yaffs_create_tnodes()132 curr = (struct yaffs_tnode *)&mem[(n_tnodes - 1) * dev->tnode_size]; in yaffs_create_tnodes()
229 n_bytes += (dev->tnode_size + sizeof(u32)) * dev->n_tnodes; in yaffs_calc_checkpt_blocks_required()476 ok = (yaffs2_checkpt_wr(dev, tn, dev->tnode_size) == in yaffs2_checkpt_tnode_worker()477 dev->tnode_size); in yaffs2_checkpt_tnode_worker()519 ok = (yaffs2_checkpt_rd(dev, tn, dev->tnode_size) == in yaffs2_rd_checkpt_tnodes()520 dev->tnode_size); in yaffs2_rd_checkpt_tnodes()
637 u32 tnode_size; member
710 memset(tn, 0, dev->tnode_size); in yaffs_get_tnode()1734 int tnode_size_u32 = dev->tnode_size / sizeof(u32); in yaffs_prune_worker()4715 dev->tnode_size = (dev->tnode_width * YAFFS_NTNODES_LEVEL0) / 8; in yaffs_guts_initialise()4716 if (dev->tnode_size < sizeof(struct yaffs_tnode)) in yaffs_guts_initialise()4717 dev->tnode_size = sizeof(struct yaffs_tnode); in yaffs_guts_initialise()
Completed in 16 milliseconds