Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c, line 597
- drivers/gpu/drm/amd/amdkfd/kfd_queue.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process_queue_manager.c pqm_update_queue_properties() -> kfd_queue_buffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->root.bo | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->root.bo->tbo.base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vm->root.bo->tbo.base.resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vm->root.bo->tbo.base.resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | addr | 1-u64max |
| PARAM_VALUE | 2 | pbo | 2870382972077826224 |
| BUF_SIZE | 0 | vm | 3584 |
| LOCK2 | &p->mutex | ||
| LOCK2 | 0 | vm->root.bo->tbo.base.resv | |
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c kfd_queue_acquire_buffers() -> kfd_queue_buffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->root.bo | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->root.bo->tbo.base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vm->root.bo->tbo.base.resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vm->root.bo->tbo.base.resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | pbo | 5367501087066747040 |
| PARAM_VALUE | 3 | expected_size | 4096 |
| BUF_SIZE | 0 | vm | 3584 |
| MEM_ZERO | 2 | pbo | |
| UNITS | 3 | expected_size | unit_byte |
| LOCK2 | &p->mutex | ||
| LOCK2 | 0 | vm->root.bo->tbo.base.resv | |
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c kfd_queue_acquire_buffers() -> kfd_queue_buffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->root.bo | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->root.bo->tbo.base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vm->root.bo->tbo.base.resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vm->root.bo->tbo.base.resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vm->va.rb_root.rb_node | 1-u64max |
| PARAM_VALUE | 2 | pbo | 5367501087066747048 |
| PARAM_VALUE | 3 | expected_size | 4096 |
| BUF_SIZE | 0 | vm | 3584 |
| MEM_ZERO | 2 | pbo | |
| UNITS | 3 | expected_size | unit_byte |
| LOCK2 | &p->mutex | ||
| LOCK2 | 0 | vm->root.bo->tbo.base.resv | |
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c kfd_queue_acquire_buffers() -> kfd_queue_buffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->root.bo | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->root.bo->tbo.base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vm->root.bo->tbo.base.resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vm->root.bo->tbo.base.resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vm->va.rb_root.rb_node | 1-u64max |
| PARAM_VALUE | 1 | addr | 0 |
| PARAM_VALUE | 2 | pbo | 5367501087066747056 |
| PARAM_VALUE | 3 | expected_size | 0,4096-8589934592 |
| BUF_SIZE | 0 | vm | 3584 |
| BIT_INFO | 3 | expected_size | 0x0,0x3fffff000 |
| BIT_INFO | 3 | expected_size | 0x0,0x3fffff000 |
| MEM_ZERO | 2 | pbo | |
| USER_DATA | 3 | expected_size | 0,4096-8589934592[c] |
| LOCK2 | &p->mutex | ||
| LOCK2 | 0 | vm->root.bo->tbo.base.resv | |
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c kfd_queue_acquire_buffers() -> kfd_queue_buffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->root.bo | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->root.bo->tbo.base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vm->root.bo->tbo.base.resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vm->root.bo->tbo.base.resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vm->va.rb_root.rb_node | 1-u64max |
| PARAM_VALUE | 2 | pbo | 5367501087066747064 |
| PARAM_VALUE | 3 | expected_size | 0 |
| BUF_SIZE | 0 | vm | 3584 |
| MEM_ZERO | 2 | pbo | |
| USER_DATA | 3 | expected_size | 0[c] |
| LOCK2 | &p->mutex | ||
| LOCK2 | 0 | vm->root.bo->tbo.base.resv | |
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c kfd_queue_acquire_buffers() -> kfd_queue_buffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->root.bo | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->root.bo->tbo.base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vm->root.bo->tbo.base.resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vm->root.bo->tbo.base.resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vm->va.rb_root.rb_node | 1-u64max |
| PARAM_VALUE | 1 | addr | 0 |
| PARAM_VALUE | 2 | pbo | 5367501087066747072 |
| PARAM_VALUE | 3 | expected_size | 0,4096-68719476736 |
| BUF_SIZE | 0 | vm | 3584 |
| BIT_INFO | 3 | expected_size | 0x0,0xfffffffffffff000 |
| BIT_INFO | 3 | expected_size | 0x0,0xfffffffffffff000 |
| MEM_ZERO | 2 | pbo | |
| USER_DATA | 3 | expected_size | 0,4096-68719476736[c] |
| LOCK2 | &p->mutex | ||
| LOCK2 | 0 | vm->root.bo->tbo.base.resv | |
| TYPE_LOCK | (struct kfd_process)->mutex |