Documented in 1 files:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 ndns 4096-ptr_max
PARAM_VALUE 0 ndns->claim 4096-ptr_max
PARAM_VALUE 0 ndns->claim_class 2
PARAM_VALUE 0 ndns->dev.parent->type 4096-ptr_max
PARAM_VALUE 1 offset 0
PARAM_VALUE 3 size 4096
PARAM_VALUE 4 flags 0
BUF_SIZE 0 ndns->claim (-1)-0,4,16,24-s32max
BUF_SIZE 2 buf 4096
CAPPED_DATA 0 ndns->claim 1
DATA_SOURCE 0 ndns $1
DATA_SOURCE 2 buf $2
RX_PATH
TASK_NOT_RUNNING
UNITS 3 size unit_byte
HALF_LOCKED2 &dev->mutex

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

Type Parameter Key Value
PARAM_VALUE 0 ndns 4096-ptr_max
PARAM_VALUE 0 ndns->claim 4096-ptr_max
PARAM_VALUE 0 ndns->claim_class 0-1,3-u32max
PARAM_VALUE 0 ndns->dev.parent->type 4096-ptr_max
PARAM_VALUE 1 offset 4096
PARAM_VALUE 3 size 4096
PARAM_VALUE 4 flags 0
BUF_SIZE 0 ndns->claim (-1)-0,4,16,24-s32max
BUF_SIZE 2 buf 4096
CAPPED_DATA 0 ndns->claim 1
DATA_SOURCE 0 ndns $1
DATA_SOURCE 2 buf $2
RX_PATH
TASK_NOT_RUNNING
UNITS 3 size unit_byte
HALF_LOCKED2 &dev->mutex

drivers/nvdimm/btt.c arena_read_bytes() -> nvdimm_read_bytes()

Type Parameter Key Value
PARAM_VALUE 0 ndns 4096-ptr_max
PARAM_VALUE 4 flags 0-1
BUF_SIZE 2 buf (-1),4,4096
BUF_SIZE 2 buf (-1),4,4096
CAPPED_DATA 3 size 1
CAPPED_DATA 3 size 1
DATA_SOURCE 1 offset r adjust_initial_offset
DATA_SOURCE 2 buf $2
DATA_SOURCE 3 size $3
DATA_SOURCE 4 flags $4
HARD_MAX 4 flags 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 offset unit_byte
UNITS 2 buf unit_byte
UNITS 3 size unit_byte

drivers/nvdimm/pfn_devs.c nd_pfn_validate() -> nvdimm_read_bytes()

Type Parameter Key Value
PARAM_VALUE 0 ndns 1-u64max
PARAM_VALUE 1 offset 4096
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 size 4096
PARAM_VALUE 4 flags 0
BUF_SIZE 2 buf 4096
RX_PATH
TASK_NOT_RUNNING
UNITS 3 size unit_byte
HALF_LOCKED2 &dev->mutex