Defined in 7 files as a function:
- arch/arm64/include/asm/archrandom.h, line 69 (as a function)
- arch/powerpc/include/asm/archrandom.h, line 5 (as a function)
- arch/riscv/include/asm/archrandom.h, line 52 (as a function)
- arch/s390/include/asm/archrandom.h, line 22 (as a function)
- arch/um/include/asm/archrandom.h, line 10 (as a function)
- arch/x86/include/asm/archrandom.h, line 46 (as a function)
- include/asm-generic/archrandom.h, line 5 (as a function)
Referenced in 2 files:
Smatch caller information:
arch/x86/coco/core.c cc_random_init() -> arch_get_random_longs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | max_longs | 1-4 |
| LOCK2 | irq |
drivers/char/random.c extract_entropy() -> arch_get_random_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_longs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 5933674474413178880 |
| PARAM_VALUE | 1 | max_longs | 1-8 |
| BUF_SIZE | 0 | v | 64 |
| LOCK2 | irq |