Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c kfd_create_process_sysfs() -> kfd_sysfs_create_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | kobj->kset->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | kobj->ktype | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->name | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->sd | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->state_add_uevent_sent | 0 |
| PARAM_VALUE | 0 | kobj->state_in_sysfs | 1 |
| PARAM_VALUE | 0 | kobj->state_initialized | 1 |
| PARAM_VALUE | 0 | kobj->state_remove_uevent_sent | 0 |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 2 | name | 2518540969151877120 |
| BUF_SIZE | 0 | kobj | 248 |
| BUF_SIZE | 2 | name | 6 |
| DATA_SOURCE | 0 | kobj | r _kzalloc_noprof |
| STR_LEN | 0 | kobj | 5 |
| TERMINATED | 2 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &kfd_processes_mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c kfd_procfs_add_sysfs_counters() -> kfd_sysfs_create_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | kobj->kset->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | kobj->ktype | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->name | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->sd | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->state_add_uevent_sent | 0 |
| PARAM_VALUE | 0 | kobj->state_in_sysfs | 1 |
| PARAM_VALUE | 0 | kobj->state_initialized | 1 |
| PARAM_VALUE | 0 | kobj->state_remove_uevent_sent | 0 |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 2 | name | 581205386007351296 |
| BUF_SIZE | 0 | kobj | 248 |
| BUF_SIZE | 2 | name | 7 |
| DATA_SOURCE | 0 | kobj | r _kzalloc_noprof |
| STR_LEN | 0 | kobj | 6 |
| TERMINATED | 2 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &kfd_processes_mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c kfd_procfs_add_sysfs_counters() -> kfd_sysfs_create_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | kobj->kset->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | kobj->ktype | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->name | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->sd | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->sd->attr.notify_next | 0,426918848001064960 |
| PARAM_VALUE | 0 | kobj->state_add_uevent_sent | 0 |
| PARAM_VALUE | 0 | kobj->state_in_sysfs | 1 |
| PARAM_VALUE | 0 | kobj->state_initialized | 1 |
| PARAM_VALUE | 0 | kobj->state_remove_uevent_sent | 0 |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 2 | name | 3562452842306523136 |
| BUF_SIZE | 0 | kobj | 248 |
| BUF_SIZE | 2 | name | 8 |
| CAPPED_DATA | 0 | kobj->sd | 1 |
| DATA_SOURCE | 0 | kobj | r _kzalloc_noprof |
| STR_LEN | 0 | kobj | 7 |
| TERMINATED | 2 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &kfd_processes_mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c kfd_procfs_add_sysfs_counters() -> kfd_sysfs_create_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | kobj->kset->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | kobj->ktype | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->name | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->sd | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->sd->attr.notify_next | 0,426918848001064960 |
| PARAM_VALUE | 0 | kobj->state_add_uevent_sent | 0 |
| PARAM_VALUE | 0 | kobj->state_in_sysfs | 1 |
| PARAM_VALUE | 0 | kobj->state_initialized | 1 |
| PARAM_VALUE | 0 | kobj->state_remove_uevent_sent | 0 |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 2 | name | 299616896070922240 |
| BUF_SIZE | 0 | kobj | 248 |
| BUF_SIZE | 2 | name | 9 |
| CAPPED_DATA | 0 | kobj->sd | 1 |
| DATA_SOURCE | 0 | kobj | r _kzalloc_noprof |
| STR_LEN | 0 | kobj | 8 |
| TERMINATED | 2 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &kfd_processes_mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c kfd_procfs_add_sysfs_files() -> kfd_sysfs_create_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | kobj->kset->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | kobj->ktype | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->sd | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->state_add_uevent_sent | 0 |
| PARAM_VALUE | 0 | kobj->state_in_sysfs | 1 |
| PARAM_VALUE | 0 | kobj->state_initialized | 1 |
| PARAM_VALUE | 0 | kobj->state_remove_uevent_sent | 0 |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| BUF_SIZE | 0 | kobj | 248 |
| BUF_SIZE | 2 | name | 15 |
| CAPPED_DATA | 0 | kobj->sd | 1 |
| STR_LEN | 0 | kobj | 14 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &kfd_processes_mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c kfd_procfs_add_sysfs_files() -> kfd_sysfs_create_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | kobj->kset->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | kobj->ktype | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->sd | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->state_add_uevent_sent | 0 |
| PARAM_VALUE | 0 | kobj->state_in_sysfs | 1 |
| PARAM_VALUE | 0 | kobj->state_initialized | 1 |
| PARAM_VALUE | 0 | kobj->state_remove_uevent_sent | 0 |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| BUF_SIZE | 0 | kobj | 248 |
| BUF_SIZE | 2 | name | 15 |
| CAPPED_DATA | 0 | kobj->sd | 1 |
| STR_LEN | 0 | kobj | 14 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &kfd_processes_mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c kfd_procfs_add_sysfs_stats() -> kfd_sysfs_create_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | kobj->kset->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | kobj->ktype | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->name | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->sd | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->state_add_uevent_sent | 0 |
| PARAM_VALUE | 0 | kobj->state_in_sysfs | 1 |
| PARAM_VALUE | 0 | kobj->state_initialized | 1 |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 2 | name | 4820660901743005696 |
| BUF_SIZE | 0 | kobj | 248 |
| BUF_SIZE | 2 | name | 11 |
| DATA_SOURCE | 0 | kobj | r _kzalloc_noprof |
| STR_LEN | 0 | kobj | 10 |
| TERMINATED | 2 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &kfd_processes_mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c kfd_procfs_add_sysfs_stats() -> kfd_sysfs_create_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | kobj->kset->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | kobj->ktype | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->name | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->sd | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->sd->attr.notify_next | 0,426918848001064960 |
| PARAM_VALUE | 0 | kobj->state_add_uevent_sent | 0 |
| PARAM_VALUE | 0 | kobj->state_in_sysfs | 1 |
| PARAM_VALUE | 0 | kobj->state_initialized | 1 |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 2 | name | 3726022745293709312 |
| BUF_SIZE | 0 | kobj | 248 |
| BUF_SIZE | 2 | name | 13 |
| CAPPED_DATA | 0 | kobj->sd | 1 |
| DATA_SOURCE | 0 | kobj | r _kzalloc_noprof |
| STR_LEN | 0 | kobj | 12 |
| TERMINATED | 2 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &kfd_processes_mutex |