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 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 Dzio_inject.c120 return (spa_get_random(maximum) < frequency);
450 if (spa_get_random(100) < 60)
H A Dspa_misc.c1496 spa_get_random(uint64_t range) function
1513 uint64_t guid = spa_get_random(-1ULL);
1517 guid = spa_get_random(-1ULL);
1520 guid = spa_get_random(-1ULL);
H A Dvdev_mirror.c469 p = spa_get_random(mm->mm_preferred_cnt);
H A Dvdev_indirect.c1552 for (int i = spa_get_random(children); i > 0; i--)
1709 spa_get_random(zfs_reconstruct_indirect_damage_fraction) == 0)
H A Dspace_map.c708 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.c2620 import_delay += import_delay * spa_get_random(250) / 1000;
4042 int c0 = spa_get_random(children);
8482 int c0 = spa_get_random(children);
H A Ddmu_recv.c1111 spa_get_random(receive_object_delay_frac) == 0)
H A Darc.c4915 if (spa_get_random(100) == 0)
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h1004 extern uint64_t spa_get_random(uint64_t range);

Completed in 131 milliseconds