Searched refs:spa_get_random (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzio_compress.c173 spa_get_random(zio_decompress_fail_fraction) == 0)
H A Dzio_inject.c117 spa_get_random(100) < record->zi_freq);
133 spa_get_random(100) < record->zi_freq);
424 if (spa_get_random(100) < 60)
H A Dmmp.c529 MMP_BLOCKS_PER_LABEL + spa_get_random(MMP_BLOCKS_PER_LABEL));
531 label = spa_get_random(VDEV_LABELS);
H A Dmultilist.c22 /* needed for spa_get_random() */
274 return (spa_get_random(ml->ml_num_sublists));
H A Dspa_misc.c1455 spa_get_random(uint64_t range) function
1472 uint64_t guid = spa_get_random(-1ULL);
1476 guid = spa_get_random(-1ULL);
1479 guid = spa_get_random(-1ULL);
H A Dvdev_mirror.c468 p = spa_get_random(mm->mm_preferred_cnt);
H A Dvdev_indirect.c1551 for (int i = spa_get_random(children); i > 0; i--)
1708 spa_get_random(zfs_reconstruct_indirect_damage_fraction) == 0)
H A Dspace_map.c703 spa_get_random(100) == 0)))
H A Dzil.c187 zc->zc_word[ZIL_ZC_GUID_0] = spa_get_random(-1ULL);
188 zc->zc_word[ZIL_ZC_GUID_1] = spa_get_random(-1ULL);
H A Dzio_crypt.c472 spa_get_random(zio_decrypt_fail_fraction) == 0) {
H A Dspa.c2608 import_delay += import_delay * spa_get_random(250) / 1000;
4021 int c0 = spa_get_random(children);
8410 int c0 = spa_get_random(children);
H A Ddmu_recv.c1115 spa_get_random(receive_object_delay_frac) == 0)
H A Darc.c4900 if (spa_get_random(100) == 0)
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h1030 extern uint64_t spa_get_random(uint64_t range);

Completed in 304 milliseconds