Lines Matching defs:dir

622 	ShareDir* dir = dynamic_cast<ShareDir*>(_dir);
623 if (!dir)
632 if (IsVNodeRemoved(dir->GetID()) > 0)
638 request.directoryID = dir->GetRemoteID();
678 error = _LoadEntry(dir, *entryInfo, &entry);
899 ShareNode* dir = dynamic_cast<ShareNode*>(_dir);
911 if (IsVNodeRemoved(dir->GetID()) > 0)
918 request.directoryID = dir->GetRemoteID();
934 ShareNode* dir = dynamic_cast<ShareNode*>(_dir);
945 request.directoryID = dir->GetRemoteID();
960 ShareNode* dir = dynamic_cast<ShareNode*>(_dir);
968 if (IsVNodeRemoved(dir->GetID()) > 0)
973 request.directoryID = dir->GetRemoteID();
1061 ShareNode* dir = dynamic_cast<ShareNode*>(_dir);
1069 if (IsVNodeRemoved(dir->GetID()) > 0)
1074 request.directoryID = dir->GetRemoteID();
1090 ShareNode* dir = dynamic_cast<ShareNode*>(_dir);
1101 request.directoryID = dir->GetRemoteID();
1125 // allocate a dir cookie
1135 // create a local dir iterator
1150 // allocate a remote dir iterator
1320 ShareDir* dir = dynamic_cast<ShareDir*>(_dir);
1321 if (!dir)
1325 if (dir == fRootNode) {
1345 ShareDirEntry* entry = _GetEntryByLocalID(dir->GetID(), entryName);
1350 } else if (dir->IsComplete())
1357 status_t error = _Walk(dir->GetRemoteID(), entryName, resolvedPath,
1371 error = _LoadEntry(dir, reply->entryInfo, &entry);
1406 // allocate a dir cookie
1432 // This usually happens when the attr dir is too big to be cached.
1443 // a AttrDirInfo has been supplied: load the attr dir
1449 // we have a valid attr dir: create an attr dir iterator
1747 // store the current attibute dir revision for reference below
1784 // If the request was successful, we consider the cached attr dir
1811 // store the current attibute dir revision for reference below
1834 // If the request was successful, we consider the cached attr dir
1859 // store the current attibute dir revision for reference below
1883 // If the request was successful, we consider the cached attr dir
1996 ShareDir* dir = dynamic_cast<ShareDir*>(_GetNodeByLocalID(localDirID));
1997 if (!dir)
2002 error = _LoadEntry(dir, *resolvedEntryInfo, &entry);
2176 ", name: \"%s\", dir: %" B_PRIdINO " (remote: (%" B_PRIdDEV ", %"
2639 ShareDir* dir
2641 if (!dir)
2644 return (entryInfo.nodeInfo.revision <= dir->GetEntryRemovedEventRevision());
2664 // update the attr dir
2698 // updating/creating the attr dir failed; if existing, we mark it
2784 if (ShareDir* dir = dynamic_cast<ShareDir*>(node)) {
2785 while (ShareDirEntry* entry = dir->GetFirstEntry())
2826 ShareDir* dir = dynamic_cast<ShareDir*>(_GetNodeByRemoteID(remoteDirID));
2827 if (!dir)
2833 if (entryInfo && _LoadEntry(dir, *entryInfo, &entry) == B_OK)
2836 // if the entry could not be loaded, we have to mark the dir incomplete
2839 dir->UpdateEntryCreatedEventRevision(revision);
2840 dir->SetComplete(false);
2854 ShareDir* dir = dynamic_cast<ShareDir*>(_GetNodeByRemoteID(remoteDirID));
2855 if (!dir)
2859 dir->UpdateEntryRemovedEventRevision(revision);