Lines Matching defs:blk
25 int blk;
51 for (blk = dev->internal_start_block; blk <= dev->internal_end_block;
52 blk++) {
53 yaffs_clear_chunk_bits(dev, blk);
57 yaffs_query_init_block_state(dev, blk, &state, &seq_number);
67 blk, state, seq_number);
71 "block %d is bad", blk);
81 for (blk = dev->internal_start_block;
82 !alloc_failed && blk <= dev->internal_end_block; blk++) {
86 bi = yaffs_get_block_info(dev, blk);
96 chunk = blk * dev->param.chunks_per_block + c;
125 blk, c);
127 dev->alloc_block = blk;
129 dev->alloc_block_finder = blk;
139 yaffs_set_chunk_bit(dev, blk, c);
181 yaffs_set_chunk_bit(dev, blk, c);
375 yaffs_block_became_dirty(dev, blk);