Lines Matching refs:clone
195 * pm_clone_lock: Protects the clone list and count of poll events
2168 * dependent of such a device) changes power, or when a pm clone is closed
5572 pm_interest_registered(int clone)
5574 ASSERT(clone >= 0 && clone < PM_MAX_CLONE - 1);
5575 return (pm_interest[clone]);
5581 * Process with clone has just done PM_DIRECT_PM on dip, or has asked to
5586 pm_register_watcher(int clone, dev_info_t *dip)
5596 pscc->pscc_clone = clone;
5604 * Already an entry for this clone, so just use it
5608 if (p->pscc_clone == clone) {
5629 ASSERT(!pm_interest_registered(clone));
5634 * Should not be an entry for this clone!
5636 ASSERT(p->pscc_clone != clone);
5647 pm_interest[clone] = 1;
5712 * If dip is NULL, process is closing "clone" clean up all its registrations.
5717 pm_deregister_watcher(int clone, dev_info_t *dip)
5727 if (p->pscc_clone == clone) {
5738 pm_interest[clone] = 0;
5746 (dip == NULL && clone == p->pscc_clone)) {
5747 ASSERT(clone == p->pscc_clone);
5774 * Search the indicated list for an entry that matches clone, and return a
5780 pm_psc_find_clone(int clone, pscc_t **list, krwlock_t *lock)
5786 if (clone == p->pscc_clone) {
5803 * Find an entry for a particular clone in the direct list.
5806 pm_psc_clone_to_direct(int clone)
5808 return (pm_psc_find_clone(clone, &pm_pscc_direct,
5813 * Find an entry for a particular clone in the interest list.
5816 pm_psc_clone_to_interest(int clone)
5818 return (pm_psc_find_clone(clone, &pm_pscc_interest,