Lines Matching refs:descriptor

23 	The \c Accessor class is an allocation descriptor accessor class
27 - inline uint8 GetType(DescriptorType &descriptor);
28 - inline uint32 GetBlock(DescriptorType &descriptor);
29 - inline uint16 GetPartition(DescriptorType &descriptor);
30 - inline uint32 GetLength(DescriptorType &descriptor);
54 void _WalkContinuationChain(Descriptor *descriptor);
117 Descriptor *descriptor = _CurrentDescriptor();
118 if (descriptor) {
120 < _BlockIndex() + fAccessor.GetLength(*descriptor)) {
124 extent->set_block(fAccessor.GetBlock(*descriptor) + offset);
125 extent->set_partition(fAccessor.GetPartition(*descriptor));
126 extent->set_length(fAccessor.GetLength(*descriptor)
128 extent->set_type(fAccessor.GetType(*descriptor));
171 Descriptor* descriptor = _CurrentDescriptor();
172 if (!descriptor)
175 // Increment our indices and get the next descriptor
177 fBlockIndex += fAccessor.GetLength(*descriptor);
180 descriptor = _CurrentDescriptor();
182 // If no such descriptor exists, we've run out of
186 // see if the new descriptor identifies the next extent
191 _WalkContinuationChain(descriptor);
199 AllocationDescriptorList<Accessor>::_WalkContinuationChain(Descriptor *descriptor)
201 TRACE(("AllocationDescriptorList<>::_WalkContinuationChain: descriptor = %p\n",
202 descriptor));
203 if (descriptor
204 && fAccessor.GetType(*descriptor) == EXTENT_TYPE_CONTINUATION) {
207 // reset the descriptor index.
208 fAdditionalDescriptors.SetTo(fAccessor, *descriptor);
212 // Make sure that the first descriptor in this extent isn't
262 inline uint32 GetBlock(DescriptorType &descriptor) const
264 return descriptor.block();
267 inline uint32 GetLength(DescriptorType &descriptor) const
269 return descriptor.length();
272 inline uint16 GetPartition(DescriptorType &descriptor) const
277 inline uint8 GetType(DescriptorType &descriptor) const
279 return descriptor.type();
291 inline uint32 GetBlock(DescriptorType &descriptor) const
293 return descriptor.block();
296 inline uint32 GetLength(DescriptorType &descriptor) const
298 return descriptor.length();
301 inline uint16 GetPartition(DescriptorType &descriptor) const
303 return descriptor.partition();
306 inline uint8 GetType(DescriptorType &descriptor) const
308 return descriptor.type();