Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/nvme/host/core.c nvme_configure_metadata() -> nvme_ns_has_pi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 0 | head->ms | 8 |
| PARAM_VALUE | 0 | head->pi_size | 0,8,16 |
| PARAM_VALUE | 0 | head->pi_type | 0-7 |
| DATA_SOURCE | 0 | head | $1 |
| FUZZY_MAX | 0 | head->pi_size | 8 |
| FUZZY_MAX | 0 | head->pi_type | 0 |
| BIT_INFO | 0 | head->features | 0x1,0xfffffffffffffffd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ns->disk->queue->limits_lock | ||
| HALF_LOCKED2 | &ctrl->scan_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct request_queue)->limits_lock |
drivers/nvme/host/core.c nvme_init_integrity() -> nvme_ns_has_pi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 0 | head->ms | 8 |
| PARAM_VALUE | 0 | head->pi_size | 0,8,16 |
| PARAM_VALUE | 0 | head->pi_type | 0-7 |
| DATA_SOURCE | 0 | head | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctrl->scan_lock | ||
| HALF_LOCKED2 | &ns->disk->queue->limits_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &head->disk->queue->limits_lock | |
| TYPE_LOCK | (struct request_queue)->limits_lock |
drivers/nvme/host/core.c nvme_setup_rw() -> nvme_ns_has_pi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 0 | head->ms | 1-u16max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |
drivers/nvme/host/core.c nvme_setup_write_zeroes() -> nvme_ns_has_pi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |
drivers/nvme/host/rdma.c nvme_rdma_queue_rq() -> nvme_ns_has_pi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |