Defined in 2 files as a function:
- include/linux/blk-integrity.h, line 57 (as a function)
- include/linux/blk-integrity.h, line 137 (as a function)
Referenced in 3 files:
- drivers/nvme/target/io-cmd-bdev.c
- drivers/nvme/target/rdma.c, line 596
- drivers/target/target_core_iblock.c
Smatch caller information:
drivers/target/target_core_iblock.c iblock_alloc_bip() -> bdev_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->caw_sem | ||
| HALF_LOCKED2 | &pool->lock |
drivers/target/target_core_iblock.c iblock_configure_device() -> bdev_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| BUF_SIZE | 0 | bdev | 2136 |
| DATA_SOURCE | 0 | bdev | r file_bdev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem |
drivers/nvme/target/rdma.c nvmet_rdma_set_sig_attrs() -> bdev_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/nvme/target/io-cmd-bdev.c nvmet_bdev_alloc_bip() -> bdev_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/nvme/target/io-cmd-bdev.c nvmet_bdev_ns_enable_integrity() -> bdev_get_integrity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| BUF_SIZE | 0 | bdev | 2136 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| LOCK2 | &subsys->lock | ||
| LOCK2 | global &nvmet_config_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem | ||
| TYPE_LOCK | (struct nvmet_subsys)->lock |