Home
last modified time | relevance | path

Searched refs:dataEntry (Results 1 – 4 of 4) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/xfs/
H A DExtent.cpp180 ExtentDataEntry* dataEntry = (ExtentDataEntry*) entry; in GetNext() local
183 entry = (void*)((char*)entry + EntrySize(dataEntry->namelen)); in GetNext()
184 currentOffset += EntrySize(dataEntry->namelen); in GetNext()
188 if ((size_t)(dataEntry->namelen) >= *length) in GetNext()
192 memcpy(name, dataEntry->name, dataEntry->namelen); in GetNext()
193 name[dataEntry->namelen] = '\0'; in GetNext()
194 *length = dataEntry->namelen + 1; in GetNext()
195 *ino = B_BENDIAN_TO_HOST_INT64(dataEntry->inumber); in GetNext()
H A DLeafDirectory.cpp291 ExtentDataEntry* dataEntry = (ExtentDataEntry*) entry; in GetNext() local
293 uint16 currentOffset = (char*)dataEntry - fDataBuffer; in GetNext()
298 entry = (void*)((char*)entry + EntrySize(dataEntry->namelen)); in GetNext()
302 if ((size_t)(dataEntry->namelen) >= *length) in GetNext()
305 fOffset = fOffset + EntrySize(dataEntry->namelen); in GetNext()
306 memcpy(name, dataEntry->name, dataEntry->namelen); in GetNext()
307 name[dataEntry->namelen] = '\0'; in GetNext()
308 *length = dataEntry->namelen + 1; in GetNext()
309 *ino = B_BENDIAN_TO_HOST_INT64(dataEntry->inumber); in GetNext()
H A DNode.cpp321 ExtentDataEntry* dataEntry = (ExtentDataEntry*) entry; in GetNext() local
323 uint16 currentOffset = (char*)dataEntry - fDataBuffer; in GetNext()
328 entry = (void*)((char*)entry + EntrySize(dataEntry->namelen)); in GetNext()
332 if ((size_t)(dataEntry->namelen) >= *length) in GetNext()
335 fOffset = fOffset + EntrySize(dataEntry->namelen); in GetNext()
336 memcpy(name, dataEntry->name, dataEntry->namelen); in GetNext()
337 name[dataEntry->namelen] = '\0'; in GetNext()
338 *length = dataEntry->namelen + 1; in GetNext()
339 *ino = B_BENDIAN_TO_HOST_INT64(dataEntry->inumber); in GetNext()
H A DBPlusTree.cpp531 ExtentDataEntry* dataEntry = (ExtentDataEntry*) entry; in GetNext() local
533 uint16 currentOffset = (char*)dataEntry - fSingleDirBlock; in GetNext()
538 entry = (void*)((char*)entry + EntrySize(dataEntry->namelen)); in GetNext()
542 if ((size_t)(dataEntry->namelen) >= *length) in GetNext()
545 fOffset = fOffset + EntrySize(dataEntry->namelen); in GetNext()
546 memcpy(name, dataEntry->name, dataEntry->namelen); in GetNext()
547 name[dataEntry->namelen] = '\0'; in GetNext()
548 *length = dataEntry->namelen + 1; in GetNext()
549 *ino = B_BENDIAN_TO_HOST_INT64(dataEntry->inumber); in GetNext()