Searched refs:ZTEST_RANGE_LOCKS (Results 1 – 1 of 1) sorted by relevance
255 #define ZTEST_RANGE_LOCKS 64 macro285 rll_t zd_range_lock[ZTEST_RANGE_LOCKS];1154 uint64_t hash = object ^ (offset % (ZTEST_RANGE_LOCKS + 1)); in ztest_range_lock()1155 rll_t *rll = &zd->zd_range_lock[hash & (ZTEST_RANGE_LOCKS - 1)]; in ztest_range_lock()1196 for (int l = 0; l < ZTEST_RANGE_LOCKS; l++) in ztest_zd_init()1208 for (int l = 0; l < ZTEST_RANGE_LOCKS; l++) in ztest_zd_fini()3532 ztest_random(ZTEST_RANGE_LOCKS) << SPA_MAXBLOCKSHIFT); in ztest_dmu_object_alloc_free()4046 (ztest_random(ZTEST_RANGE_LOCKS) << SPA_MAXBLOCKSHIFT); in ztest_dmu_write_parallel()4067 (ztest_random(ZTEST_RANGE_LOCKS) << SPA_MAXBLOCKSHIFT); in ztest_dmu_prealloc()5816 ztest_random(ZTEST_RANGE_LOCKS) << SPA_MAXBLOCKSHIFT); in ztest_freeze()