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_get_unique_id() -> nvme_ns_get_unique_id()

Type Parameter Key Value
BUF_SIZE 0 ns s32min-(-2),1-s32max
BUF_SIZE 1 id (-1),256
BUF_SIZE 1 id (-1),256
DATA_SOURCE 1 id $1
DATA_SOURCE 2 type $2
UNITS 0 ns unit_byte

drivers/nvme/host/multipath.c nvme_ns_head_get_unique_id() -> nvme_ns_get_unique_id()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
BUF_SIZE 1 id (-1),256
BUF_SIZE 1 id (-1),256
CAPPED_DATA 0 ns 1
DATA_SOURCE 0 ns r nvme_find_path
DATA_SOURCE 1 id $1
DATA_SOURCE 2 type $2
LOCK2 &head->srcu
TYPE_LOCK (struct nvme_ns_head)->srcu