Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/scsi_debug.c resp_get_lba_status() -> get_sdebug_capacity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sdev->state_mutex |
drivers/scsi/scsi_debug.c resp_mode_sense() -> get_sdebug_capacity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sdev->state_mutex |
drivers/scsi/scsi_debug.c resp_readcap() -> get_sdebug_capacity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sdev->state_mutex |
drivers/scsi/scsi_debug.c resp_readcap16() -> get_sdebug_capacity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sdev->state_mutex |
drivers/scsi/scsi_debug.c scsi_debug_init() -> get_sdebug_capacity()
| Type | Parameter | Key | Value |
|---|
drivers/scsi/scsi_debug.c sdebug_build_parts() -> get_sdebug_capacity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
drivers/scsi/scsi_debug.c sdebug_device_create_zones() -> get_sdebug_capacity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/scsi/scsi_debug.c virtual_gb_store() -> get_sdebug_capacity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |