Lines Matching refs:_descriptors
141 if ( _descriptors )
144 _descriptors[index]->release();
147 IODelete(_descriptors, IOMemoryDescriptor *, _descriptorsCount);
155 _descriptors = 0;
165 _descriptors = descriptors;
169 _descriptors = IONew(IOMemoryDescriptor *, withCount);
170 if ( _descriptors == 0 ) return false;
173 /* to */ _descriptors,
196 if ( _descriptors )
199 _descriptors[index]->release();
202 IODelete(_descriptors, IOMemoryDescriptor *, _descriptorsCount);
231 status = _descriptors[index]->prepare(forDirection);
239 statusUndo = _descriptors[index]->complete(forDirection);
269 status = _descriptors[index]->complete(forDirection);
292 if ( offset < _descriptors[index]->getLength() )
294 return _descriptors[index]->getPhysicalSegment64(offset, length);
296 offset -= _descriptors[index]->getLength();
319 if ( offset < _descriptors[index]->getLength() )
321 return _descriptors[index]->getPhysicalSegment(offset, length);
323 offset -= _descriptors[index]->getLength();
347 if ( offset < _descriptors[index]->getLength() )
349 return _descriptors[index]->getSourceSegment(offset, length);
351 offset -= _descriptors[index]->getLength();
383 if ( offset < _descriptors[index]->getLength() ) break;
384 offset -= _descriptors[index]->getLength();
389 IOByteCount copy = min(_descriptors[index]->getLength(), withLength);
390 IOByteCount copied = _descriptors[index]->readBytes(offset,bytes,copy);
419 if ( offset < _descriptors[index]->getLength() ) break;
420 offset -= _descriptors[index]->getLength();
425 IOByteCount copy = min(_descriptors[index]->getLength(), withLength);
426 IOByteCount copied = _descriptors[index]->writeBytes(offset,bytes,copy);