Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/nvme/host/fc.c nvme_fc_existing_controller() -> nvmf_ctlr_matches_baseopts()

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,4-u32max
DATA_SOURCE 1 opts $1
BIT_INFO 1 opts->mask 0x0,0xfffffffc
PREEMPT_ADD <- disables preempt
LOCK2 &rport->lock
LOCK2 flags
LOCK2 global &nvmf_dev_mutex
TYPE_LOCK (struct nvme_fc_rport)->lock

drivers/nvme/host/fabrics.c nvmf_ip_options_match() -> nvmf_ctlr_matches_baseopts()

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 0 ctrl $0
DATA_SOURCE 1 opts $1
BIT_INFO 1 opts->mask 0x8,0xffffffffffffffff
LOCK2 global &nvmf_dev_mutex
HALF_LOCKED2 global &nvme_rdma_ctrl_mutex
HALF_LOCKED2 global &nvme_tcp_ctrl_mutex