Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/nvdimm/btt_devs.c sector_size_store() -> nd_size_select_store()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 2 current_size 4096-ptr_max
PARAM_VALUE 3 supported 9202907401441316864
BUF_SIZE 3 supported 64
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 0 &dev->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/nvdimm/namespace_devs.c sector_size_store() -> nd_size_select_store()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->parent->type 4096-ptr_max
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 2 current_size 4096-ptr_max
PARAM_VALUE 3 supported 5807411729604665344
BUF_SIZE 2 current_size 8
BUF_SIZE 3 supported 24
BUF_SIZE 3 supported 24
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 0 &dev->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/nvdimm/pfn_devs.c align_store() -> nd_size_select_store()

Type Parameter Key Value
PARAM_VALUE 0 dev 0,4096-ptr_max
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 2 current_size 1632,4096-ptr_max
PARAM_VALUE 3 supported 8098585194586767360
BUF_SIZE 3 supported 32
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 0 &dev->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct kernfs_open_file)->mutex