Lines Matching defs:ref
2649 * If the non-cred ref count drops to 1 and either the cred ref count
2660 * release. If ref is not NULL, then the zone_ref_t to which it refers is
2661 * removed from the specified zone's reference list. ref must be non-NULL iff
2665 zone_rele_common(zone_t *z, zone_ref_t *ref, zone_ref_subsys_t subsys)
2675 list_remove(&z->zone_ref_list, ref);
2714 zone_init_ref(zone_ref_t *ref)
2716 ref->zref_zone = NULL;
2717 list_link_init(&ref->zref_linkage);
2734 zone_hold_ref(zone_t *z, zone_ref_t *ref, zone_ref_subsys_t subsys)
2742 VERIFY(ref->zref_zone == NULL);
2744 ref->zref_zone = z;
2749 list_insert_head(&z->zone_ref_list, ref);
2761 zone_rele_ref(zone_ref_t *ref, zone_ref_subsys_t subsys)
2763 zone_rele_common(ref->zref_zone, ref, subsys);
2772 ref->zref_zone = NULL;
4890 uint_t ref;
4915 ref = zone->zone_ref;
4931 zone->zone_name, zone->zone_id, ref, cred_ref);
4970 zone->zone_id, ref, cred_ref, buffer);