Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_guc_capture.c guc_capture_log_get_data_hdr() -> guc_capture_log_remove_bytes()

Type Parameter Key Value
PARAM_VALUE 0 guc 4096-ptr_max
PARAM_VALUE 0 guc->capture 1-u64max
PARAM_VALUE 0 guc->log.bo 4096-ptr_max
PARAM_VALUE 0 guc->log.stats 4096-ptr_max
PARAM_VALUE 1 buf 3580497830251884544
PARAM_VALUE 1 buf->data_offset 86016
PARAM_VALUE 1 buf->size 1048576
PARAM_VALUE 1 buf->wr 0-1048576
PARAM_VALUE 2 out 4712043929614729216
PARAM_VALUE 3 bytes_needed 20
CAPPED_DATA 1 buf->wr 1
DATA_SOURCE 0 guc $0
DATA_SOURCE 1 buf $1
DATA_SOURCE 2 out $2
RX_PATH
TASK_NOT_RUNNING
UNITS 3 bytes_needed unit_byte
HALF_LOCKED2 &ct->lock

drivers/gpu/drm/xe/xe_guc_capture.c guc_capture_log_get_group_hdr() -> guc_capture_log_remove_bytes()

Type Parameter Key Value
PARAM_VALUE 0 guc 4096-ptr_max
PARAM_VALUE 0 guc->capture 1-u64max
PARAM_VALUE 0 guc->log.bo 4096-ptr_max
PARAM_VALUE 0 guc->log.stats 4096-ptr_max
PARAM_VALUE 1 buf 3580497830251884544
PARAM_VALUE 1 buf->data_offset 86016
PARAM_VALUE 1 buf->size 1048576
PARAM_VALUE 1 buf->wr 0-1048576
PARAM_VALUE 2 out 3870547534567510016
PARAM_VALUE 3 bytes_needed 8
CAPPED_DATA 1 buf->rd 1
CAPPED_DATA 1 buf->wr 1
DATA_SOURCE 0 guc $0
DATA_SOURCE 1 buf $1
DATA_SOURCE 2 out $2
RX_PATH
TASK_NOT_RUNNING
UNITS 3 bytes_needed unit_byte
HALF_LOCKED2 &ct->lock

drivers/gpu/drm/xe/xe_guc_capture.c guc_capture_log_get_register() -> guc_capture_log_remove_bytes()

Type Parameter Key Value
PARAM_VALUE 0 guc 4096-ptr_max
PARAM_VALUE 0 guc->capture 1-u64max
PARAM_VALUE 0 guc->log.bo 4096-ptr_max
PARAM_VALUE 0 guc->log.stats 4096-ptr_max
PARAM_VALUE 1 buf 3580497830251884544
PARAM_VALUE 1 buf->data_offset 86016
PARAM_VALUE 1 buf->size 1048576
PARAM_VALUE 1 buf->wr 0-1048576
PARAM_VALUE 2 out 4096-ptr_max
PARAM_VALUE 3 bytes_needed 16
CAPPED_DATA 1 buf->wr 1
DATA_SOURCE 0 guc $0
DATA_SOURCE 1 buf $1
DATA_SOURCE 2 out $2
RX_PATH
TASK_NOT_RUNNING
UNITS 3 bytes_needed unit_byte
HALF_LOCKED2 &ct->lock