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 D | random.h | 37 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 D | random.h | 45 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 D | random.h | 33 #define random_get_pseudo_bytes(p, s) arc4rand((p), (int)(s), 0) macro
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | unique.c | 86 (void) random_get_pseudo_bytes((void*)&un->un_value, in unique_insert()
|
H A D | spa_misc.c | 1565 (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 D | zil.c | 215 (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 D | dsl_dataset.c | 1169 (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 D | spa.c | 4623 (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 D | spl-generic.c | 156 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 D | zfs_context.h | 646 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 D | zio_crypt.c | 444 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 D | zio_crypt.c | 503 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 D | kernel.c | 777 random_get_pseudo_bytes(uint8_t *ptr, size_t len) in random_get_pseudo_bytes() function
|