Searched refs:chain (Results 1 - 7 of 7) sorted by relevance

/fuchsia/zircon/kernel/object/
H A Dmbuf_tests.cpp19 MBufChain chain; local
20 EXPECT_TRUE(chain.is_empty(), "");
21 EXPECT_FALSE(chain.is_full(), "");
22 EXPECT_EQ(0U, chain.size(), "");
26 // Tests reading a stream when the chain is empty.
32 MBufChain chain; local
33 EXPECT_EQ(0U, chain.Read(mem_out, 1, false), "");
44 MBufChain chain; local
46 ASSERT_EQ(ZX_OK, chain.WriteStream(mem_in, 1, &written), "");
49 EXPECT_EQ(0U, chain
64 MBufChain chain; local
110 MBufChain chain; local
128 MBufChain chain; local
157 MBufChain chain; local
170 MBufChain chain; local
187 MBufChain chain; local
241 MBufChain chain; local
275 MBufChain chain; local
293 MBufChain chain; local
317 MBufChain chain; local
[all...]
H A Dmessage_packet.cpp56 BufferChain* chain = BufferChain::Alloc(payload_offset + data_size); local
57 if (unlikely(!chain)) {
60 DEBUG_ASSERT(!chain->buffers()->is_empty());
62 char* const data = chain->buffers()->front().data();
68 msg->reset(new (packet) MessagePacket(chain, data_size, payload_offset,
109 BufferChain* chain = buffer_chain_; local
112 BufferChain::Free(chain);
/fuchsia/zircon/kernel/object/include/object/
H A Dbuffer_chain.h52 // BufferChain is special because it also stores the chain itself. See also kContig.
62 // Copies |size| bytes from this chain starting at offset |src_offset| to |dst|.
86 // It is the caller's responsibility to free the chain with BufferChain::Free.
110 // We now have a list of buffers and a list of pages. Construct a chain inside the first
111 // buffer and give the buffers and pages to the chain.
112 BufferChain* chain = new (temp.front().data()) BufferChain(&temp, &pages); local
115 return chain;
118 // Frees |chain| and its buffers.
119 static void Free(BufferChain* chain) { argument
120 // Remove the buffers and vm_page_t's from the chain *befor
[all...]
H A Dmessage_packet.h74 MessagePacket(BufferChain* chain, uint32_t data_size, uint32_t payload_offset, argument
76 : buffer_chain_(chain), handles_(handles), data_size_(data_size),
/fuchsia/zircon/third_party/ulib/musl/src/misc/
H A Dnftw.c10 struct history* chain; member in struct:history
56 new.chain = h;
68 for (; h; h = h->chain)
/fuchsia/zircon/system/dev/usb/xhci/
H A Dxhci-trb.c112 uint32_t chain = control & TRB_CHAIN; local
121 control = (control & ~(TRB_CHAIN | TRB_C)) | chain | ring->pcs;
/fuchsia/zircon/third_party/tools/android/avb/
H A Davbtool1637 """Initializes a new chain partition descriptor.
1655 raise LookupError('Given data does not look like a chain partition '
1718 sys.stderr.write('No expected chain partition for partition {}. Use '
1739 print ('{}: Successfully verified chain partition descriptor matches '
2190 expected_chain_partitions: List of chain partitions to check or None.
2251 # contents which in the case of chain descriptors means checking only its
2254 # Specifically AvbHashtreeDescriptor.verify(), doesn't follow chain
2255 # descriptors e.g. if it's a chain descriptor for 'system' it will not try
2256 # to verify system.img. Why? Because the whole idea of chain descriptors
2259 # the image you wouldn't need to use a chain partitio
[all...]

Completed in 90 milliseconds