Lines Matching refs:z
523 #define ZONE_ASSERT_COLD(z) \ argument
524 KASSERT(uma_zone_get_allocs((z)) == 0, \
525 ("zone %s initialization after use.", (z)->uz_name))
528 #define ZDOM_GET(z, n) \ argument
529 (&((uma_zone_domain_t)&(z)->uz_cpu[mp_maxid + 1])[n])
566 #define ZDOM_LOCK_INIT(z, zdom, lc) \ argument
569 mtx_init(&(zdom)->uzd_lock, (z)->uz_name, \
570 (z)->uz_name, MTX_DEF | MTX_DUPOK); \
572 mtx_init(&(zdom)->uzd_lock, (z)->uz_name, \
575 #define ZDOM_LOCK_FINI(z) mtx_destroy(&(z)->uzd_lock) argument
576 #define ZDOM_LOCK_ASSERT(z) mtx_assert(&(z)->uzd_lock, MA_OWNED) argument
578 #define ZDOM_LOCK(z) mtx_lock(&(z)->uzd_lock) argument
579 #define ZDOM_OWNED(z) (mtx_owner(&(z)->uzd_lock) != NULL) argument
580 #define ZDOM_UNLOCK(z) mtx_unlock(&(z)->uzd_lock) argument
582 #define ZONE_LOCK(z) ZDOM_LOCK(ZDOM_GET((z), 0)) argument
583 #define ZONE_UNLOCK(z) ZDOM_UNLOCK(ZDOM_GET((z), 0)) argument
585 #define ZONE_CROSS_LOCK_INIT(z) \ argument
586 mtx_init(&(z)->uz_cross_lock, "UMA Cross", NULL, MTX_DEF)
587 #define ZONE_CROSS_LOCK(z) mtx_lock(&(z)->uz_cross_lock) argument
588 #define ZONE_CROSS_UNLOCK(z) mtx_unlock(&(z)->uz_cross_lock) argument
589 #define ZONE_CROSS_LOCK_FINI(z) mtx_destroy(&(z)->uz_cross_lock) argument