Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/nvdimm/dimm_devs.c nvdimm_get_config_data() -> (struct nvdimm_bus_descriptor)->ndctl()

Type Parameter Key Value
PARAM_VALUE 0 nd_desc 4096-ptr_max
PARAM_VALUE 1 nvdimm 4096-ptr_max
PARAM_VALUE 2 cmd 5
PARAM_VALUE 3 buf 4096-ptr_max
PARAM_VALUE 5 cmd_rc 5504954208150376448
PARAM_VALUE 5 *cmd_rc 0-s32max
BUF_SIZE 3 buf 12-4294967307
CAPPED_DATA 4 buf_len 1
DATA_SOURCE 3 buf r __kvmalloc_node_noprof
CONTAINER 0 -56+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex

drivers/nvdimm/dimm_devs.c nvdimm_init_nsarea() -> (struct nvdimm_bus_descriptor)->ndctl()

Type Parameter Key Value
PARAM_VALUE 0 nd_desc 4096-ptr_max
PARAM_VALUE 1 nvdimm 4096-ptr_max
PARAM_VALUE 2 cmd 4
PARAM_VALUE 3 buf 4096-ptr_max
PARAM_VALUE 4 buf_len 12
PARAM_VALUE 5 cmd_rc 4190588706802987008
PARAM_VALUE 5 *cmd_rc 0
BUF_SIZE 3 buf 12
CONTAINER 0 -56+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex

drivers/nvdimm/dimm_devs.c nvdimm_set_config_data() -> (struct nvdimm_bus_descriptor)->ndctl()

Type Parameter Key Value
PARAM_VALUE 0 nd_desc 4096-ptr_max
PARAM_VALUE 1 nvdimm 4096-ptr_max
PARAM_VALUE 2 cmd 6
PARAM_VALUE 3 buf 4096-ptr_max
PARAM_VALUE 5 cmd_rc 1309862545606512640
PARAM_VALUE 5 *cmd_rc 0-s32max
BUF_SIZE 3 buf 12-4294967307
CAPPED_DATA 4 buf_len 1
DATA_SOURCE 3 buf r __kvmalloc_node_noprof
CONTAINER 0 -56+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->mutex
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/acpi/nfit/core.c ars_continue() -> (struct nvdimm_bus_descriptor)->ndctl()

Type Parameter Key Value
PARAM_VALUE 0 nd_desc 4096-ptr_max
PARAM_VALUE 1 nvdimm 0
PARAM_VALUE 2 cmd 2
PARAM_VALUE 3 buf 6602118516124106752
PARAM_VALUE 4 buf_len 32
PARAM_VALUE 5 cmd_rc 3909652125348872192
BUF_SIZE 0 nd_desc 88
BUF_SIZE 3 buf 32
CONTAINER 0 -56+0 $(-1)
LOCK2 &acpi_desc->init_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct acpi_nfit_desc)->init_mutex

drivers/acpi/nfit/core.c ars_get_cap() -> (struct nvdimm_bus_descriptor)->ndctl()

Type Parameter Key Value
PARAM_VALUE 0 nd_desc 4096-ptr_max
PARAM_VALUE 1 nvdimm 0
PARAM_VALUE 2 cmd 1
PARAM_VALUE 3 buf 8471445254151004160
PARAM_VALUE 4 buf_len 32
PARAM_VALUE 5 cmd_rc 3966952070805516288
BUF_SIZE 0 nd_desc 88
DATA_SOURCE 3 buf $1
CONTAINER 0 -56+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &acpi_desc->init_mutex
LOCK2 _T->lock
TYPE_LOCK (struct acpi_nfit_desc)->init_mutex

drivers/acpi/nfit/core.c ars_get_status() -> (struct nvdimm_bus_descriptor)->ndctl()

Type Parameter Key Value
PARAM_VALUE 0 nd_desc 4096-ptr_max
PARAM_VALUE 1 nvdimm 0
PARAM_VALUE 2 cmd 3
PARAM_VALUE 3 buf 1-u64max
PARAM_VALUE 5 cmd_rc 6740796516383334400
BUF_SIZE 0 nd_desc 88
CONTAINER 0 -56+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &acpi_desc->init_mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct acpi_nfit_desc)->init_mutex

drivers/acpi/nfit/core.c ars_start() -> (struct nvdimm_bus_descriptor)->ndctl()

Type Parameter Key Value
PARAM_VALUE 0 nd_desc 4096-ptr_max
PARAM_VALUE 1 nvdimm 0
PARAM_VALUE 2 cmd 2
PARAM_VALUE 3 buf 7568229562827022336
PARAM_VALUE 4 buf_len 32
PARAM_VALUE 5 cmd_rc 8310522137297432576
BUF_SIZE 0 nd_desc 88
BUF_SIZE 3 buf 32
CONTAINER 0 -56+0 $(-1)
MEM_ZERO 3 buf
RX_PATH
TASK_NOT_RUNNING
LOCK2 &acpi_desc->init_mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct acpi_nfit_desc)->init_mutex

drivers/acpi/nfit/intel.c intel_bus_fwa_activate() -> (struct nvdimm_bus_descriptor)->ndctl()

Type Parameter Key Value
PARAM_VALUE 0 nd_desc 4096-ptr_max
PARAM_VALUE 1 nvdimm 0
PARAM_VALUE 2 cmd 10
PARAM_VALUE 3 buf 679113059075903488
PARAM_VALUE 4 buf_len 72
PARAM_VALUE 5 cmd_rc 0
BUF_SIZE 3 buf 72
DATA_SOURCE 0 nd_desc $0
CONTAINER 0 -56+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &system_transition_mutex
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/acpi/nfit/intel.c intel_bus_fwa_businfo() -> (struct nvdimm_bus_descriptor)->ndctl()

Type Parameter Key Value
PARAM_VALUE 0 nd_desc 4096-ptr_max
PARAM_VALUE 0 nd_desc->fw_ops 4096-ptr_max
PARAM_VALUE 1 nvdimm 0
PARAM_VALUE 2 cmd 10
PARAM_VALUE 3 buf 4171690432325251072
PARAM_VALUE 4 buf_len 104
PARAM_VALUE 5 cmd_rc 0
BUF_SIZE 3 buf 104
DATA_SOURCE 0 nd_desc $0
CONTAINER 0 -56+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex

drivers/acpi/nfit/intel.c nvdimm_ctl() -> (struct nvdimm_bus_descriptor)->ndctl()

Type Parameter Key Value
PARAM_VALUE 0 nd_desc 4096-ptr_max
PARAM_VALUE 1 nvdimm 4096-ptr_max
PARAM_VALUE 1 nvdimm->dev.parent 4096-ptr_max
PARAM_VALUE 2 cmd 10
PARAM_VALUE 3 buf 4096-ptr_max
PARAM_VALUE 4 buf_len 72,80,104,136
PARAM_VALUE 5 cmd_rc 0
BUF_SIZE 1 nvdimm->dimm_id (-1),19,23
BUF_SIZE 1 nvdimm->provider_data (-1),16
BUF_SIZE 3 buf 72,80,104,136
BUF_SIZE 3 buf 72,80,104,136
DATA_SOURCE 0 nd_desc r to_nd_desc
DATA_SOURCE 1 nvdimm $0
DATA_SOURCE 2 cmd $1
DATA_SOURCE 3 buf $2
DATA_SOURCE 4 buf_len $3
DATA_SOURCE 5 cmd_rc $4
CONTAINER 0 -56+0 $(-1)
HARD_MAX 4 buf_len 136
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &of->mutex

drivers/nvdimm/bus.c nvdimm_clear_poison() -> (struct nvdimm_bus_descriptor)->ndctl()

Type Parameter Key Value
PARAM_VALUE 0 nd_desc 4096-ptr_max
PARAM_VALUE 0 nd_desc->ndctl 1-u64max
PARAM_VALUE 1 nvdimm 0
PARAM_VALUE 2 cmd 1
PARAM_VALUE 3 buf 8923023758587977728
PARAM_VALUE 4 buf_len 32
PARAM_VALUE 5 cmd_rc 3211602955664707584
BUF_SIZE 3 buf 32
CONTAINER 0 -56+0 $(-1)
MEM_ZERO 3 buf
RX_PATH
TASK_NOT_RUNNING

drivers/nvdimm/bus.c nvdimm_clear_poison() -> (struct nvdimm_bus_descriptor)->ndctl()

Type Parameter Key Value
PARAM_VALUE 0 nd_desc 4096-ptr_max
PARAM_VALUE 1 nvdimm 0
PARAM_VALUE 2 cmd 4
PARAM_VALUE 3 buf 9128777350178148352
PARAM_VALUE 4 buf_len 32
PARAM_VALUE 5 cmd_rc 3211602955664707584
PARAM_VALUE 5 *cmd_rc 0-s32max
BUF_SIZE 3 buf 32
CONTAINER 0 -56+0 $(-1)
MEM_ZERO 3 buf
RX_PATH
TASK_NOT_RUNNING