Home
last modified time | relevance | path

Searched refs:random_get_pseudo_bytes (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Drandom.h37 extern int random_get_pseudo_bytes(uint8_t *ptr, size_t len);
49 (void) random_get_pseudo_bytes((uint8_t *)&r, sizeof (r)); in random_in_range()
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Drandom.h45 random_get_pseudo_bytes(uint8_t *p, size_t s) in random_get_pseudo_bytes() function
64 (void) random_get_pseudo_bytes((uint8_t *)&r, sizeof (r)); in random_in_range()
/freebsd/sys/cddl/compat/opensolaris/sys/
H A Drandom.h33 #define random_get_pseudo_bytes(p, s) arc4rand((p), (int)(s), 0) macro
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dunique.c86 (void) random_get_pseudo_bytes((void*)&un->un_value, in unique_insert()
H A Dspa_misc.c1565 (void) random_get_pseudo_bytes((void *)&guid, in spa_generate_guid()
1570 (void) random_get_pseudo_bytes((void *)&guid, in spa_generate_guid()
H A Dzil.c215 (void) random_get_pseudo_bytes((void *)&zc->zc_word[ZIL_ZC_GUID_0], in zil_init_log_chain()
217 (void) random_get_pseudo_bytes((void *)&zc->zc_word[ZIL_ZC_GUID_1], in zil_init_log_chain()
H A Ddsl_dataset.c1169 (void) random_get_pseudo_bytes((void*)&dsphys->ds_guid, in dsl_dataset_create_sync_dd()
1734 (void) random_get_pseudo_bytes((void*)&dsphys->ds_guid, in dsl_dataset_snapshot_sync_impl()
H A Dspa.c4623 (void) random_get_pseudo_bytes(spa->spa_cksum_salt.zcs_bytes,
6584 (void) random_get_pseudo_bytes(spa->spa_cksum_salt.zcs_bytes,
/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-generic.c156 random_get_pseudo_bytes(uint8_t *ptr, size_t len) in random_get_pseudo_bytes() function
202 EXPORT_SYMBOL(random_get_pseudo_bytes);
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzfs_context.h646 extern int random_get_pseudo_bytes(uint8_t *ptr, size_t len);
658 (void) random_get_pseudo_bytes((uint8_t *)&r, sizeof (r));
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzio_crypt.c444 ret = random_get_pseudo_bytes(iv, WRAPPING_IV_LEN); in zio_crypt_key_wrap()
612 ret = random_get_pseudo_bytes(ivbuf, ZIO_DATA_IV_LEN); in zio_crypt_generate_iv()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzio_crypt.c503 ret = random_get_pseudo_bytes(iv, WRAPPING_IV_LEN); in zio_crypt_key_wrap()
665 ret = random_get_pseudo_bytes(ivbuf, ZIO_DATA_IV_LEN); in zio_crypt_generate_iv()
/freebsd/sys/contrib/openzfs/lib/libzpool/
H A Dkernel.c777 random_get_pseudo_bytes(uint8_t *ptr, size_t len) in random_get_pseudo_bytes() function