Lines Matching defs:ref
2779 * If the non-cred ref count drops to 1 and either the cred ref count
2790 * release. If ref is not NULL, then the zone_ref_t to which it refers is
2791 * removed from the specified zone's reference list. ref must be non-NULL iff
2795 zone_rele_common(zone_t *z, zone_ref_t *ref, zone_ref_subsys_t subsys)
2805 list_remove(&z->zone_ref_list, ref);
2844 zone_init_ref(zone_ref_t *ref)
2846 ref->zref_zone = NULL;
2847 list_link_init(&ref->zref_linkage);
2864 zone_hold_ref(zone_t *z, zone_ref_t *ref, zone_ref_subsys_t subsys)
2872 VERIFY(ref->zref_zone == NULL);
2874 ref->zref_zone = z;
2879 list_insert_head(&z->zone_ref_list, ref);
2891 zone_rele_ref(zone_ref_t *ref, zone_ref_subsys_t subsys)
2893 zone_rele_common(ref->zref_zone, ref, subsys);
2902 ref->zref_zone = NULL;
5076 uint_t ref;
5101 ref = zone->zone_ref;
5117 zone->zone_name, zone->zone_id, ref, cred_ref);
5156 zone->zone_id, ref, cred_ref, buffer);