Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/scsi_sysfs.c show_shost_active_mode() -> show_shost_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mode | 1-3 |
| PARAM_VALUE | 1 | buf | 1-u64max |
| CAPPED_DATA | 1 | buf | 1 |
| DATA_SOURCE | 1 | buf | $2 |
| 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/scsi_sysfs.c show_shost_supported_mode() -> show_shost_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mode | 1-3 |
| PARAM_VALUE | 1 | buf | 1-u64max |
| CAPPED_DATA | 1 | buf | 1 |
| DATA_SOURCE | 1 | buf | $2 |
| FUZZY_MAX | 0 | mode | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |