Home
last modified time | relevance | path

Searched refs:d_reclen (Results 1 – 25 of 44) sorted by relevance

12

/haiku/src/add-ons/kernel/file_systems/netfs/client/
H A DVolumeSupport.h20 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 Dnetfs.cpp696 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 DAutoPackageAttributeDirectoryCookie.cpp50 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 Dfs_ops_support.h43 dirent->d_reclen = reclen; in next_dirent()
50 dirent->d_reclen = roundedReclen; in next_dirent()
/haiku/src/system/libroot/posix/musl/dirent/
H A Dscandir.c29 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 Ddirent.cpp71 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 DInodeDir.cpp132 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 Dfssh_dirent.h16 unsigned short d_reclen; /* length of this record, not the name */ member
/haiku/headers/posix/
H A Ddirent.h17 unsigned short d_reclen; /* length of this record, not the name */ member
/haiku/src/add-ons/kernel/file_systems/packagefs/util/
H A DUtils.h39 buffer->d_reclen = length; in set_dirent_name()
/haiku/src/kits/tracker/
H A DEntryIterator.cpp134 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 DNodeWalker.cpp407 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 Dkernel_interface.cpp411 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 Dkernel_interface.cpp509 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 DFUSEVolume.cpp123 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 Dkernel_interface.cpp849 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 Dkernel_interface.cpp2773 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 Dfs_interface.h31 unsigned short d_reclen; member
/haiku/src/add-ons/kernel/file_systems/packagefs/
H A Dkernel_interface.cpp661 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 Dkernel_interface.cpp1910 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 Dwebsearchfs.c438 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 Dkernel_interface.cpp639 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 DLocaleRosterData.cpp415 dent = (dirent*)((char*)dent + dent->d_reclen); in _InitializeCatalogAddOns()
/haiku/src/system/kernel/fs/
H A Drootfs.cpp821 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 Dkernel_interface.cpp1327 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()

12