Searched refs:random_get_pseudo_bytes (Results 1 – 14 of 14) sorted by relevance
| /freebsd-14.2/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-14.2/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-14.2/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-14.2/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 | 1527 (void) random_get_pseudo_bytes((void *)&guid, in spa_generate_guid() 1532 (void) random_get_pseudo_bytes((void *)&guid, in spa_generate_guid()
|
| H A D | zil.c | 216 (void) random_get_pseudo_bytes((void *)&zc->zc_word[ZIL_ZC_GUID_0], in zil_init_log_chain() 218 (void) random_get_pseudo_bytes((void *)&zc->zc_word[ZIL_ZC_GUID_1], in zil_init_log_chain()
|
| H A D | dsl_dataset.c | 1168 (void) random_get_pseudo_bytes((void*)&dsphys->ds_guid, in dsl_dataset_create_sync_dd() 1733 (void) random_get_pseudo_bytes((void*)&dsphys->ds_guid, in dsl_dataset_snapshot_sync_impl()
|
| H A D | spa.c | 4570 (void) random_get_pseudo_bytes(spa->spa_cksum_salt.zcs_bytes, 6508 (void) random_get_pseudo_bytes(spa->spa_cksum_salt.zcs_bytes,
|
| /freebsd-14.2/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-14.2/sys/contrib/openzfs/include/sys/ |
| H A D | zfs_context.h | 644 extern int random_get_pseudo_bytes(uint8_t *ptr, size_t len); 656 (void) random_get_pseudo_bytes((uint8_t *)&r, sizeof (r));
|
| /freebsd-14.2/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-14.2/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-14.2/sys/contrib/openzfs/lib/libzpool/ |
| H A D | kernel.c | 774 random_get_pseudo_bytes(uint8_t *ptr, size_t len) in random_get_pseudo_bytes() function
|
| /freebsd-14.2/sys/contrib/openzfs/cmd/zdb/ |
| H A D | zdb.c | 8599 VERIFY0(random_get_pseudo_bytes(lbuf2, lsize)); in zdb_decompress_block()
|