Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/xe/xe_oa.c xe_oa_append_report() -> xe_oa_copy_to_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->gt | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->gt->mmio.tile | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->gt->mmio.tile->xe | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->oa | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->oa_buffer.bo | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->oa_buffer.bo->tile | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->oa_buffer.format | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->oa_buffer.format->header | 0-1 |
| PARAM_VALUE | 0 | stream->oa_buffer.format->size | 64,128,192,256,320,576,640 |
| PARAM_VALUE | 0 | stream->oa_buffer.ptr_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stream->sample | 1 |
| PARAM_VALUE | 0 | stream->stream_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stream->stream_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stream->stream_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | stream->stream_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | stream->stream_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | stream->stream_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stream->stream_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | stream->stream_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | stream->stream_lock.wait_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 0-639,2147483648-u32max |
| BUF_SIZE | 0 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | stream | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | stream->gt->mmio.adj_limit | 1 |
| CAPPED_DATA | 0 | stream->oa_buffer.format->size | 1 |
| CAPPED_DATA | 0 | stream->oa_buffer.head | 1 |
| CAPPED_DATA | 2 | report_offset | 1 |
| CAPPED_DATA | 3 | len | 1 |
| DATA_SOURCE | 0 | stream | $0 |
| DATA_SOURCE | 1 | dst | $1 |
| DATA_SOURCE | 2 | report_offset | $4 |
| BIT_INFO | 0 | stream->oa_status | 0x0,0xffffffb8 |
| HOST_DATA | 0 | stream->oa_buffer.tail | 0,64-u32max[c] |
| HOST_DATA | 0 | stream->oa_status | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | stream->oa_buffer.bounce | |
| LOCK2 | 0 | &stream->stream_lock | |
| TYPE_LOCK | (struct xe_oa_stream)->stream_lock |
drivers/gpu/drm/xe/xe_oa.c xe_oa_append_report() -> xe_oa_copy_to_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->gt | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->gt->mmio.tile | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->gt->mmio.tile->xe | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->oa | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->oa_buffer.bo | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->oa_buffer.bo->tile | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->oa_buffer.format | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->oa_buffer.format->header | 0-1 |
| PARAM_VALUE | 0 | stream->oa_buffer.format->size | 64,128,192,256,320,576,640 |
| PARAM_VALUE | 0 | stream->oa_buffer.ptr_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stream->sample | 1 |
| PARAM_VALUE | 0 | stream->stream_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stream->stream_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stream->stream_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | stream->stream_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | stream->stream_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | stream->stream_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stream->stream_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | stream->stream_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | stream->stream_lock.wait_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 2 | report_offset | 0 |
| PARAM_VALUE | 3 | len | 1-640 |
| BUF_SIZE | 0 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | stream | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | stream->gt->mmio.adj_limit | 1 |
| CAPPED_DATA | 0 | stream->oa_buffer.format->size | 1 |
| CAPPED_DATA | 0 | stream->oa_buffer.head | 1 |
| CAPPED_DATA | 3 | len | 1 |
| DATA_SOURCE | 0 | stream | $0 |
| DATA_SOURCE | 1 | dst | $1 |
| BIT_INFO | 0 | stream->oa_status | 0x0,0xffffffb8 |
| HOST_DATA | 0 | stream->oa_buffer.tail | 0,64-u32max[c] |
| HOST_DATA | 0 | stream->oa_status | 0-u32max |
| HOST_DATA | 0 | *stream->oa_buffer.bounce | s64min-s64max |
| NO_OVERFLOW_SIMPLE | 0 | stream->oa_buffer.bounce | |
| LOCK2 | 0 | &stream->stream_lock | |
| TYPE_LOCK | (struct xe_oa_stream)->stream_lock |
drivers/gpu/drm/xe/xe_oa.c xe_oa_append_report() -> xe_oa_copy_to_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->gt | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->gt->mmio.tile | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->gt->mmio.tile->xe | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->oa | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->oa_buffer.bo | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->oa_buffer.bo->tile | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->oa_buffer.format | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->oa_buffer.format->header | 0-1 |
| PARAM_VALUE | 0 | stream->oa_buffer.format->size | 64,128,192,256,320,576,640 |
| PARAM_VALUE | 0 | stream->oa_buffer.ptr_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stream->sample | 1 |
| PARAM_VALUE | 0 | stream->stream_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stream->stream_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stream->stream_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | stream->stream_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | stream->stream_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | stream->stream_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stream->stream_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | stream->stream_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | stream->stream_lock.wait_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 64,128,192,256,320,576,640 |
| BUF_SIZE | 0 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | stream | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | stream->gt->mmio.adj_limit | 1 |
| CAPPED_DATA | 0 | stream->oa_buffer.format->size | 1 |
| CAPPED_DATA | 0 | stream->oa_buffer.head | 1 |
| CAPPED_DATA | 2 | report_offset | 1 |
| CAPPED_DATA | 3 | len | 1 |
| DATA_SOURCE | 0 | stream | $0 |
| DATA_SOURCE | 1 | dst | $1 |
| DATA_SOURCE | 2 | report_offset | $4 |
| BIT_INFO | 0 | stream->oa_status | 0x0,0xffffffb8 |
| HOST_DATA | 0 | stream->oa_buffer.tail | 0,64-u32max[c] |
| HOST_DATA | 0 | stream->oa_status | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | stream->oa_buffer.bounce | |
| LOCK2 | 0 | &stream->stream_lock | |
| TYPE_LOCK | (struct xe_oa_stream)->stream_lock |