Lines Matching defs:entry
800 cpupm_notification_t *entry;
803 for (entry = mach_state->ms_handlers; entry != NULL;
804 entry = entry->nq_next) {
805 entry->nq_handler(obj, val, entry->nq_ctx);
817 cpupm_notification_t *entry;
819 entry = kmem_zalloc(sizeof (cpupm_notification_t), KM_SLEEP);
820 entry->nq_handler = handler;
821 entry->nq_ctx = ctx;
824 entry->nq_next = NULL;
825 mach_state->ms_handlers = entry;
830 entry->nq_next = mach_state->ms_handlers;
831 mach_state->ms_handlers = entry;
844 cpupm_notification_t *entry;
856 entry = mach_state->ms_handlers;
857 while (entry != NULL) {
858 next = entry->nq_next;
859 kmem_free(entry, sizeof (cpupm_notification_t));
860 entry = next;
995 * have an entry for both CPU_ACPI_C2 and CPU_ACPI_C3.