Searched refs:chunk (Results 1 - 8 of 8) sorted by relevance
/openwrt/target/linux/generic/files/fs/yaffs2/ |
H A D | yaffs_bitmap.c | 32 void yaffs_verify_chunk_bit_id(struct yaffs_dev *dev, int blk, int chunk) argument 35 chunk < 0 || chunk >= dev->param.chunks_per_block) { 38 blk, chunk); 50 void yaffs_clear_chunk_bit(struct yaffs_dev *dev, int blk, int chunk) argument 54 yaffs_verify_chunk_bit_id(dev, blk, chunk); 55 blk_bits[chunk / 8] &= ~(1 << (chunk & 7)); 58 void yaffs_set_chunk_bit(struct yaffs_dev *dev, int blk, int chunk) argument 62 yaffs_verify_chunk_bit_id(dev, blk, chunk); 66 yaffs_check_chunk_bit(struct yaffs_dev *dev, int blk, int chunk) argument [all...] |
H A D | yaffs_bitmap.h | 25 void yaffs_verify_chunk_bit_id(struct yaffs_dev *dev, int blk, int chunk); 27 void yaffs_clear_chunk_bit(struct yaffs_dev *dev, int blk, int chunk); 28 void yaffs_set_chunk_bit(struct yaffs_dev *dev, int blk, int chunk); 29 int yaffs_check_chunk_bit(struct yaffs_dev *dev, int blk, int chunk);
|
H A D | yaffs_yaffs1.c | 27 int chunk; local 91 /* For each chunk in each block that needs scanning.... */ 96 chunk = blk * dev->param.chunks_per_block + c; 98 result = yaffs_rd_chunk_tags_nand(dev, chunk, NULL, 101 /* Let's have a good look at this chunk... */ 106 * A deleted chunk 111 /* An unassigned chunk in the block 117 /* We're looking at the first chunk in 136 /* chunk_id > 0 so it is a data chunk... */ 154 (in, tags.chunk_id, chunk, [all...] |
H A D | yaffs_checkptrw.c | 25 static int apply_chunk_offset(struct yaffs_dev *dev, int chunk) argument 27 return chunk - dev->chunk_offset; 158 int chunk = i * dev->param.chunks_per_block; local 163 apply_chunk_offset(dev, chunk), 264 int chunk; local 282 /* First chunk we write for the block? Set block state to 290 chunk = 296 chunk, dev->checkpt_cur_block, dev->checkpt_cur_chunk, 299 offset_chunk = apply_chunk_offset(dev, chunk); 353 int chunk; local [all...] |
H A D | yaffs_nand.c | 20 static int apply_chunk_offset(struct yaffs_dev *dev, int chunk) argument 22 return chunk - dev->chunk_offset; 68 "Writing chunk %d tags %d %d",
|
H A D | yaffs_guts.c | 47 /* Function to calculate chunk and offset */ 52 int chunk; local 55 chunk = (u32) (addr >> dev->chunk_shift); 65 chunk /= dev->chunk_div; 67 chunk_base = ((loff_t) chunk) * dev->data_bytes_per_chunk; 71 *chunk_out = chunk; 246 /* Delete the chunk */ 492 int chunk; local 500 chunk = yaffs_alloc_chunk(dev, use_reserver, &bi); 501 if (chunk < 1247 yaffs_soft_del_chunk(struct yaffs_dev *dev, int chunk) argument 3408 int chunk; local 3489 int chunk; local [all...] |
H A D | yaffs_yaffs2.c | 330 /* Write chunk bits */ 397 "Checkpoint read object %d type %d chunk %d does not match existing object type %d", 415 "Checkpoint read object %d parent %d type %d chunk %d Parent type, %d, not directory", 561 "Checkpoint write object %d parent %d type %d chunk %d obj addr %p", 605 "Checkpoint read object %d parent %d type %d chunk %d ", 951 int chunk = blk * dev->param.chunks_per_block + chunk_in_block; local 962 result = yaffs_rd_chunk_tags_nand(dev, chunk, NULL, &tags); 968 /* Let's have a good look at this chunk... */ 971 /* An unassigned chunk in the block. 973 * it is a chunk tha [all...] |
/openwrt/scripts/ |
H A D | checkpatch.pl | 2959 for my $chunk (@chunks) { 2960 my ($cond, $block) = @{$chunk}; 3048 #print "APW: ALLOWED: chunk-1 block<$block>\n";
|
Completed in 98 milliseconds