Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/nvdimm/btt_devs.c nd_btt_version() -> nd_btt_arena_is_valid()

Type Parameter Key Value
PARAM_VALUE 0 nd_btt 4096-ptr_max
PARAM_VALUE 0 nd_btt->initial_offset 0
PARAM_VALUE 0 nd_btt->version_major 2
PARAM_VALUE 0 nd_btt->version_minor 0
BUF_SIZE 1 super 4096
DATA_SOURCE 0 nd_btt $0
DATA_SOURCE 1 super $2
MEM_ZERO 1 super
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex

drivers/nvdimm/btt_devs.c nd_btt_version() -> nd_btt_arena_is_valid()

Type Parameter Key Value
PARAM_VALUE 0 nd_btt 4096-ptr_max
PARAM_VALUE 0 nd_btt->initial_offset 4096
PARAM_VALUE 0 nd_btt->version_major 1
PARAM_VALUE 0 nd_btt->version_minor 1
BUF_SIZE 1 super 4096
DATA_SOURCE 0 nd_btt $0
DATA_SOURCE 1 super $2
MEM_ZERO 1 super
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex

drivers/nvdimm/btt.c discover_arenas() -> nd_btt_arena_is_valid()

Type Parameter Key Value
PARAM_VALUE 0 nd_btt 4096-ptr_max
PARAM_VALUE 0 nd_btt->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 nd_btt->dev.parent 4096-ptr_max
PARAM_VALUE 0 nd_btt->initial_offset 0,4096
PARAM_VALUE 0 nd_btt->lbasize 1-u64max
PARAM_VALUE 0 nd_btt->ndns 4096-ptr_max
PARAM_VALUE 0 nd_btt->ndns->rw_bytes 4096-ptr_max
PARAM_VALUE 0 nd_btt->uuid 1-u64max
PARAM_VALUE 0 nd_btt->version_major 1-2
PARAM_VALUE 0 nd_btt->version_minor 0-1
PARAM_VALUE 1 super 4096-ptr_max
BUF_SIZE 1 super 4096
DATA_SOURCE 1 super r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex