Defined in 2 files as a function:
- include/linux/blk-integrity.h, line 49 (as a function)
- include/linux/blk-integrity.h, line 141 (as a function)
Referenced in 13 files:
- block/bio-integrity-fs.c, line 57
- block/bio-integrity.c
- block/blk-integrity.c, line 68
- block/fops.c, line 673
- block/t10-pi.c
- drivers/md/dm-crypt.c, line 1129
- drivers/md/dm-integrity.c, line 5013
- drivers/md/dm-io-rewind.c, line 59
- drivers/md/md.c, line 2544
- drivers/nvme/host/ioctl.c, line 131
- drivers/nvme/host/rdma.c, line 1420
- drivers/scsi/virtio_scsi.c, line 547
- include/linux/blk-integrity.h
Smatch caller information:
drivers/md/dm-io-rewind.c dm_bio_integrity_rewind() -> blk_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &pool->lock |
drivers/md/md.c md_integrity_register() -> blk_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->limits.max_hw_discard_sectors |
block/blk-mq.c bio_integrity_action() -> blk_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->queue_hw_ctx | |
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->stats | |
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock |
drivers/target/target_core_iblock.c bdev_get_integrity() -> blk_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
block/bio-integrity.c __bio_integrity_action() -> blk_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue->limits.integrity.metadata_size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->queue_hw_ctx | |
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->stats |
block/bio-integrity.c bio_integrity_advance() -> blk_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->queue_hw_ctx | |
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->stats | |
| 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() -> blk_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue->limits.integrity.metadata_size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->queue_hw_ctx | |
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->stats |
block/bio-integrity.c bio_integrity_map_iter() -> blk_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
block/bio-integrity.c bio_integrity_setup_default() -> blk_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue->limits.integrity.metadata_size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->queue_hw_ctx | |
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->stats |
block/bio-integrity.c bio_integrity_trim() -> blk_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->queue_hw_ctx | |
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->stats | |
| HALF_LOCKED2 | &md->io_barrier |
drivers/scsi/virtio_scsi.c virtio_scsi_init_hdr_pi() -> blk_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sdev->state_mutex |
drivers/nvme/host/rdma.c nvme_rdma_map_sg_pi() -> blk_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |
drivers/nvme/host/ioctl.c nvme_map_user_request() -> blk_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/nvdimm/btt.c bio_integrity_action() -> blk_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->queue_hw_ctx | |
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->stats | |
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock |
block/blk-integrity.c blk_get_meta_cap() -> blk_get_integrity()
| Type | Parameter | Key | Value |
|---|
drivers/md/dm-crypt.c crypt_integrity_ctr() -> blk_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &md->type_lock |
block/fops.c blkdev_open() -> blk_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/nvme/target/rdma.c bdev_get_integrity() -> blk_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/nvme/target/io-cmd-bdev.c bdev_get_integrity() -> blk_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &subsys->lock | ||
| HALF_LOCKED2 | global &nvmet_config_sem |
block/t10-pi.c bio_integrity_generate() -> blk_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue->limits.integrity.metadata_size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->queue_hw_ctx | |
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->stats |
block/t10-pi.c bio_integrity_verify() -> blk_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
block/t10-pi.c blk_integrity_iterate() -> blk_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue->limits.integrity.metadata_size | 0-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->queue_hw_ctx | |
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->stats |
block/bio-integrity-fs.c bio_integrity_action() -> blk_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
block/bio-integrity-fs.c fs_bio_integrity_verify() -> blk_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |