Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/nvdimm/btt.c btt_blk_init() -> btt_meta_size()

Type Parameter Key Value
PARAM_VALUE 0 btt 4096-ptr_max
PARAM_VALUE 0 btt->sector_size 512,4096
BUF_SIZE 0 btt 240
BUF_SIZE 0 btt->phys_bb 192
CAPPED_DATA 0 btt->nd_region->num_lanes 1
DATA_SOURCE 0 btt $0
FUZZY_MAX 0 btt->sector_size 4096
BIT_INFO 0 btt->sector_size 0x0,0x1200
HARD_MAX 0 btt->sector_size 4096
MEM_ZERO 0 btt
MEM_ZERO 0 btt->nd_btt
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex

drivers/nvdimm/btt.c btt_blk_init() -> btt_meta_size()

Type Parameter Key Value
PARAM_VALUE 0 btt 4096-ptr_max
PARAM_VALUE 0 btt->sector_size 512,4096
BUF_SIZE 0 btt 240
BUF_SIZE 0 btt->phys_bb 192
CAPPED_DATA 0 btt->nd_region->num_lanes 1
DATA_SOURCE 0 btt $0
FUZZY_MAX 0 btt->sector_size 4096
BIT_INFO 0 btt->sector_size 0x0,0x1200
HARD_MAX 0 btt->sector_size 4096
MEM_ZERO 0 btt
MEM_ZERO 0 btt->nd_btt
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex

drivers/nvdimm/btt.c btt_blk_init() -> btt_meta_size()

Type Parameter Key Value
PARAM_VALUE 0 btt 4096-ptr_max
PARAM_VALUE 0 btt->sector_size 512,4096
BUF_SIZE 0 btt 240
BUF_SIZE 0 btt->phys_bb 192
CAPPED_DATA 0 btt->nd_region->num_lanes 1
DATA_SOURCE 0 btt $0
FUZZY_MAX 0 btt->sector_size 4096
BIT_INFO 0 btt->sector_size 0x0,0x1200
HARD_MAX 0 btt->sector_size 4096
MEM_ZERO 0 btt
MEM_ZERO 0 btt->nd_btt
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex

drivers/nvdimm/btt.c btt_rw_integrity() -> btt_meta_size()

Type Parameter Key Value
PARAM_VALUE 0 btt 4096-ptr_max
PARAM_VALUE 0 btt->sector_size 0-4096
BUF_SIZE 0 btt s32min-(-2),1-s32max
BUF_SIZE 0 btt s32min-(-2),1-s32max
CAPPED_DATA 0 btt->sector_size 1
DATA_SOURCE 0 btt $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 btt unit_byte
HALF_LOCKED2 &pool->lock