Searched refs:category (Results 1 - 2 of 2) sorted by relevance
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOService.cpp | 2530 IOService * IOService::copyClientWithCategory( const OSSymbol * category ) 2543 if( category == nextCat) 2554 IOService * IOService::getClientWithCategory( const OSSymbol * category ) 2557 service = copyClientWithCategory(category); 2614 const OSSymbol * category; local 2654 category = OSDynamicCast( OSSymbol, 2656 if( 0 == category) 2657 category = gIODefaultMatchCategoryKey; 2659 if( (client = copyClientWithCategory(category)) ) { 2662 LOG("%s: match category [all...] |
/darwin-on-arm/xnu/iokit/IOKit/ |
H A D | IOService.h | 198 When the probing phase is complete, the list consists of successfully probed drivers, in order of their probe score (after adjustment during the @link probe probe@/link call). The list is then divided into categories based on the <code>kIOMatchCategoryKey</code> property ("IOMatchCategory"); drivers without a match category are all considered in one default category. Match categories allow multiple clients of a provider to be attached and started, though the provider may also enforce open/close semantics to gain active access to it. 200 For each category, the highest scoring driver in that category is attached to the provider, and its @link start start@/link method called. If <code>start</code> is successful, the rest of the drivers in the same match category are discarded, otherwise the next highest scoring driver is started, and so on. 202 The driver should only consider itself in action when the start method is called, meaning it has been selected for use on the provider, and consuming that particular match category. It should also be prepared to be allocated, probed and freed even if the probe was successful. 229 A string defining the driver category for matching purposes. All drivers with no <code>IOMatchCategory</code> property are considered to be in the same default category. Only one driver in a category can be started on each provider. 372 @param category A [all...] |
Completed in 21 milliseconds