Searched refs:attach (Results 1 - 8 of 8) sorted by relevance

/xnu-2422.115.4/iokit/Kernel/
H A DIOStartIOKit.cpp159 rootNub->attach( 0 );
H A DIOPlatformExpert.cpp87 bool IOPlatformExpert::attach( IOService * provider ) function in class:IOPlatformExpert
90 if( !super::attach( provider ))
165 nub->attach( this );
400 root->attach(this);
1102 nub->attach( parent );
1136 dtNVRAM->attach(this);
H A DIOService.cpp449 bool IOService::attach( IOService * provider ) function in class:IOService
456 LOG( "%s::attach(%s)\n", getName(),
2791 // attach driver instance
2792 if( !(inst->attach( this )))
2941 ok = service->attach( this );
4949 if ( !client->attach(this) ) {
H A DIOPMrootDomain.cpp1026 patriarch->attach(this);
6353 // USB wake event followed by an AC attach will trigger a full wake.
/xnu-2422.115.4/bsd/net/
H A Dkpi_protocol.c349 ifnet_family_t interface_family, proto_plumb_handler attach,
354 if (attach == NULL)
377 proto_family->attach_proto = attach;
348 proto_register_plumber(protocol_family_t protocol_family, ifnet_family_t interface_family, proto_plumb_handler attach, proto_unplumb_handler detach) argument
H A Dpf_ioctl.c1027 /* attach the discipline */
4974 pf_ifnet_hook(struct ifnet *ifp, int attach) argument
4978 if (attach)
/xnu-2422.115.4/iokit/IOKit/
H A DIOPlatformExpert.h130 virtual bool attach( IOService * provider );
H A DIOService.h480 @discussion When an IOService object is successfully terminated, it is immediately made inactive, which blocks further attach()es, matching or notifications occuring on the object. It remains inactive until the last client closes, and is then finalized and destroyed.
580 @discussion Registering an IOService object informs possible clients of its existance and instantiates drivers that may be used with it; <code>terminate</code> involves the opposite process of informing clients that an IOService object is no longer able to be used and will be destroyed. By default, if any client has the service open, <code>terminate</code> fails. If the <code>kIOServiceRequired</code> flag is passed however, <code>terminate</code> will be successful though further progress in the destruction of the IOService object will not proceed until the last client has closed it. The service will be made inactive immediately upon successful termination, and all its clients will be notified via their @link message message@/link method with a message of type <code>kIOMessageServiceIsTerminated</code>. Both these actions take place on the caller's thread. After the IOService object is made inactive, further matching or attach calls will fail on it. Each client has its @link stop stop@/link method called upon their close of an inactive IOService object , or on its termination if they do not have it open. After <code>stop</code>, @link detach detach@/link is called in each client. When all clients have been detached, the @link finalize finalize@/link method is called in the inactive service. The termination process is inherently asynchronous because it will be deferred until all clients have chosen to close.
900 /*! @function attach
902 @discussion This function called in an IOService client enters the client into the I/O Registry as a child of the provider in the service plane. The provider must be active or the attach will fail. Multiple attach calls to the same provider are no-ops and return success. A client may be attached to multiple providers. Entering an object into the I/O Registry retains both the client and provider until they are detached.
906 virtual bool attach( IOService * provider );
945 @discussion This function called in an IOService provider will return the first client to attach to it. For IOService objects which have only only one client, this may be a useful simplification.
1015 @abstract Allocates any needed resources for a published IOService object before clients attach.
1016 @discussion This method is called during the registration process for an IOService object if there are successful driver matches, before any clients attach. It allows for lazy allocation of resources to an IOService object when a matching driver is found.
1463 @discussion Use <code>temporaryPowerClampOn</code> to hold your driver in its highest power state while waiting for child devices to attach
[all...]

Completed in 193 milliseconds