Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/i915/gt/selftest_rc6.c, line 212
- drivers/gpu/drm/i915/gt/selftest_timeline.c, line 127
- drivers/gpu/drm/i915/selftests/i915_random.c, line 73
Smatch caller information:
drivers/gpu/drm/i915/gt/intel_rc6.c randomised_engines() -> i915_prandom_shuffle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arr | 4096-ptr_max |
| PARAM_VALUE | 1 | elsz | 8 |
| PARAM_VALUE | 2 | count | 0-s32max |
| PARAM_VALUE | 3 | state | 6615701061126438912 |
| PARAM_VALUE | 3 | state->s1 | 2-u32max |
| PARAM_VALUE | 3 | state->s2 | 2-u32max |
| PARAM_VALUE | 3 | state->s3 | 2-u32max |
| PARAM_VALUE | 3 | state->s4 | 2-u32max |
| BUF_SIZE | 0 | arr | 8-17179869176 |
| DATA_SOURCE | 0 | arr | r _kmalloc_noprof |
| DATA_SOURCE | 3 | state | $1 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | count | |
| UNITS | 1 | elsz | unit_byte |
| UNITS | 2 | count | unit_array_size |
drivers/gpu/drm/i915/gt/intel_timeline.c __mock_hwsp_timeline() -> i915_prandom_shuffle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arr | 4096-ptr_max |
| PARAM_VALUE | 1 | elsz | 8 |
| PARAM_VALUE | 2 | count | 0-512 |
| PARAM_VALUE | 3 | state | 2194786014894809208 |
| BUF_SIZE | 0 | arr | 4096 |
| CAPPED_DATA | 2 | count | 1 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | count | |
| UNITS | 1 | elsz | unit_byte |
| UNITS | 2 | count | unit_array_size |
| HALF_LOCKED2 | tl->hwsp_ggtt->obj->base.resv |
drivers/gpu/drm/i915/selftests/i915_random.c i915_random_reorder() -> i915_prandom_shuffle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arr | 16,4096-ptr_max |
| PARAM_VALUE | 1 | elsz | 4 |
| PARAM_VALUE | 3 | state | 4096-ptr_max |
| BUF_SIZE | 0 | arr | 4,8 |
| DATA_SOURCE | 0 | arr | $0 |
| DATA_SOURCE | 2 | count | $1 |
| DATA_SOURCE | 3 | state | $2 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | count | |
| UNITS | 1 | elsz | unit_byte |
| UNITS | 2 | count | unit_array_size |