Home | History | Annotate | Download | only in kern

Lines Matching refs:ref

72  * or the ref lock.  To write it, you must hold BOTH the domain lock
73 * and the ref lock. The locks must be acquired in the following
75 * domain -> ref
258 specificdata_init(specificdata_domain_t sd, specificdata_reference *ref)
265 ref->specdataref_container = NULL;
266 mutex_init(&ref->specdataref_lock, MUTEX_DEFAULT, IPL_NONE);
277 specificdata_fini(specificdata_domain_t sd, specificdata_reference *ref)
284 mutex_destroy(&ref->specdataref_lock);
286 sc = ref->specdataref_container;
289 ref->specdataref_container = NULL;
308 specificdata_getspecific(specificdata_domain_t sd, specificdata_reference *ref,
314 mutex_enter(&ref->specdataref_lock);
316 sc = ref->specdataref_container;
320 mutex_exit(&ref->specdataref_lock);
336 specificdata_reference *ref,
341 sc = ref->specdataref_container;
354 specificdata_reference *ref,
362 mutex_enter(&ref->specdataref_lock);
364 sc = ref->specdataref_container;
367 mutex_exit(&ref->specdataref_lock);
371 mutex_exit(&ref->specdataref_lock);
387 mutex_enter(&ref->specdataref_lock);
389 sc = ref->specdataref_container;
397 mutex_exit(&ref->specdataref_lock);
408 ref->specdataref_container = newsc;
410 mutex_exit(&ref->specdataref_lock);