Lines Matching defs:Root

10 #include "Root.h"
38 struct Root::AbstractVolumeJob : public Job {
58 struct Root::VolumeJob : public AbstractVolumeJob {
59 VolumeJob(Volume* volume, void (Root::*method)(Volume*))
72 void (Root::*fMethod)(Volume*);
79 struct Root::ProcessNodeMonitorEventsJob : public VolumeJob {
80 ProcessNodeMonitorEventsJob(Volume* volume, void (Root::*method)(Volume*))
97 struct Root::CommitTransactionJob : public AbstractVolumeJob {
98 CommitTransactionJob(Root* root, Volume* volume, BMessage* message)
118 Root* fRoot;
126 struct Root::VolumeJobFilter : public ::JobQueue::Filter {
144 // #pragma mark - Root
147 Root::Root()
161 Root::~Root()
171 Root::Init(const node_ref& nodeRef, bool isSystemRoot)
194 ERROR("Root::Init(): failed to open directory: %s\n", strerror(error));
206 ERROR("Root::Init(): failed to get directory path: %s\n",
222 Root::RegisterVolume(Volume* volume)
231 ERROR("Root::RegisterVolume(): can't register volume at \"%s\", since "
242 new(std::nothrow) VolumeJob(volume, &Root::_InitPackages));
254 Root::UnregisterVolume(Volume* volume)
260 ERROR("Root::UnregisterVolume(): can't unregister unknown volume at "
269 _QueueJob(new(std::nothrow) VolumeJob(volume, &Root::_DeleteVolume));
274 Root::FindVolume(dev_t deviceID) const
290 Root::GetVolume(BPackageInstallationLocation location)
304 Root::HandleRequest(BMessage* message)
361 Root::VolumeNodeMonitorEventOccurred(Volume* volume)
364 &Root::_ProcessNodeMonitorEvents));
369 Root::LastReferenceReleased()
375 Root::_GetVolume(PackageFSMountType mountType)
390 Root::_NextVolumeFor(Volume* volume)
416 Root::_InitPackages(Volume* volume)
430 Root::_DeleteVolume(Volume* volume)
441 Root::_ProcessNodeMonitorEvents(Volume* volume)
456 PRINT("Root::_ProcessNodeMonitorEvents(): running package manager...\n");
461 PRINT("Root::_ProcessNodeMonitorEvents(): -> nothing to do\n");
474 PRINT("Root::_ProcessNodeMonitorEvents(): -> aborted by user\n");
482 Root::_CommitTransaction(Volume* volume, BMessage* message)
489 Root::_QueueJob(Job* job)
505 Root::_JobRunnerEntry(void* data)
507 return ((Root*)data)->_JobRunner();
512 Root::_JobRunner()
524 Root::_ShowError(const char* errorMessage)
537 ERROR("Root::_ShowError(): %s\n", errorMessage);