Lines Matching refs:blk_bits
45 u8 *blk_bits = yaffs_block_bits(dev, blk); in yaffs_clear_chunk_bits() local
47 memset(blk_bits, 0, dev->chunk_bit_stride); in yaffs_clear_chunk_bits()
52 u8 *blk_bits = yaffs_block_bits(dev, blk); in yaffs_clear_chunk_bit() local
55 blk_bits[chunk / 8] &= ~(1 << (chunk & 7)); in yaffs_clear_chunk_bit()
60 u8 *blk_bits = yaffs_block_bits(dev, blk); in yaffs_set_chunk_bit() local
63 blk_bits[chunk / 8] |= (1 << (chunk & 7)); in yaffs_set_chunk_bit()
68 u8 *blk_bits = yaffs_block_bits(dev, blk); in yaffs_check_chunk_bit() local
71 return (blk_bits[chunk / 8] & (1 << (chunk & 7))) ? 1 : 0; in yaffs_check_chunk_bit()
76 u8 *blk_bits = yaffs_block_bits(dev, blk); in yaffs_still_some_chunks() local
80 if (*blk_bits) in yaffs_still_some_chunks()
82 blk_bits++; in yaffs_still_some_chunks()
89 u8 *blk_bits = yaffs_block_bits(dev, blk); in yaffs_count_chunk_bits() local
93 for (i = 0; i < dev->chunk_bit_stride; i++, blk_bits++) in yaffs_count_chunk_bits()
94 n += hweight8(*blk_bits); in yaffs_count_chunk_bits()