Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/nvme/host/ioctl.c nvme_ns_head_chr_ioctl() -> nvme_find_path()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 0 head->srcu.srcu_ctrp 4096-ptr_max
CAPPED_DATA 0 head->srcu.srcu_ctrp 1
CAPPED_DATA 0 head->srcu.srcu_reader_flavor 1
LOCK2 0 &head->srcu
TYPE_LOCK (struct nvme_ns_head)->srcu

drivers/nvme/host/ioctl.c nvme_ns_head_chr_uring_cmd() -> nvme_find_path()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 0 head->srcu.srcu_ctrp 4096-ptr_max
CAPPED_DATA 0 head->srcu.srcu_ctrp 1
CAPPED_DATA 0 head->srcu.srcu_reader_flavor 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &head->srcu
HALF_LOCKED2 &ctx->uring_lock
TYPE_LOCK (struct nvme_ns_head)->srcu

drivers/nvme/host/ioctl.c nvme_ns_head_ioctl() -> nvme_find_path()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 0 head->srcu.srcu_ctrp 4096-ptr_max
BUF_SIZE 0 head s32min-(-2),1-s32max
BUF_SIZE 0 head s32min-(-2),1-s32max
CAPPED_DATA 0 head->srcu.srcu_ctrp 1
CAPPED_DATA 0 head->srcu.srcu_reader_flavor 1
UNITS 0 head unit_byte
LOCK2 0 &head->srcu
TYPE_LOCK (struct nvme_ns_head)->srcu

drivers/nvme/host/sysfs.c ns_head_update_nuse() -> nvme_find_path()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 0 head->rs_nuse.lock.dep_map->name 0-255
PARAM_VALUE 0 head->srcu.srcu_ctrp 4096-ptr_max
BUF_SIZE 0 head s32min-(-1),1-s32max
BUF_SIZE 0 head s32min-(-1),1-s32max
CAPPED_DATA 0 head->srcu.srcu_ctrp 1
CAPPED_DATA 0 head->srcu.srcu_reader_flavor 1
DATA_SOURCE 0 head $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 0 &head->srcu
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct nvme_ns_head)->srcu

drivers/nvme/host/pr.c nvme_send_ns_head_pr_command() -> nvme_find_path()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 0 head->srcu.srcu_ctrp 4096-ptr_max
BUF_SIZE 0 head s32min-(-2),1-s32max
BUF_SIZE 0 head s32min-(-2),1-s32max
CAPPED_DATA 0 head->srcu.srcu_ctrp 1
CAPPED_DATA 0 head->srcu.srcu_reader_flavor 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 head unit_byte
LOCK2 0 &head->srcu
TYPE_LOCK (struct nvme_ns_head)->srcu

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

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 0 head->srcu.srcu_ctrp 4096-ptr_max
BUF_SIZE 0 head s32min-(-2),1-s32max
BUF_SIZE 0 head s32min-(-2),1-s32max
CAPPED_DATA 0 head->srcu.srcu_ctrp 1
CAPPED_DATA 0 head->srcu.srcu_reader_flavor 1
UNITS 0 head unit_byte
LOCK2 0 &head->srcu
TYPE_LOCK (struct nvme_ns_head)->srcu

drivers/nvme/host/multipath.c nvme_ns_head_report_zones() -> nvme_find_path()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 0 head->srcu.srcu_ctrp 4096-ptr_max
BUF_SIZE 0 head (-1),816,1008-s32max
BUF_SIZE 0 head (-1),816,1008-s32max
CAPPED_DATA 0 head->srcu.srcu_ctrp 1
CAPPED_DATA 0 head->srcu.srcu_reader_flavor 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 head unit_byte
LOCK2 0 &head->srcu
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct nvme_ns_head)->srcu

drivers/nvme/host/multipath.c nvme_ns_head_submit_bio() -> nvme_find_path()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 0 head->disk 4096-ptr_max
PARAM_VALUE 0 head->srcu.srcu_ctrp 4096-ptr_max
BUF_SIZE 0 head s32min-(-2),1-s32max
BUF_SIZE 0 head s32min-(-2),1-s32max
CAPPED_DATA 0 head->srcu.srcu_ctrp 1
CAPPED_DATA 0 head->srcu.srcu_reader_flavor 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 head unit_byte
LOCK2 0 &head->srcu
TYPE_LOCK (struct nvme_ns_head)->srcu