Searched refs:root (Results 1 - 23 of 23) sorted by relevance

/darwin-on-arm/xnu/iokit/Kernel/
H A DIOStartIOKit.cpp90 IORegistryEntry * root; local
93 root = IORegistryEntry::initialize();
94 assert( root );
109 root->setProperty( kIOKitBuildVersionKey, obj );
114 root->setProperty( kIOKitDiagnosticsKey, obj );
184 IORegistryEntry * root = IORegistryEntry::getRegistryRoot(); local
186 if (root) {
188 root->setProperty(kOSBuildVersionKey, build_version);
190 root->removeProperty(kOSBuildVersionKey);
H A DIORegistryEntry.cpp887 IORegistryEntry * root; local
932 root = gRegistryRoot->getChildEntry( plane );
933 while( parent && (entry != root)) {
934 // stop below root
1855 IORegistryIterator::iterateOver( IORegistryEntry * root, argument
1861 if( 0 == root)
1870 root->retain();
1871 create->root = root;
1873 create->start.current = root;
[all...]
H A DIOPlatformExpert.cpp398 root = new IOPMrootDomain;
399 root->init();
400 root->attach(this);
401 root->start(this);
408 // In this vanilla implementation, all callers are made children of the root power domain.
414 root->addPowerChild ( theDevice );
H A DIOServicePM.cpp714 // Power Managment is informing us that we are the root power domain.
966 // to the root domain.
1252 IOService * root; local
1288 root = getPlatform()->getProvider();
1289 assert(root);
1290 if (!root ||
1292 root, &IOService::powerStateDidChangeTo)) !=
1296 root, &IOService::powerStateWillChangeTo)) !=
1676 // apps for permission to drop power. This is used by root domain
2137 // root domai
6475 IOPMRequest * root = active->getRootRequest(); local
6581 IOPMRequest * root = request->getRootRequest(); local
[all...]
H A DIOServicePMPrivate.h71 // PM actions - For root domain only
463 #define kIOPMSyncNoChildNotify 0x0200 // sync root domain only, not entire tree
534 IOPMRequest * fRequestRoot; // the root request in the issue tree
606 bool attachRootRequest( IOPMRequest * root );
H A DIOPMrootDomain.cpp136 // List of stimuli that affects the root domain policy.
155 static void notifySystemShutdown( IOService * root, unsigned long event );
644 of the desires of the children of the root or the state of the other clamp.
647 the clamshell, or selecting the menu item. In this case the root's parent
648 actually initiates the power state change so that the root domain has no
652 kIOPMPreventIdleSleep. When this is true, the root's children are not holding
653 the root on, so it sets the "policy-maker clamp" by calling
668 IOPMrootDomain *root; local
670 root = new IOPMrootDomain;
671 if( root)
7100 notifySystemShutdown( IOService * root, unsigned long event ) argument
[all...]
H A DIOService.cpp540 IORegistryEntry * root = getRegistryRoot(); local
541 while( parent && (parent != root))
544 if( parent != root) {
780 /* root is not an IOService */
4320 // If we are the resource root
4773 OSDictionary * root = table; local
4818 // look for a matching entry anywhere up to root
4843 root->serialize(s);
H A DIOUserClient.cpp1978 io_object_t *root )
1988 *root = entry;
/darwin-on-arm/xnu/libkern/zlib/
H A Dinftrees.c55 requested root table index bits, and on return it is the actual root
70 unsigned root; /* number of index bits for root table */ local
78 unsigned low; /* low bits for current root entry */
79 unsigned mask; /* mask for low root bits */
139 /* bound code lengths, force root to be within code lengths */
140 root = *bits;
143 if (root > max) root
[all...]
/darwin-on-arm/xnu/iokit/Drivers/KernelBuiltIn/ARM/AppleARMPlatform/
H A DAppleARMIO.cpp71 void AppleARMIOBus::publishBelow(IORegistryEntry * root) argument
78 kids = IODTFindMatchingEntries(root, kIODTRecursive, deleteList());
86 kids = IODTFindMatchingEntries(root, kIODTRecursive | kIODTExclusive, excludeList());
H A DAppleARMIO.h57 virtual void publishBelow(IORegistryEntry * root);
/darwin-on-arm/xnu/iokit/IOKit/platform/
H A DAppleMacIO.h63 virtual void publishBelow( IORegistryEntry * root );
/darwin-on-arm/xnu/iokit/Drivers/platform/drvAppleMacIO/
H A DAppleMacIO.cpp118 void AppleMacIO::publishBelow( IORegistryEntry * root )
125 kids = IODTFindMatchingEntries( root, kIODTRecursive, deleteList() );
134 kids = IODTFindMatchingEntries( root, kIODTRecursive | kIODTExclusive,
/darwin-on-arm/xnu/iokit/bsddev/
H A DIOKitBSDInit.cpp42 // how long to wait for matching root device, secs
217 // root from the network, this registration task must be
218 // done inside the kernel and completed before the root
312 dev_t * root, u_int32_t * oflags )
353 data = OSDynamicCast(OSData, regEntry->getProperty( "root-matching" ));
402 // Now check if we are trying to root on a memory device
417 *root = mdevlookup(xchar); /* Find the device number */
418 if(*root >= 0) { /* Did we find one? */
420 rootName[0] = 'm'; /* Build root name */
421 rootName[1] = 'd'; /* Build root nam
311 IOFindBSDRoot( char * rootName, unsigned int rootNameSize, dev_t * root, u_int32_t * oflags ) argument
[all...]
/darwin-on-arm/xnu/pexpert/gen/
H A Ddevice_tree.c100 skipTree(RealDTEntry root) argument
105 entry = skipProperties(root);
109 for (k = 0; k < root->nChildren; k++) {
/darwin-on-arm/xnu/iokit/IOKit/
H A DIOPlatformExpert.h105 IOPMrootDomain * root; member in class:IOPlatformExpert
213 virtual void processTopLevel( IORegistryEntry * root );
273 /* generic root nub of service tree */
H A DIORegistryEntry.h230 @abstract Returns a pointer to the root instance of the registry.
231 @discussion This method provides an accessor to the root of the registry for the machine. The root may be passed to a registry iterator when iterating a plane, and contains properties that describe the available planes, and diagnostic information for IOKit. Keys for these properties are in IOKitKeys.h.
232 @result A pointer to the IORegistryEntry root instance. It should not be released by the caller. */
566 @abstract Counts the maximum number of entries between an entry and the registry root, in a plane.
567 @discussion This method counts the number of entries between and entry and the registry root, in a plane, for each parent of the entry and returns the maximum value.
569 @result The maximum number of entries between the entry and the root. Zero is returned if the entry is not attached in the plane. */
712 @discussion The path for a registry entry is copied to the caller's buffer. The path describes the entry's attachment in a particular plane, which must be specified. The path begins with the plane name followed by a colon, and then followed by '/' separated path components for each of the entries between the root and the registry entry. Each component is constructed with the getPathComponent method called in each entry. An alias may also exist for the entry, which are described as properties in a registry entry found at /aliases in the plane. If a property value interpreted as a path in a call to IORegistryEntry::fromPath yields the entry, then the property name is used as the entry's path.
739 @param fromEntry The lookup will proceed rooted at this entry if non-zero, otherwise it proceeds from the root of the plane.
852 IORegistryEntry * root; member in class:IORegistryIterator
[all...]
/darwin-on-arm/xnu/libkern/libkern/
H A Dtree.h65 * node to the root of the tree and partly rebalances it.
77 * - every search path from the root to a leaf consists of the
79 * - each red node (except for the root) has a black parent,
88 struct type *sph_root; /* root of the tree */ \
91 #define SPLAY_INITIALIZER(root) \
94 #define SPLAY_INIT(root) do { \
95 (root)->sph_root = NULL; \
322 struct type *rbh_root; /* root of the tree */ \
325 #define RB_INITIALIZER(root) \
328 #define RB_INIT(root) d
[all...]
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_hotfiles.c2249 hf_maxdepth(hotfile_entry_t * root, int depth, int *maxdepth) argument
2251 if (root) {
2255 hf_maxdepth(root->left, depth, maxdepth);
2256 hf_maxdepth(root->right, depth, maxdepth);
2261 hf_printtree(hotfile_entry_t * root) argument
2263 if (root) {
2264 hf_printtree(root->left);
2265 printf("hfs: temperature: % 8d, fileid %d\n", root->temperature, root->fileid);
2266 hf_printtree(root
[all...]
/darwin-on-arm/xnu/
H A Dxnu-build57 ### DarwinBuild must be run as root. Enforce this.
60 echo "Error: xnu-build must be run as root." 1>&2
153 export HOME="/var/root"
154 export LOGNAME="root"
155 export USER="root"
358 chroot -u root -g wheel $BuildRoot $vartmp/$projnam/build-$project_tag~$build_version.sh 2>&1 | tee -a "$LOG";
378 ### build root and into the Root cache
395 rm -f "$DARWIN_BUILDROOT/Roots/$projnam/$project_tag.root"
397 ln -s "$REAL_DSTROOT" "$DARWIN_BUILDROOT/Roots/$projnam/$project_tag.root"
/darwin-on-arm/xnu/osfmk/i386/
H A Dcpu_threads.c266 x86_cpu_cache_t *root = NULL; local
294 root = cur;
302 return root;
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dmakefile87 CHOWN_COMMAND=sudo chown root $(DSTROOT)/xnu_quick_test
88 PERM_ADVICE="\tYou'll have to set the executable's permissions yourself: chown to root and chmod to 4755. You may need to move to a local volume to do that."
/darwin-on-arm/xnu/osfmk/device/
H A Ddevice.defs316 out root : io_object_t

Completed in 216 milliseconds