Searched refs:chunk_bits (Results 1 – 6 of 6) sorted by relevance
28 return dev->chunk_bits + in yaffs_block_bits()
2250 if (dev->chunk_bits_alt && dev->chunk_bits) in yaffs_deinit_blocks()2251 vfree(dev->chunk_bits); in yaffs_deinit_blocks()2253 kfree(dev->chunk_bits); in yaffs_deinit_blocks()2255 dev->chunk_bits = NULL; in yaffs_deinit_blocks()2263 dev->chunk_bits = NULL; in yaffs_init_blocks()2282 dev->chunk_bits = in yaffs_init_blocks()2284 if (!dev->chunk_bits) { in yaffs_init_blocks()2285 dev->chunk_bits = in yaffs_init_blocks()2291 if (!dev->chunk_bits) in yaffs_init_blocks()2296 memset(dev->chunk_bits, 0, dev->chunk_bit_stride * n_blocks); in yaffs_init_blocks()
332 ok = (yaffs2_checkpt_wr(dev, dev->chunk_bits, n_bytes) == n_bytes); in yaffs2_wr_checkpt_dev()363 ok = (yaffs2_checkpt_rd(dev, dev->chunk_bits, n_bytes) == n_bytes); in yaffs2_rd_checkpt_dev()
674 u8 *chunk_bits; /* bitmap of chunks in use */ member
571 unsigned int chunk_bits; in map_cont_bufs() local655 chunk_bits = ilog2(srv->queue_depth - 1) + 1; in map_cont_bufs()656 srv_path->mem_bits = (MAX_IMM_PAYL_BITS - chunk_bits); in map_cont_bufs()
1409 unsigned int chunk_bits; in alloc_permits() local1422 chunk_bits = ilog2(clt->queue_depth - 1) + 1; in alloc_permits()1428 permit->mem_off = i << (MAX_IMM_PAYL_BITS - chunk_bits); in alloc_permits()