Lines Matching refs:start
202 const uint8* start = (uint8 *)fBlock.Block();
209 start += fVolume->InodeBlockIndex(fInode->ID()) * fVolume->InodeSize();
210 const uint8* end = start + fVolume->InodeSize();
211 start += EXT2_INODE_NORMAL_SIZE + fInode->Node().ExtraInodeSize()
214 if ((off_t)(pos + length) > (end - start) || length > fBodyEntry->ValueSize())
217 memcpy(buffer, start + (uint32)pos, length);
259 const uint8* start = fBlock.Block()
261 const uint8* end = start + fVolume->InodeSize();
263 if (_FindAttributeBody(start + EXT2_INODE_NORMAL_SIZE
289 Attribute::_FindAttributeBody(const uint8* start, const uint8* end,
292 TRACE("_FindAttributeBody %p %p %s\n", start, end, name);
293 if (*((uint32*)start) != EXT2_XATTR_MAGIC)
295 return _FindAttribute(start + sizeof(uint32), end, name, index, count,
301 Attribute::_FindAttributeBlock(const uint8* start, const uint8* end, const char* name,
304 TRACE("_FindAttributeBlock %p %p %s\n", start, end, name);
305 ext2_xattr_header *header = (ext2_xattr_header*)start;
309 return _FindAttribute(start + sizeof(ext2_xattr_header), end, name, index,
315 Attribute::_FindAttribute(const uint8* start, const uint8* end, const char* name,
318 TRACE("_FindAttribute %p %p %s\n", start, end, name);
322 while (start < end) {
323 ext2_xattr_entry* entry = (ext2_xattr_entry*)start;
333 start += entry->Length();