Searched refs:data_bytes_per_chunk (Results 1 – 11 of 11) sorted by relevance
/openbmc/u-boot/fs/yaffs2/ |
H A D | yaffs_mtdif.c | 69 loff_t addr = ((loff_t) chunkInNAND) * dev->data_bytes_per_chunk; in nandmtd_WriteChunkToNAND() 73 retval = mtd_write(mtd, addr, dev->data_bytes_per_chunk, in nandmtd_WriteChunkToNAND() 84 ops.len = data ? dev->data_bytes_per_chunk : ops.ooblen; in nandmtd_WriteChunkToNAND() 105 loff_t addr = ((loff_t) chunkInNAND) * dev->data_bytes_per_chunk; in nandmtd_ReadChunkFromNAND() 109 retval = mtd_read(mtd, addr, dev->data_bytes_per_chunk, in nandmtd_ReadChunkFromNAND() 119 ops.len = data ? dev->data_bytes_per_chunk : ops.ooblen; in nandmtd_ReadChunkFromNAND() 138 ((loff_t) blockNumber) * dev->data_bytes_per_chunk in nandmtd_EraseBlockInNAND() 145 ei.len = dev->data_bytes_per_chunk * dev->param.chunks_per_block; in nandmtd_EraseBlockInNAND()
|
H A D | yaffs_mtdif2.c | 74 data_bytes_per_chunk); in nandmtd2_write_chunk_tags() 129 ops.len = data ? dev->data_bytes_per_chunk : packed_tags_size; in nandmtd2_read_chunk_tags() 141 &data[dev->data_bytes_per_chunk]; in nandmtd2_read_chunk_tags() 184 dev->data_bytes_per_chunk); in nandmtd2_MarkNANDBlockBad() 203 dev->data_bytes_per_chunk); in nandmtd2_QueryNANDBlock()
|
H A D | yaffs_checkptrw.c | 169 memset(dev->checkpt_buffer, 0, dev->data_bytes_per_chunk); in yaffs2_checkpt_open() 175 dev->checkpt_byte_offs = dev->data_bytes_per_chunk; in yaffs2_checkpt_open() 220 tags.n_bytes = dev->data_bytes_per_chunk; in yaffs2_checkpt_flush_buffer() 252 memset(dev->checkpt_buffer, 0, dev->data_bytes_per_chunk); in yaffs2_checkpt_flush_buffer() 280 dev->checkpt_byte_offs >= dev->data_bytes_per_chunk) in yaffs2_checkpt_wr() 305 dev->checkpt_byte_offs >= dev->data_bytes_per_chunk) { in yaffs2_checkpt_rd()
|
H A D | yaffs_summary.c | 82 chunks_used = (sum_bytes + dev->data_bytes_per_chunk - 1)/ in yaffs_summary_init() 83 (dev->data_bytes_per_chunk - in yaffs_summary_init() 129 int sum_bytes_per_chunk = dev->data_bytes_per_chunk - sizeof(hdr); in yaffs_summary_write() 193 int sum_bytes_per_chunk = dev->data_bytes_per_chunk - sizeof(hdr); in yaffs_summary_read()
|
H A D | yaffs_guts.c | 3431 if ((start + n) < dev->data_bytes_per_chunk) in yaffs_file_rd() 3434 n_copy = dev->data_bytes_per_chunk - start; in yaffs_file_rd() 3514 start >= dev->data_bytes_per_chunk) { in yaffs_do_file_wr() 3535 dev->data_bytes_per_chunk); in yaffs_do_file_wr() 3545 n_bytes_read = dev->data_bytes_per_chunk; in yaffs_do_file_wr() 3557 n_writeback = dev->data_bytes_per_chunk; in yaffs_do_file_wr() 3560 if (n_copy != dev->data_bytes_per_chunk || in yaffs_do_file_wr() 3638 dev->data_bytes_per_chunk, 0); in yaffs_do_file_wr() 4460 return obj->my_dev->data_bytes_per_chunk; in yaffs_get_obj_length() 4647 dev->data_bytes_per_chunk = in yaffs_guts_initialise() [all …]
|
H A D | yaffs_nandif.c | 56 (data + dev->data_bytes_per_chunk); in ynandif_WriteChunkWithTagsToNAND() 114 &data[dev->data_bytes_per_chunk]; in ynandif_ReadChunkWithTagsFromNAND()
|
H A D | yaffs_yaffs2.c | 237 (dev->data_bytes_per_chunk * in yaffs_calc_checkpt_blocks_required() 865 if (increase < YAFFS_SMALL_HOLE_THRESHOLD * dev->data_bytes_per_chunk && in yaffs2_handle_hole() 879 memset(local_buffer, 0, dev->data_bytes_per_chunk); in yaffs2_handle_hole() 884 if (this_write > dev->data_bytes_per_chunk) in yaffs2_handle_hole() 885 this_write = dev->data_bytes_per_chunk; in yaffs2_handle_hole() 1027 tags.n_bytes > dev->data_bytes_per_chunk) || in yaffs2_scan_chunk() 1038 dev->data_bytes_per_chunk; in yaffs2_scan_chunk()
|
H A D | yaffs_tagscompat.c | 297 if (dev->data_bytes_per_chunk >= 1024) in yaffs_tags_compat_wr() 351 if (dev->data_bytes_per_chunk >= 1024) in yaffs_tags_compat_rd()
|
H A D | yaffs_yaffs1.c | 158 dev->data_bytes_per_chunk + in yaffs1_scan()
|
H A D | yaffs_guts.h | 626 int data_bytes_per_chunk; member
|
H A D | yaffsfs.c | 1606 buf->st_blksize = obj->my_dev->data_bytes_per_chunk; in yaffsfs_DoStat() 2670 retVal *= dev->data_bytes_per_chunk; in yaffs_freespace() 2701 retVal *= dev->data_bytes_per_chunk; in yaffs_totalspace()
|