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_find_get_ns() -> nvme_get_ns()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
PARAM_VALUE 0 ns->head 4096-ptr_max
CAPPED_DATA 0 ns->head->ns_id 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ctrl->srcu
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct nvme_ctrl)->srcu

drivers/nvme/host/core.c nvme_ns_open() -> nvme_get_ns()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
BUF_SIZE 0 ns s32min-(-1),1-s32max
BUF_SIZE 0 ns s32min-(-1),1-s32max
DATA_SOURCE 0 ns $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ns unit_byte
HALF_LOCKED2 &disk->open_mutex

drivers/nvme/host/ioctl.c nvme_dev_user_cmd() -> nvme_get_ns()

Type Parameter Key Value
CAPPED_DATA 0 ns 1
LOCK2 &ctrl->srcu
TYPE_LOCK (struct nvme_ctrl)->srcu