Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c amdgpu_ras_sysfs_badpages_read() -> amdgpu_ras_badpages_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 1 | bps | 16,4096-ptr_max |
| BUF_SIZE | 1 | bps | 0-u64max |
| DATA_SOURCE | 1 | bps | r _kmalloc_noprof |
| DATA_SOURCE | 3 | start | r div64_u64 |
| MEM_ZERO | 1 | bps | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | count | |
| UNITS | 2 | count | unit_array_size |
| ELEM_COUNT | 1 | ==bps2 | 8051 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |