Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/scsi/libsas/sas_event.c __sas_drain_work() -> sas_queue_deferred_work()

Type Parameter Key Value
PARAM_VALUE 0 ha 4096-ptr_max
PARAM_VALUE 0 ha->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ha->disco_q 4096-ptr_max
PARAM_VALUE 0 ha->disco_q->nr_drainers s32min-s32max
PARAM_VALUE 0 ha->disco_q->nr_pwqs_to_flush.counter s32min-s32max
PARAM_VALUE 0 ha->drain_mutex.dep_map->name 0-255
PARAM_VALUE 0 ha->drain_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ha->drain_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ha->drain_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ha->drain_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ha->drain_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ha->drain_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ha->event_q 4096-ptr_max
PARAM_VALUE 0 ha->event_q->nr_drainers s32min-s32max
PARAM_VALUE 0 ha->event_q->nr_pwqs_to_flush.counter s32min-s32max
PARAM_VALUE 0 ha->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 *ha->disco_q->lockdep_map->name 0-255
PARAM_VALUE 0 *ha->event_q->lockdep_map->name 0-255
BUF_SIZE 0 ha s32min-(-1),1-s32max
BUF_SIZE 0 ha s32min-(-1),1-s32max
BUF_SIZE 0 ha->dev (-1),1616
BUF_SIZE 0 ha->sas_addr (-1),8
BUF_SIZE 0 ha->sas_ha_name (-1),9,15
BUF_SIZE 0 ha->shost (-1),4600-s32max
DATA_SOURCE 0 ha $0
STR_LEN 0 ha->sas_ha_name (-1),8,14
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ha unit_byte
LOCK2 0 &ha->drain_mutex
TYPE_LOCK (struct sas_ha_struct)->drain_mutex

drivers/scsi/libsas/sas_init.c sas_resume_ha() -> sas_queue_deferred_work()

Type Parameter Key Value
PARAM_VALUE 0 ha 4096-ptr_max
PARAM_VALUE 0 ha->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ha->drain_mutex.dep_map->name 0-255
PARAM_VALUE 0 ha->drain_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ha->drain_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ha->drain_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ha->shost 4096-ptr_max
PARAM_VALUE 0 ha->shost->host_lock 4096-ptr_max
PARAM_VALUE 0 ha->shost->host_lock->rlock.dep_map->name 0-255
PARAM_VALUE 0 ha->shost->host_self_blocked 0
BUF_SIZE 0 ha s32min-(-1),1-s32max
BUF_SIZE 0 ha s32min-(-1),1-s32max
CAPPED_DATA 0 ha->num_phys 1
DATA_SOURCE 0 ha $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ha unit_byte