Lines Matching defs:data
30 * We assume that the data buffer is of size totalBytersPerChunk so that we can also
34 const __u8 *data,
54 ("nandmtd2_WriteChunkWithTagsToNAND chunk %d data %p tags %p"
55 TENDSTR), nand_chunk, data, tags));
60 /* For yaffs2 writing there must be both data and tags.
62 * the end of the data buffer.
64 if (!data || !tags)
68 pt2tp = (yaffs_PackedTags2TagsPart *)(data + dev->data_bytes_per_chunk);
78 ops.datbuf = (__u8 *)data;
86 &dummy, data, (__u8 *) packed_tags_ptr, NULL);
90 data);
101 __u8 *data, yaffs_ext_tags *tags)
120 ("nandmtd2_ReadChunkWithTagsFromNAND chunk %d data %p tags %p"
121 TENDSTR), nand_chunk, data, tags));
125 if (!data) {
127 data = yaffs_get_temp_buffer(dev, __LINE__);
135 if (dev->param.inband_tags || (data && !tags))
137 &dummy, data);
141 ops.len = data ? dev->data_bytes_per_chunk : packed_tags_size;
143 ops.datbuf = data;
148 if (!dev->param.inband_tags && data && tags) {
151 &dummy, data, dev->spareBuffer,
154 if (data)
157 data);
169 pt2tp = (yaffs_PackedTags2TagsPart *)&data[dev->data_bytes_per_chunk];
180 yaffs_release_temp_buffer(dev, data, __LINE__);