Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/ses.c ses_set_active() -> init_device_slot_control()

Type Parameter Key Value
PARAM_VALUE 0 dest_desc 7715179603856822272
PARAM_VALUE 1 ecomp 4096-ptr_max
PARAM_VALUE 1 ecomp->number 0
PARAM_VALUE 2 status 4096-u64max
BUF_SIZE 0 dest_desc 4
DATA_SOURCE 1 ecomp $1
DATA_SOURCE 2 status r ses_get_page2_descriptor
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/scsi/ses.c ses_set_fault() -> init_device_slot_control()

Type Parameter Key Value
PARAM_VALUE 0 dest_desc 7974279562304208896
PARAM_VALUE 1 ecomp 4096-ptr_max
PARAM_VALUE 1 ecomp->number 0
PARAM_VALUE 2 status 4096-u64max
BUF_SIZE 0 dest_desc 4
DATA_SOURCE 1 ecomp $1
DATA_SOURCE 2 status r ses_get_page2_descriptor
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/scsi/ses.c ses_set_locate() -> init_device_slot_control()

Type Parameter Key Value
PARAM_VALUE 0 dest_desc 7070936832716283904
PARAM_VALUE 1 ecomp 4096-ptr_max
PARAM_VALUE 1 ecomp->number 0
PARAM_VALUE 2 status 4096-u64max
BUF_SIZE 0 dest_desc 4
DATA_SOURCE 1 ecomp $1
DATA_SOURCE 2 status r ses_get_page2_descriptor
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/scsi/ses.c ses_set_power_status() -> init_device_slot_control()

Type Parameter Key Value
PARAM_VALUE 0 dest_desc 2534230447823147008
PARAM_VALUE 1 ecomp 4096-ptr_max
PARAM_VALUE 1 ecomp->number 0
PARAM_VALUE 2 status 4096-u64max
BUF_SIZE 0 dest_desc 4
DATA_SOURCE 1 ecomp $1
DATA_SOURCE 2 status r ses_get_page2_descriptor
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex