Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c create_process() -> kfd_process_xnack_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->debug_trap_enabled | 0 |
| PARAM_VALUE | 0 | p->debugged_process_count.counter | 0 |
| PARAM_VALUE | 0 | p->debugger_process | 0 |
| PARAM_VALUE | 0 | p->event_idr.idr_base | 0 |
| PARAM_VALUE | 0 | p->event_idr.idr_next | 0 |
| PARAM_VALUE | 0 | p->event_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->event_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | p->event_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | p->event_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | p->event_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | p->exception_enable_mask | 0 |
| PARAM_VALUE | 0 | p->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | p->mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | p->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | p->mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | p->n_pdds | 0-64 |
| PARAM_VALUE | 0 | p->pqm.process | 4096-ptr_max |
| PARAM_VALUE | 0 | p->pqm.process->debugger_process | 0 |
| PARAM_VALUE | 0 | p->pqm.process->event_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | p->pqm.process->n_pdds | 0 |
| PARAM_VALUE | 0 | p->pqm.process->queues_paused | 0 |
| PARAM_VALUE | 0 | p->pqm.process->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | p->pqm.process->signal_event_count | 1 |
| PARAM_VALUE | 0 | p->pqm.process->signal_page | 0 |
| PARAM_VALUE | 0 | p->pqm.queue_slot_bitmap | 16,4096-ptr_max |
| PARAM_VALUE | 0 | p->pqm.queues.next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->pqm.queues.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->pqm.queues.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->pqm.queues.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->pqm.queues.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->queues_paused | 0 |
| PARAM_VALUE | 0 | p->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | p->signal_event_count | 1 |
| PARAM_VALUE | 0 | p->signal_page | 0 |
| PARAM_VALUE | 1 | supported | 0 |
| BUF_SIZE | 0 | p | 3376 |
| DATA_SOURCE | 0 | p | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &kfd_processes_mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c criu_restore_process() -> kfd_process_xnack_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->lead_thread | 4096-ptr_max |
| PARAM_VALUE | 0 | p->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | p->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | p->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | p->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | p->n_pdds | 0-s32max |
| PARAM_VALUE | 1 | supported | 1 |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | p->lead_thread | 1 |
| CAPPED_DATA | 0 | p->n_pdds | 1 |
| DATA_SOURCE | 0 | p | $0 |
| LOCK2 | 0 | &p->mutex | |
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c kfd_ioctl_set_xnack_mode() -> kfd_process_xnack_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->lead_thread | 4096-ptr_max |
| PARAM_VALUE | 0 | p->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | p->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | p->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | p->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | p->pqm.queues.next | 4096-ptr_max |
| PARAM_VALUE | 1 | supported | 1 |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | p->lead_thread | 1 |
| CAPPED_DATA | 0 | &p->mutex | 1 |
| CAPPED_DATA | 0 | &p->pqm.queues | 1 |
| DATA_SOURCE | 0 | p | $1 |
| PARAM_COMPARE | 0 | &p->pqm.queues | == $0->pqm.queues.next |
| LOCK2 | 0 | &p->mutex | |
| TYPE_LOCK | (struct kfd_process)->mutex |