• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/xnu-2782.1.97/iokit/Kernel/

Lines Matching +defs:child +defs:name

696                     // detach nub from child
744 IOReturn IOService::addPowerChild( IOService * child )
751 if (!child)
754 if (!initialized || !child->initialized)
757 OUR_PMLog( kPMLogAddChild, (uintptr_t) child, 0 );
760 // Is this child already one of our children?
762 iter = child->getParentIterator( gIOPowerPlane );
781 PM_LOG("%s: %s (%p) is already a child\n",
782 getName(), child->getName(), OBFUSCATE(child));
786 // Add the child to the power plane immediately, but the
788 // We want the child to appear in the power plane before
804 /* target */ child,
823 connection->attachToChild( child, gIOPowerPlane );
840 // Silent failure, to prevent platform drivers from adding the child
849 // Step 1/3 of adding a power child. Called on the power parent.
856 // Make us temporary usable before adding the child.
876 // Step 2/3 of adding a power child. Called on the joining child.
932 // Step 3/3 of adding a power child. Called on the parent.
939 IOService * child;
943 child = (IOService *) connection->getChildEntry(gIOPowerPlane);
945 if (child && inPlane(gIOPowerPlane))
947 if ((this != rootDomain) && child->getProperty("IOPMStrictTreeOrder"))
954 rootDomain->joinAggressiveness( child );
984 // Called on a parent whose child is being removed by PMstop().
996 // detach nub from child
1006 // Are we awaiting an ack from this child?
1030 // A child has gone away, re-scan children desires and clamp bits.
1406 // After we notified one of the interested drivers or a power-domain child
1499 // it's a child
1921 // child's desire changed during a parent change notify.
2027 // Called on a power parent when a child's power requirement changes.
2037 IOService * child;
2058 child = (IOService *) childConnection->getChildEntry(gIOPowerPlane);
2059 assert(child);
2061 // Remove flags from child request which we can't possibly supply
2078 // The child must not wait for this parent to raise power
2092 getName(), fMachineState, child->getName());
2104 // child's perspective. A child power request may arrive while
2108 // fCurrentPowerState is incorrect, and might cause the child
2114 child->fHeadNoteDomainTargetFlags |= outputPowerFlags;
2116 // Map child's requested power flags to one of our power state.
2131 // Adjust power will also propagate any changes to the child's
2142 getName(), child->getName(),
2149 // Record the child's desires on the connection.
2562 // Ignore child and driver when override is in effect.
2569 // Ignore child proxy when children are present.
2678 IOService * child;
2685 // Get child of IOPowerConnection objects
2688 child = (IOService *) connection->copyChildEntry(gIOPowerPlane);
2689 if (child)
2691 (*applier)(child, context);
2692 child->release();
2720 // Get child of IOPowerConnection objects
3512 // else, child has already acked or driver has removed interest,
3605 // Sum child power consumption in notifyChild()
3666 // notification. Then notify the remaining delayed child
3667 // in the array. This is used to hold off graphics child
3697 // Notify one child, wait for it to ack, then repeat for next child.
3703 // We have the ability to power off in reverse child index order.
3735 // then notify all delayed children. If notify delay is canceled, child
3971 // Notify a power domain child of an upcoming power change.
3991 // Unless the child handles the notification immediately and returns
4122 // else, child has already acked and driver_timer reset to 0.
4384 // To prevent this, a child must make a power reservation against all
4386 // that the child will be unable to sustain the higher power state,
4387 // then the child will signal the parent to adjust power, and the child
4413 IOService * child; // the requesting child
4414 IOPMPowerFlags requestPowerFlags; // power flags requested by child
4449 // Called by a power child to broadcast its desired power state to all parents.
4450 // If the child self-initiates a power change, it must call this function to
4485 context.child = this;
5492 char name[128];
5508 name[0] = '\0';
5511 proc_name(pid, name, sizeof(name));
5515 PM_ERROR(context->errorLog, pid, name);
5520 name, 0, (30*1000), pid, object);
5948 // Log client pid/name and client array index.
6363 char name[128];
6365 name[0] = '\0';
6366 proc_name(pid, name, sizeof(name));
6383 pid, name);
6391 name, 0, NS_TO_MS(nsec), pid, object);
6397 name, 0, NS_TO_MS(nsec), pid, object);
6467 char name[128];
6476 name[0] = '\0';
6477 proc_name(pid, name, sizeof(name));
6478 PM_ERROR("PM notification cancel (pid %d, %s)\n", pid, name);
6488 request->fArg2 = (void *) OSString::withCString(name);
7563 OSString * name = (OSString *) request->fArg2;
7566 name ? name->getCStringNoCopy() : "", 0,
7578 // OSString containing app name in Arg2 must be released.
8474 uintptr_t name = 0;
8495 // Copy the first characters of the name into an uintptr_t
8498 ((char *) &name)[sizeof(uintptr_t) - i - 1] = who[i];
8501 IOTimeStampConstant(code, name, (uintptr_t) regId, param1, param2);