Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/scsi/sd_dif.c sd_dif_config_host() -> scsi_host_dif_capable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sdkp->disk->queue->limits_lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &disk->open_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct request_queue)->limits_lock |
drivers/scsi/sd.c protection_mode_show() -> scsi_host_dif_capable()
| 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 |
drivers/scsi/sd.c sd_config_protection() -> scsi_host_dif_capable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | target_type | 1-255 |
drivers/scsi/sd.c sd_setup_read_write_cmnd() -> scsi_host_dif_capable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |