Defined in 1 files as a prototype:
Defined in 7 files as a function:
- arch/arm64/include/asm/archrandom.h, line 82 (as a function)
- arch/powerpc/kernel/setup-common.c, line 168 (as a function)
- arch/riscv/include/asm/archrandom.h, line 57 (as a function)
- arch/s390/include/asm/archrandom.h, line 27 (as a function)
- arch/um/include/asm/archrandom.h, line 20 (as a function)
- arch/x86/include/asm/archrandom.h, line 51 (as a function)
- include/asm-generic/archrandom.h, line 10 (as a function)
Referenced in 3 files:
- arch/powerpc/kernel/setup-common.c, line 174
- arch/powerpc/kvm/book3s_hv.c, line 1344
- drivers/char/random.c
Smatch caller information:
drivers/char/random.c extract_entropy() -> arch_get_random_seed_longs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | max_longs | 1-4 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &base_crng.lock |
drivers/char/random.c random_init_early() -> arch_get_random_seed_longs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 5933674474413178880 |
| PARAM_VALUE | 1 | max_longs | 1-8 |
| BUF_SIZE | 0 | v | 64 |
| LOCK2 | irq |