Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 11 files:

Smatch caller information:

lib/tests/string_kunit.c fill_random_string() -> prandom_bytes_state()

Type Parameter Key Value
PARAM_VALUE 0 state 6645326133442457600
PARAM_VALUE 0 state->s1 910200
PARAM_VALUE 0 state->s2 910200
PARAM_VALUE 0 state->s3 910200
PARAM_VALUE 0 state->s4 910200
PARAM_VALUE 1 buf 16,4096-ptr_max
PARAM_VALUE 2 bytes 1-u64max
DATA_SOURCE 1 buf $0
DATA_SOURCE 2 bytes $1
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 2 bytes

crypto/testmgr.c generate_random_bytes() -> prandom_bytes_state()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 1 buf 16,4096-ptr_max
PARAM_VALUE 2 bytes 1-u64max
BUF_SIZE 1 buf 1-s32max
DATA_SOURCE 0 state $0
DATA_SOURCE 1 buf $1
DATA_SOURCE 2 bytes $2
NOCHECK_CALL
UNITS 2 bytes unit_byte
HALF_LOCKED2 global &once_lock

lib/raid/xor/tests/xor_kunit.c xor_generate_random_data() -> prandom_bytes_state()

Type Parameter Key Value
PARAM_VALUE 0 state 7310093521925091328
NOCHECK_CALL
HALF_LOCKED2 global &kunit_run_lock

lib/raid/xor/tests/xor_kunit.c xor_generate_random_data() -> prandom_bytes_state()

Type Parameter Key Value
PARAM_VALUE 0 state 7310093521925091328
PARAM_VALUE 2 bytes 0,16384
NOCHECK_CALL
HALF_LOCKED2 global &kunit_run_lock

drivers/mtd/tests/subpagetest.c verify_eraseblock() -> prandom_bytes_state()

Type Parameter Key Value
PARAM_VALUE 0 state 1042452750316646400
PARAM_VALUE 1 buf 0,16,4096-ptr_max
PARAM_VALUE 2 bytes 0-s32max,18446744071562067968-u64max
NOCHECK_CALL

drivers/mtd/tests/subpagetest.c verify_eraseblock() -> prandom_bytes_state()

Type Parameter Key Value
PARAM_VALUE 0 state 1042452750316646400
PARAM_VALUE 1 buf 0,16,4096-ptr_max
PARAM_VALUE 2 bytes 0-s32max,18446744071562067968-u64max
CAPPED_DATA 2 bytes 1
NOCHECK_CALL

drivers/mtd/tests/subpagetest.c verify_eraseblock2() -> prandom_bytes_state()

Type Parameter Key Value
PARAM_VALUE 0 state 1042452750316646400
PARAM_VALUE 1 buf 0,16,4096-ptr_max
PARAM_VALUE 2 bytes 0-s32max,18446744071562067968-u64max
NOCHECK_CALL

drivers/mtd/tests/subpagetest.c write_eraseblock() -> prandom_bytes_state()

Type Parameter Key Value
PARAM_VALUE 0 state 1042452750316646400
PARAM_VALUE 1 buf 0,16,4096-ptr_max
PARAM_VALUE 2 bytes 0-s32max,18446744071562067968-u64max
NOCHECK_CALL

drivers/mtd/tests/subpagetest.c write_eraseblock() -> prandom_bytes_state()

Type Parameter Key Value
PARAM_VALUE 0 state 1042452750316646400
PARAM_VALUE 1 buf 0,16,4096-ptr_max
PARAM_VALUE 2 bytes 0-s32max,18446744071562067968-u64max
CAPPED_DATA 2 bytes 1
NOCHECK_CALL

drivers/mtd/tests/subpagetest.c write_eraseblock2() -> prandom_bytes_state()

Type Parameter Key Value
PARAM_VALUE 0 state 1042452750316646400
PARAM_VALUE 1 buf 0,16,4096-ptr_max
PARAM_VALUE 2 bytes 0-s32max,18446744071562067968-u64max
NOCHECK_CALL

lib/raid/raid6/tests/raid6_kunit.c makedata() -> prandom_bytes_state()

Type Parameter Key Value
PARAM_VALUE 0 state 9110183620807991296
NOCHECK_CALL
HALF_LOCKED2 global &kunit_run_lock

drivers/gpu/drm/i915/gt/intel_lrc.c garbage() -> prandom_bytes_state()

Type Parameter Key Value
DATA_SOURCE 0 state $1
NOCHECK_CALL
UNITS 2 bytes unit_byte

lib/crc/tests/crc_kunit.c crc_suite_init() -> prandom_bytes_state()

Type Parameter Key Value
PARAM_VALUE 0 state 152984170337628160
PARAM_VALUE 0 state->s1 43050
PARAM_VALUE 0 state->s2 43050
PARAM_VALUE 0 state->s3 43050
PARAM_VALUE 0 state->s4 43050
PARAM_VALUE 1 buf 1-u64max
PARAM_VALUE 2 bytes 16384
BUF_SIZE 1 buf 16384
DATA_SOURCE 1 buf r vmalloc_noprof
NOCHECK_CALL
LOCK2 global &kunit_run_lock

lib/crc/tests/crc_kunit.c crc_test() -> prandom_bytes_state()

Type Parameter Key Value
PARAM_VALUE 0 state 152984170337628160
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 1 *buf 0-255
PARAM_VALUE 2 bytes 0-16384
CAPPED_DATA 2 bytes 1
CAPPED_DATA 2 bytes 1
DATA_SOURCE 2 bytes r generate_random_length
NOCHECK_CALL

drivers/mtd/tests/pagetest.c erasecrosstest() -> prandom_bytes_state()

Type Parameter Key Value
PARAM_VALUE 0 state 381250129020235776
PARAM_VALUE 1 buf 0,16,4096-ptr_max
PARAM_VALUE 2 bytes 0-s32max,18446744071562067968-u64max
NOCHECK_CALL

drivers/mtd/tests/pagetest.c erasecrosstest() -> prandom_bytes_state()

Type Parameter Key Value
PARAM_VALUE 0 state 381250129020235776
PARAM_VALUE 1 buf 0,16,4096-ptr_max
PARAM_VALUE 2 bytes 0-s32max,18446744071562067968-u64max
CAPPED_DATA 2 bytes 1
STR_LEN 0 state 27
NOCHECK_CALL

drivers/mtd/tests/pagetest.c erasetest() -> prandom_bytes_state()

Type Parameter Key Value
PARAM_VALUE 0 state 381250129020235776
PARAM_VALUE 1 buf 0,16,4096-ptr_max
PARAM_VALUE 2 bytes 0-s32max,18446744071562067968-u64max
NOCHECK_CALL

drivers/mtd/tests/pagetest.c verify_eraseblock() -> prandom_bytes_state()

Type Parameter Key Value
PARAM_VALUE 0 state 381250129020235776
PARAM_VALUE 1 buf 0,16,4096-ptr_max
NOCHECK_CALL
UNITS 2 bytes unit_byte

drivers/mtd/tests/pagetest.c verify_eraseblock() -> prandom_bytes_state()

Type Parameter Key Value
PARAM_VALUE 0 state 381250129020235776
PARAM_VALUE 1 *buf 0-255
PARAM_VALUE 2 bytes 0-s32max,18446744071562067968-u64max
NOCHECK_CALL
UNITS 1 buf unit_byte
UNITS 2 bytes unit_byte

drivers/mtd/tests/pagetest.c write_eraseblock() -> prandom_bytes_state()

Type Parameter Key Value
PARAM_VALUE 0 state 381250129020235776
PARAM_VALUE 1 buf 0,16,4096-ptr_max
NOCHECK_CALL
UNITS 2 bytes unit_byte

drivers/mtd/tests/oobtest.c mtd_oobtest_init() -> prandom_bytes_state()

Type Parameter Key Value
PARAM_VALUE 0 state 1384451564498464768
PARAM_VALUE 1 buf 16,4096-ptr_max
PARAM_VALUE 2 bytes 0-8589934590
BUF_SIZE 1 buf 0-4000000
DATA_SOURCE 1 buf r _kmalloc_noprof
NOCHECK_CALL

drivers/mtd/tests/oobtest.c mtd_oobtest_init() -> prandom_bytes_state()

Type Parameter Key Value
PARAM_VALUE 0 state 1384451564498464768
PARAM_VALUE 1 buf 16,4096-ptr_max
PARAM_VALUE 2 bytes 0-u32max
BUF_SIZE 1 buf 0-4000000
DATA_SOURCE 1 buf r _kmalloc_noprof
NOCHECK_CALL

drivers/mtd/tests/oobtest.c verify_eraseblock() -> prandom_bytes_state()

Type Parameter Key Value
PARAM_VALUE 0 state 1384451564498464768
PARAM_VALUE 1 buf 0,16,4096-ptr_max
PARAM_VALUE 2 bytes 0-s32max,18446744071562067968-u64max
NOCHECK_CALL

drivers/mtd/tests/oobtest.c verify_eraseblock_in_one_go() -> prandom_bytes_state()

Type Parameter Key Value
PARAM_VALUE 0 state 1384451564498464768
PARAM_VALUE 1 buf 0,16,4096-ptr_max
PARAM_VALUE 2 bytes 0-u32max
NOCHECK_CALL

drivers/mtd/tests/oobtest.c write_eraseblock() -> prandom_bytes_state()

Type Parameter Key Value
PARAM_VALUE 0 state 1384451564498464768
PARAM_VALUE 1 buf 0,16,4096-ptr_max
PARAM_VALUE 2 bytes 0-s32max,18446744071562067968-u64max
NOCHECK_CALL