Lines Matching defs:xa
49 #define XA_ASSERT_LOCKED(xa) mtx_assert(&(xa)->mtx, MA_OWNED)
50 #define xa_lock(xa) mtx_lock(&(xa)->mtx)
51 #define xa_unlock(xa) mtx_unlock(&(xa)->mtx)
73 #define xa_for_each(xa, index, entry) \
75 ((entry) = xa_next(xa, &index, (entry) != NULL)) != NULL; )
95 xa_init(struct xarray *xa)
97 xa_init_flags(xa, 0);