Home
last modified time | relevance | path

Searched refs:data_bytes_per_chunk (Results 1 – 11 of 11) sorted by relevance

/external/u-boot/fs/yaffs2/
Dyaffs_mtdif.c69 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()
Dyaffs_mtdif2.c74 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()
Dyaffs_checkptrw.c169 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()
Dyaffs_summary.c82 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()
Dyaffs_guts.c65 chunk_base = ((loff_t) chunk) * dev->data_bytes_per_chunk; in yaffs_addr_to_chunk()
161 return kmalloc(dev->data_bytes_per_chunk, GFP_NOFS); in yaffs_get_temp_buffer()
323 if (!yaffs_check_ff(data, dev->data_bytes_per_chunk) || in yaffs_check_chunk_erased()
346 if (memcmp(buffer, data, dev->data_bytes_per_chunk) || in yaffs_verify_chunk_written()
624 memset(buffer, 0xff, dev->data_bytes_per_chunk); in yaffs_retire_block()
694 return ((loff_t) YAFFS_MAX_CHUNK_ID) * dev->data_bytes_per_chunk; in yaffs_max_file_size()
2918 memset(buffer, 0, in->my_dev->data_bytes_per_chunk); in yaffs_rd_data_obj()
3068 int x_size = dev->data_bytes_per_chunk - sizeof(struct yaffs_obj_hdr); in yaffs_apply_xattrib_mod()
3093 int x_size = dev->data_bytes_per_chunk - sizeof(struct yaffs_obj_hdr); in yaffs_do_xattrib_fetch()
3296 memset(buffer, 0xff, dev->data_bytes_per_chunk); in yaffs_update_oh()
[all …]
Dyaffs_nandif.c56 (data + dev->data_bytes_per_chunk); in ynandif_WriteChunkWithTagsToNAND()
114 &data[dev->data_bytes_per_chunk]; in ynandif_ReadChunkWithTagsFromNAND()
Dyaffs_yaffs2.c237 (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()
Dyaffs_tagscompat.c297 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()
Dyaffs_yaffs1.c158 dev->data_bytes_per_chunk + in yaffs1_scan()
Dyaffs_guts.h626 int data_bytes_per_chunk; member
Dyaffsfs.c1606 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()