Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/nvme/host/core.c nvme_add_ns_cdev() -> nvme_cdev_add()

Type Parameter Key Value
PARAM_VALUE 0 name 3049535278792937472
PARAM_VALUE 1 cdev 4096-ptr_max
PARAM_VALUE 2 cdev_device 4096-ptr_max
PARAM_VALUE 2 cdev_device->parent 0,4096-ptr_max
PARAM_VALUE 3 fops 7633175958613979136
BUF_SIZE 0 name 32
STR_LEN 0 name 31
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctrl->scan_lock
HALF_LOCKED2 &pool->lock

drivers/nvme/host/multipath.c nvme_add_ns_head_cdev() -> nvme_cdev_add()

Type Parameter Key Value
PARAM_VALUE 0 name 5718040449649983488
PARAM_VALUE 1 cdev 4096-ptr_max
PARAM_VALUE 2 cdev_device 4096-ptr_max
PARAM_VALUE 2 cdev_device->parent 4096-ptr_max
PARAM_VALUE 3 fops 4211682622802710528
PARAM_VALUE 4 owner 0
BUF_SIZE 0 name 32
STR_LEN 0 name 31
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock