Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/nvme/host/fabrics.c, line 1260
- drivers/nvme/host/rdma.c, line 2240
- drivers/nvme/host/tcp.c, line 2903
Smatch caller information:
drivers/nvme/host/rdma.c nvme_rdma_existing_controller() -> nvmf_ip_options_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 1 | opts | 4096-ptr_max |
| PARAM_VALUE | 1 | opts->duplicate_connect | 0 |
| PARAM_VALUE | 1 | opts->mask | 0,8-u32max |
| PARAM_VALUE | 1 | opts->trsvcid | 0,4096-ptr_max |
| PARAM_VALUE | 1 | *opts->trsvcid | 0 |
| DATA_SOURCE | 1 | opts | $0 |
| BIT_INFO | 1 | opts->mask | 0x8,0xffffffffffffffff |
| LOCK2 | global &nvme_rdma_ctrl_mutex | ||
| LOCK2 | global &nvmf_dev_mutex |
drivers/nvme/host/tcp.c nvme_tcp_existing_controller() -> nvmf_ip_options_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 1 | opts | 4096-ptr_max |
| PARAM_VALUE | 1 | opts->duplicate_connect | 0 |
| PARAM_VALUE | 1 | opts->mask | 0,8-u32max |
| PARAM_VALUE | 1 | opts->trsvcid | 0,4096-ptr_max |
| PARAM_VALUE | 1 | *opts->trsvcid | 0 |
| DATA_SOURCE | 1 | opts | $0 |
| BIT_INFO | 1 | opts->mask | 0x8,0xffffffffffffffff |
| LOCK2 | global &nvme_tcp_ctrl_mutex | ||
| LOCK2 | global &nvmf_dev_mutex |