Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_hdcp_test.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_hdcp_test.c dm_test_srm_data_read_empty_srm_returns_zero() -> srm_data_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 0 |
| PARAM_VALUE | 1 | kobj | 0 |
| PARAM_VALUE | 2 | bin_attr | 4096-ptr_max |
| PARAM_VALUE | 3 | buffer | 2049673259649163264 |
| PARAM_VALUE | 4 | pos | 0 |
| PARAM_VALUE | 5 | count | 4 |
| BUF_SIZE | 3 | buffer | 4 |
| MEM_ZERO | 2 | bin_attr | |
| UNITS | 5 | count | unit_byte |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_hdcp_test.c dm_test_srm_data_read_uninitialized_ta_returns_einval() -> srm_data_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 0 |
| PARAM_VALUE | 1 | kobj | 0 |
| PARAM_VALUE | 2 | bin_attr | 4096-ptr_max |
| PARAM_VALUE | 3 | buffer | 4169258025530413056 |
| PARAM_VALUE | 4 | pos | 0 |
| PARAM_VALUE | 5 | count | 4 |
| BUF_SIZE | 3 | buffer | 4 |
| MEM_ZERO | 2 | bin_attr | |
| UNITS | 5 | count | unit_byte |
fs/sysfs/file.c sysfs_kf_bin_read() -> (struct bin_attribute)->read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 2 | bin_attr | 4096-ptr_max |
| PARAM_VALUE | 2 | bin_attr->read | 1-u64max |
| PARAM_VALUE | 3 | buffer | 1-u64max |
| PARAM_VALUE | 5 | count | 1-4096 |
| BUF_SIZE | 1 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 1 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 2 | bin_attr | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 2 | bin_attr | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 5 | count | 1 |
| CAPPED_DATA | 5 | count | 1 |
| DATA_SOURCE | 1 | kobj | r sysfs_file_kobj |
| DATA_SOURCE | 3 | buffer | $1 |
| DATA_SOURCE | 4 | pos | $3 |
| DATA_SOURCE | 5 | count | $2 [m] |
| CONTAINER | 2 | -64+0 | $(-1) |
| PARAM_COMPARE | 3 | buffer | >= $5 |
| BIT_INFO | 5 | count | 0x0,0x7fffffffffffffff |
| BIT_INFO | 5 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 4 | pos | |
| NOSPEC | 4 | pos | |
| NOSPEC | 5 | count | |
| NOSPEC | 5 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 4 | pos | 0-4095 |
| USER_DATA | 5 | count | 1-4096 |
| BYTE_COUNT | 3 | ==buffer5 | 8050 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |