Home
last modified time | relevance | path

Searched refs:chunks_per_block (Results 1 – 15 of 15) sorted by relevance

/u-boot/fs/yaffs2/
A Dyaffs_summary.c80 sum_bytes = dev->param.chunks_per_block * in yaffs_summary_init()
87 dev->chunks_per_summary = dev->param.chunks_per_block - chunks_used; in yaffs_summary_init()
140 chunk_in_nand = dev->alloc_block * dev->param.chunks_per_block + in yaffs_summary_write()
199 chunk_in_nand = blk * dev->param.chunks_per_block + in yaffs_summary_read()
253 int block_in_nand = chunk_in_nand / dev->param.chunks_per_block; in yaffs_summary_add()
254 int chunk_in_block = chunk_in_nand % dev->param.chunks_per_block; in yaffs_summary_add()
302 i < dev->param.chunks_per_block; in yaffs_summary_gc()
A Dyaffs_checkptrw.c52 dev->param.chunks_per_block; in yaffs_checkpt_erase()
110 int chunk = i * dev->param.chunks_per_block; in yaffs2_checkpt_find_block()
232 dev->checkpt_cur_block * dev->param.chunks_per_block + in yaffs2_checkpt_flush_buffer()
249 if (dev->checkpt_cur_chunk >= dev->param.chunks_per_block) { in yaffs2_checkpt_flush_buffer()
319 dev->param.chunks_per_block + in yaffs2_checkpt_rd()
343 dev->param.chunks_per_block) in yaffs2_checkpt_rd()
384 dev->blocks_in_checkpt * dev->param.chunks_per_block; in yaffs_checkpt_close()
A Dyaffs_tagscompat.c130 if (nand_chunk < dev->param.start_block * dev->param.chunks_per_block) { in yaffs_wr_nand()
264 int flash_block = nand_chunk / dev->param.chunks_per_block; in yaffs_handle_rd_data_error()
369 yaffs_wr_nand(dev, flash_block * dev->param.chunks_per_block, NULL, in yaffs_tags_compat_mark_bad()
371 yaffs_wr_nand(dev, flash_block * dev->param.chunks_per_block + 1, in yaffs_tags_compat_mark_bad()
394 yaffs_rd_chunk_nand(dev, block_no * dev->param.chunks_per_block, NULL, in yaffs_tags_compat_query_block()
396 yaffs_rd_chunk_nand(dev, block_no * dev->param.chunks_per_block + 1, in yaffs_tags_compat_query_block()
A Dyaffs_verify.c77 bi->pages_in_use > dev->param.chunks_per_block || in yaffs_verify_blk()
79 bi->soft_del_pages > dev->param.chunks_per_block || in yaffs_verify_blk()
80 actually_used < 0 || actually_used > dev->param.chunks_per_block) in yaffs_verify_blk()
327 chunk_min = dev->internal_start_block * dev->param.chunks_per_block; in yaffs_verify_obj()
329 (dev->internal_end_block + 1) * dev->param.chunks_per_block - 1; in yaffs_verify_obj()
336 obj->hdr_chunk / dev->param.chunks_per_block, in yaffs_verify_obj()
337 obj->hdr_chunk % dev->param.chunks_per_block); in yaffs_verify_obj()
A Dyaffs_mtdif2.c184 blockNo * dev->param.chunks_per_block * in nandmtd2_MarkNANDBlockBad()
203 blockNo * dev->param.chunks_per_block * in nandmtd2_QueryNANDBlock()
215 dev->param.chunks_per_block, NULL, in nandmtd2_QueryNANDBlock()
A Dyaffs_yaffs1.c75 dev->n_free_chunks += dev->param.chunks_per_block; in yaffs1_scan()
93 !alloc_failed && c < dev->param.chunks_per_block && in yaffs1_scan()
96 chunk = blk * dev->param.chunks_per_block + c; in yaffs1_scan()
133 (dev->param.chunks_per_block - c); in yaffs1_scan()
A Dyaffs_guts.c621 flash_block * dev->param.chunks_per_block; in yaffs_retire_block()
968 the_chunk % dev->param.chunks_per_block)) { in yaffs_find_chunk_in_group()
1186 block_no = chunk / dev->param.chunks_per_block; in yaffs_soft_del_chunk()
2352 block_no * dev->param.chunks_per_block + i)) { in yaffs_block_became_dirty()
2689 threshold = dev->param.chunks_per_block; in yaffs_find_gc_block()
2729 pages_used < dev->param.chunks_per_block && in yaffs_find_gc_block()
2937 block = chunk_id / dev->param.chunks_per_block; in yaffs_chunk_del()
2938 page = chunk_id % dev->param.chunks_per_block; in yaffs_chunk_del()
3395 in->my_dev->param.chunks_per_block); in yaffs_update_oh()
3711 dev->param.chunks_per_block)) { in yaffs_prune_chunks()
[all …]
A Dyaffs_mtdif.c139 * dev->param.chunks_per_block; in nandmtd_EraseBlockInNAND()
145 ei.len = dev->data_bytes_per_chunk * dev->param.chunks_per_block; in nandmtd_EraseBlockInNAND()
A Dyaffs_nandif.c171 chunkNo = blockId * dev->param.chunks_per_block; in ynandif_QueryNANDBlock()
237 param->chunks_per_block = geometry->pagesPerBlock; in yaffs_add_dev_from_geometry()
A Dyaffs_bitmap.c35 chunk < 0 || chunk >= dev->param.chunks_per_block) { in yaffs_verify_chunk_bit_id()
A Dyaffs_nand.c45 dev->param.chunks_per_block); in yaffs_rd_chunk_tags_nand()
A Dyaffs_yaffs2.c59 dev->param.chunks_per_block && in yaffs_calc_oldest_dirty_seq()
239 dev->param.chunks_per_block)) + 3; in yaffs_calc_checkpt_blocks_required()
951 int chunk = blk * dev->param.chunks_per_block + chunk_in_block; in yaffs2_scan_chunk()
1417 dev->n_free_chunks += dev->param.chunks_per_block; in yaffs2_scan_backwards()
1474 c = dev->param.chunks_per_block - 1; in yaffs2_scan_backwards()
A Dyaffs_uboot_glue.c227 dev->param.chunks_per_block = mtd->erasesize / mtd->writesize; in cmd_yaffs_devconfig()
A Dyaffs_guts.h527 int chunks_per_block; /* does not need to be a power of 2 */ member
A Dyaffsfs.c2701 retVal *= dev->param.chunks_per_block; in yaffs_totalspace()

Completed in 29 milliseconds