/macosx-10.5.8/xnu-1228.15.4/osfmk/ipc/ |
H A D | ipc_splay.c | 154 * the root of the middle tree. Otherwise, the root 261 * into a splay tree with the found node at the root. 310 ipc_tree_entry_t root; local 314 root = splay->ist_root; 315 if (root != ITE_NULL) { 316 *namep = root->ite_name; 317 *entryp = root; 322 return root != ITE_NULL; 337 ipc_tree_entry_t root; local 377 ipc_tree_entry_t root; local 441 ipc_tree_entry_t root, saved; local 512 ipc_tree_entry_t root; local 610 ipc_tree_entry_t root; local 679 ipc_tree_entry_t root; local 939 ipc_tree_entry_t root; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | PMmisc.cpp | 35 static IOService * root; variable 47 if ( strcmp(rootDomain,who) == 0 ) { // root power domain is registering 50 root = theDevice; 52 root->addChild ( display ); 60 if ( rootRegistered ) { // if not root domain, then it's 61 root->addChild ( theDevice ); // one of its children
|
H A D | IOStartIOKit.cpp | 94 IORegistryEntry * root; local 166 root = IORegistryEntry::initialize(); 167 assert( root ); 179 root->setProperty( kIOKitBuildVersionKey, obj ); 184 root->setProperty( kIOKitDiagnosticsKey, obj ); 214 IORegistryEntry * root = IORegistryEntry::getRegistryRoot(); local 216 if (root) { 218 root->setProperty(kOSBuildVersionKey, build_version); 220 root->removeProperty(kOSBuildVersionKey);
|
H A D | IOPMrootDomain.cpp | 76 static void notifySystemShutdown( IOService * root, unsigned long event ); 252 opened, changePowerStateTo(ON_STATE) is called to hold the system on regardless of the desires of the children of the root or 256 In this case the root's parent actually initiates the power state change so that the root has no choice and does not give 259 Idle Sleep/Doze occurs if no objects in the tree are in a state marked kIOPMPreventIdleSleep. When this is true, the root's 260 children are not holding the root on, so it sets the "policy-maker clamp" by calling changePowerStateToPriv(ON_STATE) 264 when there is no longer an object in the tree holding the system out of Idle Sleep (via kIOPMPreventIdleSleep), the root 272 a clamp, but sets a flag which is noticed before actually sleeping the kernel. If the flag is set, the root steps up 282 IOPMrootDomain *root; local 284 root 703 broadcast_aggressiveness( OSObject * root, void * x, void * y, void *, void * ) argument 2958 notifySystemShutdown( IOService * root, unsigned long event ) argument 3159 IOPMrootDomain * root = (IOPMrootDomain *) this; local [all...] |
H A D | IORegistryEntry.cpp | 846 IORegistryEntry * root; local 891 root = gRegistryRoot->getChildEntry( plane ); 892 while( parent && (entry != root)) { 893 // stop below root 1803 IORegistryIterator::iterateOver( IORegistryEntry * root, argument 1809 if( 0 == root) 1818 root->retain(); 1819 create->root = root; 1821 create->start.current = root; [all...] |
H A D | IOPlatformExpert.cpp | 432 root = new IOPMrootDomain; 433 root->init(); 434 root->attach(this); 435 root->start(this); 436 root->youAreRoot(); 443 // In this vanilla implementation, all callers are made children of the root power domain. 449 root->addPowerChild ( theDevice );
|
H A D | IOServicePM.cpp | 551 // Power Managment is informing us that we are the root power domain. 795 // to the root domain. 1069 IOService * root; local 1098 root = getPlatform()->getProvider(); 1099 assert(root); 1100 if (!root || 1102 root, &IOService::powerStateDidChangeTo)) != 1106 root, &IOService::powerStateWillChangeTo)) !=
|
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/platform/ |
H A D | AppleMacIO.h | 63 virtual void publishBelow( IORegistryEntry * root );
|
/macosx-10.5.8/xnu-1228.15.4/iokit/Drivers/platform/drvAppleMacIO/ |
H A D | AppleMacIO.cpp | 116 void AppleMacIO::publishBelow( IORegistryEntry * root ) 123 kids = IODTFindMatchingEntries( root, kIODTRecursive, deleteList() ); 132 kids = IODTFindMatchingEntries( root, kIODTRecursive | kIODTExclusive,
|
/macosx-10.5.8/xnu-1228.15.4/pexpert/ppc/ |
H A D | pe_identify_machine.c | 47 DTEntry cpu, root; local 70 // Find the bus frequency next. Try the cpu node, then the root. 75 if (DTLookupEntry(0, "/", &root) == kSuccess) { 76 if (DTGetProperty(root, "clock-frequency", (void **)&value, &size) == kSuccess) {
|
H A D | pe_init.c | 152 DTEntry dsouth, dnorth, root, dcpu; local
|
/macosx-10.5.8/xnu-1228.15.4/libsa/ |
H A D | dgraph.c | 143 dgraph->root = dgraph_find_root(dgraph); 146 if (!dgraph->root) { 147 kload_log_error("dependency graph has no root" KNL); 151 if (dgraph->root->is_kernel_component && !dgraph->root->is_symbol_set) { 152 kload_log_error("dependency graph root is a kernel component" KNL); 244 dgraph_entry_t * root = NULL; local 270 * then the candidate can't be the root. 292 if (root) { 294 "(%s and %s)" KNL, root [all...] |
H A D | dgraph.h | 118 dgraph_entry_t * root; member in struct:__anon623 149 * list must be the dependent. Also, there can only be one root
|
H A D | load.c | 802 kload_log_error("you must be running as root to load " 958 (current_entry == dgraph->root), 963 (current_entry == dgraph->root)); 969 if (dgraph->has_opaque_links && (current_entry != dgraph->root)) 993 if ( (interactive_level == 1 && current_entry == dgraph->root) || 1027 if (current_entry != dgraph->root || 1028 (current_entry == dgraph->root && do_start_kmod)) { 1873 * (We already did the root module above.) 1881 if (current_entry == dgraph->root && 1943 * (We already did the root modul [all...] |
H A D | kext.cpp | 531 * Set up the root kmod. 787 dgraph.root = dgraph_find_root(&dgraph); 789 if (!dgraph.root) { 790 IOLog("Dependency graph to load %s has no root.\n", 798 if (dgraph.root->is_kernel_component) {
|
H A D | catalogue.cpp | 969 IORegistryEntry * root; local 1013 root = IORegistryEntry::getRegistryRoot(); 1014 assert(root); 1019 root->setProperty(kIOStartupMkextCRC, checksumObj); 1842 * to be loaded, so that, for example, a driver for the root device
|
/macosx-10.5.8/xnu-1228.15.4/iokit/bsddev/ |
H A D | IOKitBSDInit.cpp | 41 // how long to wait for matching root device, secs 225 // root from the network, this registration task must be 226 // done inside the kernel and completed before the root 463 dev_t * root, u_int32_t * oflags ) 506 data = OSDynamicCast(OSData, regEntry->getProperty( "root-matching" )); 579 // Now check if we are trying to root on a memory device 594 *root = mdevlookup(xchar); /* Find the device number */ 595 if(*root >= 0) { /* Did we find one? */ 597 rootName[0] = 'm'; /* Build root name */ 598 rootName[1] = 'd'; /* Build root nam 462 IOFindBSDRoot( char * rootName, unsigned int rootNameSize, dev_t * root, u_int32_t * oflags ) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/pexpert/gen/ |
H A D | device_tree.c | 100 skipTree(RealDTEntry root) argument 105 entry = skipProperties(root); 109 for (k = 0; k < root->nChildren; k++) {
|
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/ |
H A D | IOPlatformExpert.h | 96 IOPMrootDomain * root; member in class:IOPlatformExpert 204 virtual void processTopLevel( IORegistryEntry * root ); 264 /* generic root nub of service tree */
|
H A D | IORegistryEntry.h | 218 @abstract Returns a pointer to the root instance of the registry. 219 @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. 220 @result A pointer to the IORegistryEntry root instance. It should not be released by the caller. */ 554 @abstract Counts the maximum number of entries between an entry and the registry root, in a plane. 555 @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. 557 @result The maximum number of entries between the entry and the root. Zero is returned if the entry is not attached in the plane. */ 700 @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. 727 @param fromEntry The lookup will proceed rooted at this entry if non-zero, otherwise it proceeds from the root of the plane. 814 IORegistryEntry * root; member in class:IORegistryIterator [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/ |
H A D | hfs_hotfiles.c | 2206 hf_maxdepth(hotfile_entry_t * root, int depth, int *maxdepth) argument 2208 if (root) { 2212 hf_maxdepth(root->left, depth, maxdepth); 2213 hf_maxdepth(root->right, depth, maxdepth); 2218 hf_printtree(hotfile_entry_t * root) argument 2220 if (root) { 2221 hf_printtree(root->left); 2222 printf("temperature: % 8d, fileid %d\n", root->temperature, root->fileid); 2223 hf_printtree(root [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/isofs/cd9660/ |
H A D | cd9660_vfsops.c | 146 * Called by vfs_mountroot when iso is going to be mounted as root. 501 bcopy (rootp, isomp->root, sizeof(isomp->root)); 639 bcopy (rootp, isomp->root, sizeof(isomp->root)); 742 * Return root of a filesystem 749 (struct iso_directory_record *)imp->root; 753 * With RRIP we must use the `.' entry of the root directory. 1311 ip->i_parent = 1; /* root's parent is always 1 by convention */ 1362 /* Tag root director [all...] |
H A D | iso.h | 271 char root[ISODCL (157, 190)]; member in struct:iso_mnt
|
/macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/ |
H A D | makefile | 67 sudo chown root $(DSTROOT)/xnu_quick_test
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | cpu_threads.c | 279 x86_cpu_cache_t *root = NULL; local 325 root = cur; 336 return(root);
|