Lines Matching defs:method
1201 IOExternalMethod *method = getExternalMethodForIndex(index);
1203 if (method)
1204 *targetP = (IOService *) method->object;
1206 return method;
1212 IOExternalAsyncMethod *method = getExternalAsyncMethodForIndex(index);
1214 if (method)
1215 *targetP = (IOService *) method->object;
1217 return method;
3130 IOExternalMethod * method,
3144 if( inputCount != method->count0)
3149 if( *outputCount != method->count1)
3155 func = method->func;
3193 IOLog("%s: Bad method table\n", object->getName());
3353 IOExternalAsyncMethod * method,
3376 if( inputCount != method->count0)
3381 if( *outputCount != method->count1)
3387 func = method->func;
3432 IOLog("%s: Bad method table\n", object->getName());
3473 IOExternalMethod * method,
3486 if( inputCount != method->count0)
3491 if( (kIOUCVariableStructureSize != method->count1)
3492 && (*outputCount != method->count1))
3498 func = method->func;
3529 IOLog("%s: Bad method table\n", object->getName());
3539 IOExternalAsyncMethod * method,
3559 if( inputCount != method->count0)
3564 if( (kIOUCVariableStructureSize != method->count1)
3565 && (*outputCount != method->count1))
3571 func = method->func;
3608 IOLog("%s: Bad method table\n", object->getName());
3645 IOExternalMethod * method,
3657 if( (kIOUCVariableStructureSize != method->count0)
3658 && (inputCount != method->count0))
3663 if( (kIOUCVariableStructureSize != method->count1)
3664 && (inputStructCount != method->count1))
3670 func = method->func;
3705 IOLog("%s: Bad method table\n", object->getName());
3714 IOExternalAsyncMethod * method,
3734 if( (kIOUCVariableStructureSize != method->count0)
3735 && (inputCount != method->count0))
3740 if( (kIOUCVariableStructureSize != method->count1)
3741 && (inputStructCount != method->count1))
3747 func = method->func;
3788 IOLog("%s: Bad method table\n", object->getName());
3818 IOExternalMethod * method,
3830 if( (kIOUCVariableStructureSize != method->count0)
3831 && (inputCount != method->count0))
3836 if( (kIOUCVariableStructureSize != method->count1)
3837 && (*outputCount != method->count1))
3843 func = method->func;
3845 if( method->count1) {
3846 if( method->count0) {
3863 IOExternalAsyncMethod * method,
3884 if( (kIOUCVariableStructureSize != method->count0)
3885 && (inputCount != method->count0))
3890 if( (kIOUCVariableStructureSize != method->count1)
3891 && (*outputCount != method->count1))
3897 func = method->func;
3899 if( method->count1) {
3900 if( method->count0) {
4322 IOExternalAsyncMethod * method;
4324 if( !(method = getAsyncTargetAndMethodForIndex(&object, selector)) )
4327 if (kIOUCForegroundOnly & method->flags)
4334 switch (method->flags & kIOUCTypeMask)
4337 err = shim_io_async_method_scalarI_structureI( method, object,
4344 err = shim_io_async_method_scalarI_scalarO( method, object,
4351 err = shim_io_async_method_scalarI_structureO( method, object,
4359 err = shim_io_async_method_structureI_structureO( method, object,
4372 IOExternalMethod * method;
4374 if( !(method = getTargetAndMethodForIndex(&object, selector)) )
4377 if (kIOUCForegroundOnly & method->flags)
4385 switch (method->flags & kIOUCTypeMask)
4388 err = shim_io_connect_method_scalarI_structureI( method, object,
4394 err = shim_io_connect_method_scalarI_scalarO( method, object,
4400 err = shim_io_connect_method_scalarI_structureO( method, object,
4407 err = shim_io_connect_method_structureI_structureO( method, object,