Home
last modified time | relevance | path

Searched refs:dirCookie (Results 1 – 9 of 9) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/iso9660/
H A Dkernel_interface.cpp587 dircookie* dirCookie = (dircookie*)malloc(sizeof(dircookie)); in fs_open_dir() local
588 if (dirCookie == NULL) in fs_open_dir()
591 dirCookie->startBlock = node->startLBN[FS_DATA_FORMAT]; in fs_open_dir()
592 dirCookie->block = node->startLBN[FS_DATA_FORMAT]; in fs_open_dir()
593 dirCookie->totalSize = node->dataLen[FS_DATA_FORMAT]; in fs_open_dir()
594 dirCookie->pos = 0; in fs_open_dir()
595 dirCookie->id = node->id; in fs_open_dir()
596 *_cookie = (void*)dirCookie; in fs_open_dir()
607 dircookie* dirCookie = (dircookie*)_cookie; in fs_read_dir() local
611 status_t result = ISOReadDirEnt(volume, dirCookie, buffer, bufferSize); in fs_read_dir()
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DNFS4Inode.h75 uint64* dirCookie, uint64* dirCookieVerf,
H A DInodeDir.cpp234 uint64 dirCookie = 0; in GetDirSnapshot() local
243 &dirCookie, &dirCookieVerf, attribute); in GetDirSnapshot()
H A DNFS4Inode.cpp958 bool* eof, uint64* change, uint64* dirCookie, uint64* dirCookieVerf, in ReadDirOnce() argument
981 req.ReadDir(*dirCookie, *dirCookieVerf, attr, in ReadDirOnce()
1006 result = reply.ReadDir(dirCookie, dirCookieVerf, dirents, count, eof); in ReadDirOnce()
/haiku/src/add-ons/kernel/file_systems/layers/attribute_overlay/
H A Dattribute_overlay.cpp1463 attribute_dir_cookie *dirCookie = (attribute_dir_cookie *)malloc( in overlay_open_attr_dir() local
1465 if (dirCookie == NULL) in overlay_open_attr_dir()
1468 dirCookie->file = attributeFile; in overlay_open_attr_dir()
1469 dirCookie->index = 0; in overlay_open_attr_dir()
1470 *cookie = dirCookie; in overlay_open_attr_dir()
1494 attribute_dir_cookie *dirCookie = (attribute_dir_cookie *)cookie; in overlay_read_attr_dir() local
1495 return dirCookie->file->ReadAttributeDir(buffer, bufferSize, num, in overlay_read_attr_dir()
1496 &dirCookie->index); in overlay_read_attr_dir()
1503 attribute_dir_cookie *dirCookie = (attribute_dir_cookie *)cookie; in overlay_rewind_attr_dir() local
1504 dirCookie->index = 0; in overlay_rewind_attr_dir()
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/
H A DUserlandRequestHandler.cpp1385 void* dirCookie = NULL; in _HandleRequest() local
1388 result = volume->OpenDir(request->node, &dirCookie); in _HandleRequest()
1399 reply->dirCookie = dirCookie; in _HandleRequest()
1417 result = volume->CloseDir(request->node, request->dirCookie); in _HandleRequest()
1445 result = volume->FreeDirCookie(request->node, request->dirCookie); in _HandleRequest()
1472 void* dirCookie = request->dirCookie; in _HandleRequest() local
1493 result = volume->ReadDir(node, dirCookie, buffer, bufferSize, count, in _HandleRequest()
1530 result = volume->RewindDir(request->node, request->dirCookie); in _HandleRequest()
/haiku/src/add-ons/kernel/file_systems/layers/write_overlay/
H A Dwrite_overlay.cpp976 open_dir_cookie *dirCookie = (open_dir_cookie *)malloc( in OpenDir() local
978 if (dirCookie == NULL) in OpenDir()
981 dirCookie->index = 0; in OpenDir()
982 *cookie = dirCookie; in OpenDir()
1010 open_dir_cookie *dirCookie = (open_dir_cookie *)cookie; in ReadDir() local
1011 if (dirCookie->index >= direntCount) { in ReadDir()
1016 overlay_dirent *dirent = dirents[dirCookie->index++]; in ReadDir()
1035 open_dir_cookie *dirCookie = (open_dir_cookie *)cookie; in RewindDir() local
1036 dirCookie->index = 0; in RewindDir()
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/
H A DVolume.cpp2370 *cookie = reply->dirCookie; in OpenDir()
2437 request->dirCookie = cookie; in ReadDir()
2499 request->dirCookie = cookie; in RewindDir()
4016 request->dirCookie = cookie; in _CloseDir()
4057 request->dirCookie = cookie; in _FreeDirCookie()
/haiku/headers/private/userlandfs/private/
H A DRequests.h315 void* dirCookie; variable
1021 void* dirCookie; variable