Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/scsi/sd_dif.c sd_dif_config_host() -> blk_integrity_profile_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bi | 4096-ptr_max |
| PARAM_VALUE | 0 | bi->csum_type | 1-2 |
| PARAM_VALUE | 0 | bi->flags | 0,4,8,12 |
| BUF_SIZE | 0 | bi | 16 |
| FUZZY_MAX | 0 | bi->csum_type | 2 |
| FUZZY_MAX | 0 | bi->flags | 0 |
| HARD_MAX | 0 | bi->csum_type | 2 |
| MEM_ZERO | 0 | bi | |
| 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_dif.c sd_dif_config_host() -> blk_integrity_profile_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bi | 4096-ptr_max |
| PARAM_VALUE | 0 | bi->csum_type | 1-2 |
| PARAM_VALUE | 0 | bi->flags | 0,4,8,12 |
| BUF_SIZE | 0 | bi | 16 |
| FUZZY_MAX | 0 | bi->csum_type | 2 |
| FUZZY_MAX | 0 | bi->flags | 0 |
| HARD_MAX | 0 | bi->csum_type | 2 |
| MEM_ZERO | 0 | bi | |
| 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/target/target_core_iblock.c iblock_configure_device() -> blk_integrity_profile_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bi | 4096-ptr_max |
| PARAM_VALUE | 0 | bi->csum_type | 1 |
| BUF_SIZE | 0 | bi | 16 |
| DATA_SOURCE | 0 | bi | r bdev_get_integrity |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem |
block/blk-integrity.c format_show() -> blk_integrity_profile_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bi | 4096-ptr_max |
| BUF_SIZE | 0 | bi | 16 |
| DATA_SOURCE | 0 | bi | r dev_to_bi |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |