Defined in 2 files as a function:
- include/linux/blk-integrity.h, line 84 (as a function)
- include/linux/blk-integrity.h, line 162 (as a function)
Referenced in 8 files:
- block/bio-integrity-fs.c, line 75
- block/bio-integrity.c
- block/blk-mq-dma.c, line 345
- drivers/block/ublk_drv.c, line 4109
- drivers/md/dm-io-rewind.c, line 60
- drivers/nvme/target/io-cmd-bdev.c, line 226
- drivers/scsi/virtio_scsi.c
- drivers/target/target_core_iblock.c, line 717
Smatch caller information:
drivers/md/dm-io-rewind.c dm_bio_integrity_rewind() -> bio_integrity_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bi | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bi->metadata_size | 1 |
| PARAM_VALUE | 1 | sectors | 0-8388607 |
| BUF_SIZE | 0 | bi | (-1),16 |
| BUF_SIZE | 0 | bi | (-1),16 |
| DATA_SOURCE | 0 | bi | r blk_get_integrity |
| HALF_LOCKED2 | &pool->lock |
drivers/target/target_core_iblock.c iblock_alloc_bip() -> bio_integrity_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bi | 4096-ptr_max |
| PARAM_VALUE | 1 | sectors | 0-8388607 |
| BUF_SIZE | 0 | bi | 16 |
| DATA_SOURCE | 0 | bi | r bdev_get_integrity |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->caw_sem | ||
| HALF_LOCKED2 | &pool->lock |
block/bio-integrity.c bio_integrity_advance() -> bio_integrity_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bi | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bi->metadata_size | 1 |
| PARAM_VALUE | 1 | sectors | 0-8388607 |
| BUF_SIZE | 0 | bi | (-1),16 |
| BUF_SIZE | 0 | bi | (-1),16 |
| DATA_SOURCE | 0 | bi | r blk_get_integrity |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | sectors | 0-8388607[c] |
| USER_DATA | 1 | sectors | 0-8388607[c] |
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &wc->lock | ||
| HALF_LOCKED2 | &zmd->mblk_sem |
block/bio-integrity.c bio_integrity_alloc_buf() -> bio_integrity_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bi | 4096-ptr_max |
| PARAM_VALUE | 0 | bi->metadata_size | 1 |
| PARAM_VALUE | 1 | sectors | 0-8388607 |
| BUF_SIZE | 0 | bi | 16 |
| DATA_SOURCE | 0 | bi | r blk_get_integrity |
| RX_PATH | |||
| TASK_NOT_RUNNING |
block/bio-integrity.c bio_integrity_map_iter() -> bio_integrity_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bi | 4096-ptr_max |
| PARAM_VALUE | 0 | bi->metadata_size | 1 |
| PARAM_VALUE | 1 | sectors | 0-8388607 |
| BUF_SIZE | 0 | bi | 16 |
| DATA_SOURCE | 0 | bi | r blk_get_integrity |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
block/bio-integrity.c bio_integrity_trim() -> bio_integrity_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bi | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bi->metadata_size | 1 |
| PARAM_VALUE | 1 | sectors | 0-8388607 |
| BUF_SIZE | 0 | bi | (-1),16 |
| BUF_SIZE | 0 | bi | (-1),16 |
| DATA_SOURCE | 0 | bi | r blk_get_integrity |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &md->io_barrier |
drivers/scsi/virtio_scsi.c virtio_scsi_init_hdr_pi() -> bio_integrity_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bi | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bi->metadata_size | 1 |
| PARAM_VALUE | 1 | sectors | 0-8388607 |
| BUF_SIZE | 0 | bi | (-1),16 |
| BUF_SIZE | 0 | bi | (-1),16 |
| DATA_SOURCE | 0 | bi | r blk_get_integrity |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sdev->state_mutex |
drivers/scsi/virtio_scsi.c virtio_scsi_init_hdr_pi() -> bio_integrity_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bi | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bi->metadata_size | 1 |
| PARAM_VALUE | 1 | sectors | 0-8388607 |
| BUF_SIZE | 0 | bi | (-1),16 |
| BUF_SIZE | 0 | bi | (-1),16 |
| DATA_SOURCE | 0 | bi | r blk_get_integrity |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sdev->state_mutex |
block/blk-mq-dma.c blk_rq_integrity_dma_map_iter_start() -> bio_integrity_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bi | 4096-ptr_max |
| PARAM_VALUE | 1 | sectors | 0-8388607 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |
drivers/block/ublk_drv.c ublk_user_copy() -> bio_integrity_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bi | 4096-ptr_max |
| PARAM_VALUE | 1 | sectors | 0-8388607 |
| BUF_SIZE | 0 | bi | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/nvme/target/io-cmd-bdev.c nvmet_bdev_alloc_bip() -> bio_integrity_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bi | 4096-ptr_max |
| PARAM_VALUE | 1 | sectors | 0-8388607 |
| BUF_SIZE | 0 | bi | 16 |
| DATA_SOURCE | 0 | bi | r bdev_get_integrity |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
block/bio-integrity-fs.c fs_bio_integrity_verify() -> bio_integrity_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bi | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bi->metadata_size | 1 |
| PARAM_VALUE | 1 | sectors | 0-8388607 |
| BUF_SIZE | 0 | bi | (-1),16 |
| BUF_SIZE | 0 | bi | (-1),16 |
| DATA_SOURCE | 0 | bi | r blk_get_integrity |
| RX_PATH | |||
| TASK_NOT_RUNNING |