Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/platform/surface/aggregator/controller.c ssam_request_do_sync() -> ssam_request_write_data()

Type Parameter Key Value
PARAM_VALUE 0 buf 6792353168014409728
PARAM_VALUE 0 buf->len 0-3999760,18446744073709551376-u64max
PARAM_VALUE 0 buf->ptr 24,4096-ptr_max
PARAM_VALUE 2 spec 831868612948459520,3761668199931424768
PARAM_VALUE 2 spec->flags 0-3
PARAM_VALUE 2 spec->payload 0,4096-ptr_max
DATA_SOURCE 1 ctrl $0
DATA_SOURCE 2 spec $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 buf->len 18-65553[c]
USER_DATA 2 spec->command_id 0-255
USER_DATA 2 spec->instance_id 0-255
USER_DATA 2 spec->length 0-u16max[c]
USER_DATA 2 spec->target_category 0-255
USER_DATA 2 spec->target_id 0-255
USER_PTR 2 spec->payload
HALF_LOCKED2 &client->cdev->lock

drivers/platform/surface/aggregator/controller.c ssam_request_do_sync_with_buffer() -> ssam_request_write_data()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 0 buf->len 18-19,22-23,28,263
PARAM_VALUE 0 buf->ptr 4096-ptr_max
PARAM_VALUE 1 ctrl->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 ctrl->lock.first_waiter->type 0-1
PARAM_VALUE 2 spec 4096-ptr_max
PARAM_VALUE 2 spec->flags 0-256
BUF_SIZE 1 ctrl s32min-(-1),1-s32max
BUF_SIZE 1 ctrl s32min-(-1),1-s32max
DATA_SOURCE 0 buf $3
DATA_SOURCE 1 ctrl $0
DATA_SOURCE 2 spec $1
HARD_MAX 0 buf->len 263
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 ctrl->cplt.wq->rescuer->task->dl.pi_se->dl_runtime
NO_OVERFLOW_SIMPLE 1 ctrl->rtl.ptl.tx.thread->dl.pi_se->dl_runtime
UNITS 1 ctrl unit_byte
USER_PTR 2 spec->payload
HALF_LOCKED2 &ac->lock
HALF_LOCKED2 &bat->lock
HALF_LOCKED2 &client->ddev->lock
HALF_LOCKED2 &nf->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 1 &ctrl->lock