Searched refs:ZTEST_RANGE_LOCKS (Results 1 – 1 of 1) sorted by relevance
253 #define ZTEST_RANGE_LOCKS 64 macro283 rll_t zd_range_lock[ZTEST_RANGE_LOCKS];1151 uint64_t hash = object ^ (offset % (ZTEST_RANGE_LOCKS + 1)); in ztest_range_lock()1152 rll_t *rll = &zd->zd_range_lock[hash & (ZTEST_RANGE_LOCKS - 1)]; in ztest_range_lock()1193 for (int l = 0; l < ZTEST_RANGE_LOCKS; l++) in ztest_zd_init()1205 for (int l = 0; l < ZTEST_RANGE_LOCKS; l++) in ztest_zd_fini()3529 ztest_random(ZTEST_RANGE_LOCKS) << SPA_MAXBLOCKSHIFT); in ztest_dmu_object_alloc_free()4043 (ztest_random(ZTEST_RANGE_LOCKS) << SPA_MAXBLOCKSHIFT); in ztest_dmu_write_parallel()4064 (ztest_random(ZTEST_RANGE_LOCKS) << SPA_MAXBLOCKSHIFT); in ztest_dmu_prealloc()5813 ztest_random(ZTEST_RANGE_LOCKS) << SPA_MAXBLOCKSHIFT); in ztest_freeze()