Home
last modified time | relevance | path

Searched refs:chunk_id (Results 1 – 25 of 45) sorted by relevance

12

/external/u-boot/fs/yaffs2/
Dyaffs_packedtags2.c45 ptt->obj_id, ptt->chunk_id, ptt->n_bytes, ptt->seq_number); in yaffs_dump_packed_tags2_tags_only()
58 t->chunk_id, t->n_bytes, t->is_deleted, t->serial_number, in yaffs_dump_tags2()
65 if (t->chunk_id != 0 || !t->extra_available) in yaffs_check_tags_extra_packable()
78 ptt->chunk_id = t->chunk_id; in yaffs_pack_tags2_tags_only()
90 ptt->chunk_id = EXTRA_HEADER_INFO_FLAG | t->extra_parent_id; in yaffs_pack_tags2_tags_only()
92 ptt->chunk_id |= EXTRA_SHRINK_FLAG; in yaffs_pack_tags2_tags_only()
94 ptt->chunk_id |= EXTRA_SHADOWS_FLAG; in yaffs_pack_tags2_tags_only()
133 t->chunk_id = ptt->chunk_id; in yaffs_unpack_tags2_tags_only()
140 if (ptt->chunk_id & EXTRA_HEADER_INFO_FLAG) { in yaffs_unpack_tags2_tags_only()
141 t->chunk_id = 0; in yaffs_unpack_tags2_tags_only()
[all …]
Dyaffs_summary.c42 unsigned chunk_id; member
137 tags.chunk_id = 1; in yaffs_summary_write()
166 tags.chunk_id++; in yaffs_summary_write()
186 int chunk_id; in yaffs_summary_read() local
200 chunk_id = 1; in yaffs_summary_read()
208 if (tags.chunk_id != chunk_id || in yaffs_summary_read()
228 chunk_id++; in yaffs_summary_read()
261 sum_tags->chunk_id = tags_only.chunk_id; in yaffs_summary_add()
283 tags_only.chunk_id = sum_tags->chunk_id; in yaffs_summary_fetch()
Dyaffs_packedtags1.c28 pt->chunk_id = t->chunk_id; in yaffs_pack_tags1()
48 t->chunk_id = pt->chunk_id; in yaffs_unpack_tags1()
Dyaffs_guts.c348 temp_tags.chunk_id != tags->chunk_id || in yaffs_verify_chunk_written()
619 int chunk_id = in yaffs_retire_block() local
627 if (dev->param.write_chunk_tags_fn(dev, chunk_id - in yaffs_retire_block()
803 u32 chunk_id) in yaffs_find_tnode_0() argument
814 if (chunk_id > YAFFS_MAX_CHUNK_ID) in yaffs_find_tnode_0()
819 i = chunk_id >> YAFFS_TNODES_LEVEL0_BITS; in yaffs_find_tnode_0()
831 tn = tn->internal[(chunk_id >> in yaffs_find_tnode_0()
856 u32 chunk_id, in yaffs_add_find_tnode_0() argument
870 if (chunk_id > YAFFS_MAX_CHUNK_ID) in yaffs_add_find_tnode_0()
875 x = chunk_id >> YAFFS_TNODES_LEVEL0_BITS; in yaffs_add_find_tnode_0()
[all …]
Dyaffs_tagscompat.c293 tags.chunk_id = ext_tags->chunk_id; in yaffs_tags_compat_wr()
348 ext_tags->chunk_id = tags.chunk_id; in yaffs_tags_compat_rd()
Dyaffs_guts.h131 int chunk_id; member
145 unsigned chunk_id:20; member
182 unsigned chunk_id; /* If 0 this is a header, else a data chunk */ member
913 void yaffs_chunk_del(struct yaffs_dev *dev, int chunk_id, int mark_flash,
943 u32 chunk_id,
955 u32 chunk_id);
Dyaffs_yaffs1.c133 } else if (tags.chunk_id > 0) { in yaffs1_scan()
152 (in, tags.chunk_id, chunk, 1)) in yaffs1_scan()
157 (tags.chunk_id - 1) * in yaffs1_scan()
Dyaffs_checkptrw.c218 tags.chunk_id = dev->checkpt_page_seq + 1; in yaffs2_checkpt_flush_buffer()
237 tags.obj_id, tags.chunk_id); in yaffs2_checkpt_flush_buffer()
330 if (tags.chunk_id != (dev->checkpt_page_seq + 1) || in yaffs2_checkpt_rd()
Dyaffs_packedtags1.h24 unsigned chunk_id:20; member
/external/perfetto/src/tracing/core/
Dpatch_list.h38 Patch(ChunkID c, uint16_t o) : chunk_id(c), offset(o) {} in Patch()
41 const ChunkID chunk_id; variable
53 return chunk_id == o.chunk_id && offset == o.offset &&
73 Patch* emplace_back(ChunkID chunk_id, uint16_t offset) { in emplace_back() argument
74 PERFETTO_DCHECK(empty() || last_->chunk_id != chunk_id || in emplace_back()
76 last_ = list_.emplace_after(last_, chunk_id, offset); in emplace_back()
Dtrace_buffer.h193 ChunkID chunk_id,
289 ChunkID chunk_id = 0; member
330 : producer_id{p}, writer_id{w}, chunk_id{c} {} in Key()
333 : Key(cr.producer_id, cr.writer_id, cr.chunk_id) {} in Key()
339 return std::tie(producer_id, writer_id, chunk_id) <
340 std::tie(other.producer_id, other.writer_id, other.chunk_id);
344 return std::tie(producer_id, writer_id, chunk_id) ==
345 std::tie(other.producer_id, other.writer_id, other.chunk_id);
355 ChunkID chunk_id; member
461 ChunkID chunk_id() const { in chunk_id() function
[all …]
Dtrace_buffer.cc109 ChunkID chunk_id, in CopyChunkUntrusted() argument
143 record.chunk_id = chunk_id; in CopyChunkUntrusted()
180 subsequent_key.chunk_id++; in CopyChunkUntrusted()
303 if (chunk_id - last_chunk_id < kMaxChunkID / 2) { in CopyChunkUntrusted()
304 last_chunk_id = chunk_id; in CopyChunkUntrusted()
366 key.producer_id, key.writer_id, key.chunk_id, in DeleteNextChunksFor()
408 ChunkID chunk_id, in TryPatchChunkContents() argument
412 ChunkMeta::Key key(producer_id, writer_id, chunk_id); in TryPatchChunkContents()
437 producer_id, writer_id, chunk_id, chunk_end - chunk_begin, in TryPatchChunkContents()
501 key.chunk_id = kMaxChunkID; in GetReadIterForSequence()
[all …]
Dshared_memory_abi_unittest.cc94 uint16_t chunk_id = ++last_chunk_id; in TEST_P() local
97 header.chunk_id.store(chunk_id); in TEST_P()
126 ASSERT_EQ(chunk_id, chunk.header()->chunk_id.load()); in TEST_P()
Dshared_memory_abi.cc66 header->chunk_id.store(0u, std::memory_order_relaxed); in ClearChunkHeader()
96 static_assert(sizeof(ChunkHeader::chunk_id) == sizeof(ChunkID), in Initialize()
129 chunk_header.chunk_id.store(static_cast<uint32_t>(-1)); in Initialize()
130 PERFETTO_CHECK(chunk_header.chunk_id.load() == kMaxChunkID); in Initialize()
195 new_header->chunk_id.store(header->chunk_id, std::memory_order_relaxed); in TryAcquireChunk()
Dtrace_writer_impl.cc163 cur_chunk_.header()->chunk_id.load(std::memory_order_relaxed); in GetNewBuffer()
203 header.chunk_id.store(next_chunk_id_++, std::memory_order_relaxed); in GetNewBuffer()
223 bool TraceWriterImpl::SetFirstChunkId(ChunkID chunk_id) { in SetFirstChunkId() argument
226 next_chunk_id_ = chunk_id; in SetFirstChunkId()
Dstartup_trace_writer_unittest.cc91 ChunkID chunk_id = chunk.header()->chunk_id.load(); in VerifyPackets() local
93 EXPECT_LT(last_read_max_chunk_id_, chunk_id); in VerifyPackets()
95 current_max_chunk_id = std::max(current_max_chunk_id, chunk_id); in VerifyPackets()
107 chunk.header()->writer_id.load(), chunk_id, packets_header.count, in VerifyPackets()
Dcommit_data_request.cc176 static_assert(sizeof(chunk_id_) == sizeof(proto.chunk_id()), "size mismatch"); in FromProto()
177 chunk_id_ = static_cast<decltype(chunk_id_)>(proto.chunk_id()); in FromProto()
205 static_assert(sizeof(chunk_id_) == sizeof(proto->chunk_id()), in ToProto()
207 proto->set_chunk_id(static_cast<decltype(proto->chunk_id())>(chunk_id_)); in ToProto()
Dtrace_buffer_unittest.cc114 << it.chunk_id() << "},"; in IteratorSeqEq()
165 for (ChunkID chunk_id = 0; chunk_id < 1000; chunk_id++) { in TEST_F() local
166 char seed = static_cast<char>(chunk_id); in TEST_F()
167 CreateChunk(ProducerID(1), WriterID(1), chunk_id) in TEST_F()
173 EXPECT_EQ(chunk_id + 1u, trace_buffer()->stats().chunks_written()); in TEST_F()
340 ChunkID chunk_id = 0; in TEST_F() local
348 ChunkID c = chunk_id++; in TEST_F()
756 for (ChunkID chunk_id = static_cast<ChunkID>(-2); chunk_id <= 2; chunk_id++) { in TEST_F() local
757 char prefix = static_cast<char>('c' + chunk_id); in TEST_F()
758 expected_fragments.emplace_back(10 + chunk_id, prefix); in TEST_F()
[all …]
Dshared_memory_arbiter_impl.cc221 if (!last_chunk_req || last_chunk_id != patch_list->front().chunk_id) { in UpdateCommitDataRequest()
224 last_chunk_id = patch_list->front().chunk_id; in UpdateCommitDataRequest()
240 patch_list->front().chunk_id == last_chunk_id) { in UpdateCommitDataRequest()
Dstartup_trace_writer.cc37 ChunkID chunk_id, in NewChunk() argument
50 header.chunk_id.store(chunk_id, std::memory_order_relaxed); in NewChunk()
Dtrace_writer_impl_unittest.cc142 EXPECT_EQ(chunk.header()->chunk_id.load(), in TEST_P()
143 last_commit.chunks_to_patch()[0].chunk_id()); in TEST_P()
/external/tensorflow/tensorflow/core/lib/wav/
Dwav_io.cc35 char chunk_id[4]; member
42 char chunk_id[4]; member
54 char chunk_id[4]; member
181 memcpy(riff_chunk->chunk_id, kRiffChunkId, 4); in EncodeAudioAsS16LEWav()
187 memcpy(format_chunk->chunk_id, kFormatChunkId, 4); in EncodeAudioAsS16LEWav()
198 memcpy(data_chunk->chunk_id, kDataChunkId, 4); in EncodeAudioAsS16LEWav()
277 string chunk_id; in DecodeLin16WaveAsFloatVector() local
278 TF_RETURN_IF_ERROR(ReadString(wav_string, 4, &chunk_id, &offset)); in DecodeLin16WaveAsFloatVector()
283 "WAV data chunk '", chunk_id, "' is too large: ", chunk_size, in DecodeLin16WaveAsFloatVector()
286 if (chunk_id == kDataChunkId) { in DecodeLin16WaveAsFloatVector()
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/
Drx-buffer_time_count.hpp92 , chunk_id(0) in buffer_with_time_or_count_subscriber_values()
99 mutable int chunk_id; member
108 auto new_id = state->chunk_id; in buffer_with_time_or_count_observer()
144 if (id != state->chunk_id) in produce_buffer()
149 auto new_id = ++state->chunk_id; in produce_buffer()
171 … produce_buffer(localState->chunk_id, localState->worker.now(), localState)(self); in on_next()
/external/tensorflow/tensorflow/python/keras/saving/
Dhdf5_format.py866 for chunk_id, chunk_data in enumerate(chunked_data):
867 group.attrs['%s%d' % (name, chunk_id)] = chunk_data
890 chunk_id = 0
891 while '%s%d' % (name, chunk_id) in group.attrs:
893 [n.decode('utf8') for n in group.attrs['%s%d' % (name, chunk_id)]])
894 chunk_id += 1
/external/perfetto/src/tracing/test/
Dfake_packet.cc107 : trace_buffer_{t}, producer_id{p}, writer_id{w}, chunk_id{c} {} in FakeChunk()
156 trace_buffer_->CopyChunkUntrusted(producer_id, uid, writer_id, chunk_id, in CopyIntoTraceBuffer()

12