Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/nvme/host/core.c nvme_query_fdp_info() -> nvme_get_features()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->ctratt 524288-u32max
PARAM_VALUE 1 fid 29
PARAM_VALUE 3 buffer 0
PARAM_VALUE 4 buflen 0
PARAM_VALUE 5 result 1124003028317503488
BUF_SIZE 5 result 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctrl->scan_lock
HALF_LOCKED2 &pool->lock

drivers/nvme/host/pci.c nvme_get_power_state() -> nvme_get_features()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->admin_q 0,4096-ptr_max
PARAM_VALUE 0 dev->admin_q->timeout.entry.pprev 0
PARAM_VALUE 0 dev->admin_q->timeout.flags 0-4194302
PARAM_VALUE 0 dev->admin_q->timeout.lockdep_map->name 0-255
PARAM_VALUE 0 dev->admin_q->timeout_work.lockdep_map->name 0-255
PARAM_VALUE 0 dev->npss 1-255
PARAM_VALUE 0 dev->srcu.dep_map->name 0-255
PARAM_VALUE 0 dev->srcu.srcu_ctrp 4096-ptr_max
PARAM_VALUE 0 dev->state 1
PARAM_VALUE 1 fid 2
PARAM_VALUE 2 dword11 0
PARAM_VALUE 3 buffer 0
PARAM_VALUE 4 buflen 0
PARAM_VALUE 5 result 4096-ptr_max
PARAM_VALUE 5 *result 4294967295
BUF_SIZE 0 dev 5640
CAPPED_DATA 0 dev->srcu.srcu_ctrp 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 5 result $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fsm->lock

drivers/nvme/host/hwmon.c nvme_get_temp_thresh() -> nvme_get_features()

Type Parameter Key Value
PARAM_VALUE 1 fid 4
PARAM_VALUE 2 dword11 0,65536-u32max
PARAM_VALUE 3 buffer 0
PARAM_VALUE 4 buflen 0
PARAM_VALUE 5 result 3893093710456098816
BUF_SIZE 5 result 4
DATA_SOURCE 0 dev $0
BIT_INFO 2 dword11 0x0,0xffff0000
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/nvme/target/passthru.c nvmet_passthru_set_host_behaviour() -> nvme_get_features()

Type Parameter Key Value
PARAM_VALUE 1 fid 22
PARAM_VALUE 2 dword11 0
PARAM_VALUE 3 buffer 4096-ptr_max
PARAM_VALUE 4 buflen 512
PARAM_VALUE 5 result 0
BUF_SIZE 3 buffer 1024
DATA_SOURCE 3 buffer r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 4 buflen unit_byte
HALF_LOCKED2 &pool->lock