Lines Matching defs:method
141 * @member method A pointer to a method to call to handle PMI.
144 * @member refCon Passed to the @method method as the refCon argument.
148 volatile pmc_interrupt_method_t method;
457 * If found, the method returns the perf_monitor_t with an extra reference
800 * This method will inspect the task/thread of the reservation to see if it
875 * determined by the reservation's scope flags). Further, this method returns
1044 #error pmc_reservation_interrupt needs an inter-processor method invocation mechanism for this architecture
1057 * NOTE: The scope flag must have been set for this method to function.
1621 * NOTE: This method is interrupt safe.
1640 /* We are in context, but the reservation may have already had the context_in method run. Attempt
1670 * method is called. This method marks the reservation as stopped, and passes
1671 * control off to the user-registered callback method, along with the
1674 * This method assumes the reservation has a valid pmc_config_t within.
1715 assert(reservation->config->method);
1722 (void)reservation->config->method(reservation, refCon);
1727 kprintf("%s - user method %p took %llu ns\n", __FUNCTION__,
1728 reservation->config->method, (end - start));
1874 * perf_monitor_register before this method will succeed.
2006 * NOTE: This method is not interrupt safe.
2026 tmp->method = NULL;
2045 * NOTE: This method is not interrupt safe.
2062 * NOTE: This method is not interrupt safe.
2093 * NOTE: This method is not interrupt safe.
2096 uint64_t threshold, pmc_interrupt_method_t method, void *refCon) {
2112 * it. However, in order to have the PMI method have the reservation as
2113 * the first argument (in order to allow the user-method to, for
2116 * We overcome this by caching the method in the pmc_config_t stand-in,
2123 config->method = method;
2140 * NOTE: This method is not interrupt safe.
2197 * NOTE: This method is not interrupt safe.
2284 * NOTE: Driver authors must take care to not allocate during this method, as
2285 * this method *IS* interrupt safe.
2300 * NOTE: This method is interrupt safe.
2323 if(config->interrupt_after_value && config->method) {
2351 * configuration object, for counting system-wide. This method will fail with
2354 * This method consumes the given configuration object if it returns
2358 * NOTE: This method is NOT interrupt safe.
2401 * logical core that can directly access the given @pmc. This method will fail
2405 * This method consumes the given configuration object if it returns
2410 * NOTE: This method is NOT interrupt safe.
2460 * logical core that can directly access the given @pmc. This method will fail
2464 * This method consumes the given configuration object if it returns
2469 * NOTE: This method is NOT interrupt safe.
2519 * NOTE: This method is interrupt safe.
2549 * soon as possible. When this method returns, the pmc will be marked as stopping
2589 * NOTE: This method is interrupt safe.
2590 * NOTE: When not on the interrupt stack, this method may block.
2648 * NOTE: This method is interrupt safe.
2649 * NOTE: When not on the interrupt stack, this method may block.
2700 * NOTE: This method is NOT interrupt safe.
2796 * NOTE: This method IS interrupt safe.
2890 pmc_interrupt_method_t method __unused, void *refCon __unused) {