Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/platform/surface/surface_dtx.c __sdtx_device_state_update_mode() -> sdtx_update_device_mode()

Type Parameter Key Value
PARAM_VALUE 0 ddev 4096-ptr_max
PARAM_VALUE 0 ddev->client_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ddev->client_lock.first_waiter->type 0-1
PARAM_VALUE 0 ddev->state.base.state 0-1
PARAM_VALUE 0 ddev->write_lock.dep_map->name 0-255
PARAM_VALUE 0 ddev->write_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ddev->write_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ddev->write_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ddev->write_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ddev->write_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ddev->write_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 delay 0-536870912
DATA_SOURCE 0 ddev $0
NOCHECK_CALL
LOCK2 0 &ddev->write_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct sdtx_device)->write_lock

drivers/platform/surface/surface_dtx.c sdtx_device_mode_workfn() -> sdtx_update_device_mode()

Type Parameter Key Value
PARAM_VALUE 0 ddev 4096-ptr_max
PARAM_VALUE 1 delay 0-536870912
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/platform/surface/surface_dtx.c sdtx_notifier() -> sdtx_update_device_mode()

Type Parameter Key Value
PARAM_VALUE 0 ddev 4096-ptr_max
PARAM_VALUE 0 ddev->client_lock.dep_map->name 0-255
PARAM_VALUE 0 ddev->client_lock.first_waiter->handoff_set 1
PARAM_VALUE 0 ddev->client_lock.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 ddev->client_lock.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 ddev->client_lock.first_waiter->type 0-1
PARAM_VALUE 0 ddev->write_lock.dep_map->name 0-255
PARAM_VALUE 0 ddev->write_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ddev->write_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ddev->write_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ddev->write_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ddev->write_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ddev->write_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 delay 0-536870912
CAPPED_DATA 0 &ddev->write_lock 1
FUZZY_MAX 1 delay 0
NOCHECK_CALL
LOCK2 &nh->srcu
LOCK2 0 &ddev->write_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct sdtx_device)->write_lock
TYPE_LOCK (struct ssam_nf_head)->srcu