/haiku/src/add-ons/kernel/file_systems/netfs/client/ |
H A D | VolumeSupport.h | 20 buffer->d_reclen = length; in set_dirent_name() 33 char* nextBuffer = (char*)buffer + buffer->d_reclen; in next_dirent() 41 buffer->d_reclen = len; in next_dirent()
|
H A D | netfs.cpp | 696 entry->d_pino, entry->d_reclen, name); in netfs_read_dir() 697 entry = (dirent*)((char*)entry + entry->d_reclen); in netfs_read_dir()
|
/haiku/src/add-ons/kernel/file_systems/packagefs/nodes/ |
H A D | AutoPackageAttributeDirectoryCookie.cpp | 50 previousEntry->d_reclen += offset; in Read() 76 bufferSize -= buffer->d_reclen; in Read() 77 buffer = (dirent*)((addr_t)buffer + buffer->d_reclen); in Read()
|
/haiku/headers/private/file_systems/ |
H A D | fs_ops_support.h | 43 dirent->d_reclen = reclen; in next_dirent() 50 dirent->d_reclen = roundedReclen; in next_dirent()
|
/haiku/src/system/libroot/posix/musl/dirent/ |
H A D | scandir.c | 29 names[cnt] = malloc(de->d_reclen); in scandir() 31 memcpy(names[cnt++], de, de->d_reclen); in scandir()
|
/haiku/src/system/libroot/posix/ |
H A D | dirent.cpp | 71 dir->next_entry += entry->d_reclen; in do_seek_dir() 219 dir->next_entry += dirent->d_reclen; in readdir() 239 dir->next_entry = dir->first_entry.d_reclen; in readdir() 259 memcpy(entry, dirent, dirent->d_reclen); in readdir_r()
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | InodeDir.cpp | 132 de->d_reclen = entSize + nameSize; in FillDirEntry() 133 if (de->d_reclen % 8 != 0) in FillDirEntry() 134 de->d_reclen += 8 - de->d_reclen % 8; in FillDirEntry() 354 pos += de->d_reclen; in ReadDir() 374 pos += de->d_reclen; in ReadDir() 405 pos += de->d_reclen; in ReadDir()
|
/haiku/headers/private/fs_shell/ |
H A D | fssh_dirent.h | 16 unsigned short d_reclen; /* length of this record, not the name */ member
|
/haiku/headers/posix/ |
H A D | dirent.h | 17 unsigned short d_reclen; /* length of this record, not the name */ member
|
/haiku/src/add-ons/kernel/file_systems/packagefs/util/ |
H A D | Utils.h | 39 buffer->d_reclen = length; in set_dirent_name()
|
/haiku/src/kits/tracker/ |
H A D | EntryIterator.cpp | 134 return (dirent*)((char*)ent + ent->d_reclen); in Next() 276 int32 currentDirentSize = fCurrentDirent->d_reclen; in GetNextDirents() 315 uint32 currentDirentSize = fCurrentDirent->d_reclen; in GetNextDirents()
|
H A D | NodeWalker.cpp | 407 ent->d_reclen = static_cast<ushort>(recordLength); in build_dirent() 473 ent = (dirent*)((char*)ent + ent->d_reclen); in GetNextDirents()
|
/haiku/src/add-ons/kernel/file_systems/ufs2/ |
H A D | kernel_interface.cpp | 411 dirent->d_reclen = offsetof(struct dirent, d_name) + length + 1; in ufs2_read_dir() 412 bufferSize -= dirent->d_reclen; in ufs2_read_dir() 413 dirent = (struct dirent*)((uint8*)dirent + dirent->d_reclen); in ufs2_read_dir()
|
/haiku/src/add-ons/kernel/file_systems/reiserfs/ |
H A D | kernel_interface.cpp | 509 buffer->d_reclen = length; in set_dirent_name() 598 buffer->d_reclen)); in reiserfs_read_dir() 631 buffer->d_reclen)); in reiserfs_read_dir()
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/ |
H A D | FUSEVolume.cpp | 123 buffer->d_reclen = size; in ReadDirent() 267 buffer->d_reclen = size; in ReadNextEntry() 2268 && (char*)dirent + dirent->d_reclen <= (char*)buffer + fuseError) { in ReadDir() 2270 dirent = (struct dirent*)(((char*)dirent) + dirent->d_reclen); in ReadDir() 2271 if (dirent->d_reclen == 0) in ReadDir() 2318 bufferSize -= entryBuffer->d_reclen; in ReadDir() 2320 = (dirent*)((uint8*)entryBuffer + entryBuffer->d_reclen); in ReadDir() 2458 bufferSize -= entryBuffer->d_reclen; in ReadAttrDir() 2459 entryBuffer = (dirent*)((uint8*)entryBuffer + entryBuffer->d_reclen); in ReadAttrDir() 3446 dirEntry->d_reclen = entryLen; in _AddReadDirEntryLowLevel() [all …]
|
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | kernel_interface.cpp | 849 dirent->d_reclen = offsetof(struct dirent, d_name) + length + 1; in btrfs_read_dir() 851 bufferSize -= dirent->d_reclen; in btrfs_read_dir() 852 dirent = (struct dirent*)((uint8*)dirent + dirent->d_reclen); in btrfs_read_dir() 943 dirent->d_reclen = offsetof(struct dirent, d_name) + length + 1; in btrfs_read_attr_dir()
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | kernel_interface.cpp | 2773 dirBuf->d_reclen = GENERIC_DIRSIZ(dirBuf); in dosfs_readdir() 2775 if (bufferSize < dirBuf->d_reclen) { in dosfs_readdir() 2782 memcpy(byteBuffer, dirBuf, dirBuf->d_reclen); in dosfs_readdir() 2784 bufferSize -= dirBuf->d_reclen; in dosfs_readdir() 2785 byteBuffer += dirBuf->d_reclen; in dosfs_readdir() 2908 dirBuf->d_reclen = GENERIC_DIRSIZ(dirBuf); in dosfs_readdir() 2916 if (bufferSize < dirBuf->d_reclen) { in dosfs_readdir() 2928 memcpy(byteBuffer, dirBuf, dirBuf->d_reclen); in dosfs_readdir() 2934 bufferSize -= dirBuf->d_reclen; in dosfs_readdir() 2935 byteBuffer += dirBuf->d_reclen; in dosfs_readdir() [all …]
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/ |
H A D | fs_interface.h | 31 unsigned short d_reclen; member
|
/haiku/src/add-ons/kernel/file_systems/packagefs/ |
H A D | kernel_interface.cpp | 661 previousEntry->d_reclen += offset; in packagefs_read_dir() 681 bufferSize -= buffer->d_reclen; in packagefs_read_dir() 682 buffer = (dirent*)((addr_t)buffer + buffer->d_reclen); in packagefs_read_dir()
|
/haiku/src/add-ons/kernel/file_systems/cdda/ |
H A D | kernel_interface.cpp | 1910 buffer->d_reclen = offsetof(struct dirent, d_name) + strlen(name) + 1; in cdda_read_dir() 1912 if (buffer->d_reclen > bufferSize) { in cdda_read_dir() 1921 bufferSize -= buffer->d_reclen; in cdda_read_dir() 1922 buffer = (struct dirent*)((uint8*)buffer + buffer->d_reclen); in cdda_read_dir() 2044 dirent->d_reclen = offsetof(struct dirent, d_name) + length + 1; in cdda_read_attr_dir()
|
/haiku/src/add-ons/kernel/file_systems/websearchfs/ |
H A D | websearchfs.c | 438 buf->d_reclen = offsetof(struct dirent, d_name)+strlen(buf->d_name)+1; in websearchfs_readdir() 449 buf->d_reclen = offsetof(struct dirent, d_name)+strlen(buf->d_name)+1; in websearchfs_readdir() 462 buf->d_reclen = offsetof(struct dirent, d_name)+strlen(buf->d_name)+1; in websearchfs_readdir() 999 buf->d_reclen = offsetof(struct dirent, d_name)+strlen(buf->d_name)+1; in websearchfs_read_attrdir() 1423 buf->d_reclen = offsetof(struct dirent, d_name)+strlen(buf->d_name)+1; in websearchfs_read_query()
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/ |
H A D | kernel_interface.cpp | 639 entry->d_reclen, name)); in userlandfs_read_dir() 640 entry = (dirent*)((char*)entry + entry->d_reclen); in userlandfs_read_dir() 1033 buffer->d_ino, buffer->d_pino, buffer->d_reclen, name)); in userlandfs_read_query()
|
/haiku/src/kits/locale/ |
H A D | LocaleRosterData.cpp | 415 dent = (dirent*)((char*)dent + dent->d_reclen); in _InitializeCatalogAddOns()
|
/haiku/src/system/kernel/fs/ |
H A D | rootfs.cpp | 821 dirent->d_reclen = offsetof(struct dirent, d_name) + strlen(name) + 1; in rootfs_read_dir() 823 if (dirent->d_reclen > bufferSize) in rootfs_read_dir()
|
/haiku/src/add-ons/kernel/file_systems/ramfs/ |
H A D | kernel_interface.cpp | 1327 buffer->d_reclen = length; in ramfs_read_dir() 1443 buffer->d_reclen = length; in ramfs_read_attr_dir() 1917 buffer->d_reclen = length; in ramfs_read_index_dir()
|