Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/nvdimm/label.c __pmem_label_update() -> nd_label_offset()

Type Parameter Key Value
PARAM_VALUE 0 ndd 4096-ptr_max
PARAM_VALUE 0 ndd->ns_next 0-s32max
PARAM_VALUE 1 nd_label 4096-ptr_max
PARAM_VALUE 1 nd_label->cxl.flags 0,8
PARAM_VALUE 1 nd_label->cxl.nrange 0-1
PARAM_VALUE 1 nd_label->cxl.position 0-65534
PARAM_VALUE 1 nd_label->cxl.slot 0-64
PARAM_VALUE 1 nd_label->efi.flags 0,8
PARAM_VALUE 1 nd_label->efi.position 0-65534
PARAM_VALUE 1 nd_label->efi.slot 0-64
PARAM_VALUE 1 *nd_label->cxl.uuid 0-255
PARAM_VALUE 1 *nd_label->efi.uuid 0-255
BUF_SIZE 0 ndd s32min-(-2),1-s32max
BUF_SIZE 0 ndd s32min-(-2),1-s32max
DATA_SOURCE 0 ndd r to_ndd
DATA_SOURCE 1 nd_label r to_label
FUZZY_MAX 1 nd_label->cxl.flags 0
FUZZY_MAX 1 nd_label->cxl.nrange 0
FUZZY_MAX 1 nd_label->cxl.position 0
FUZZY_MAX 1 nd_label->cxl.slot 0
FUZZY_MAX 1 nd_label->efi.flags 0
FUZZY_MAX 1 nd_label->efi.position 0
FUZZY_MAX 1 nd_label->efi.slot 0
MEM_ZERO 1 nd_label
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