Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/scsi_debug.c add_host_store() -> sdebug_add_host_helper()

Type Parameter Key Value
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/scsi_debug.c scsi_debug_init() -> sdebug_add_host_helper()

Type Parameter Key Value
PARAM_VALUE 0 per_host_idx 0-s32max
DATA_SOURCE 0 per_host_idx r sdebug_add_store

drivers/scsi/scsi_debug.c sdebug_do_add_host() -> sdebug_add_host_helper()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex