Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/mtd/mtdpart.c allocate_partition() -> mtd_block_isreserved()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->part.size 1-u64max
PARAM_VALUE 0 mtd->partitions.next->next 4096-ptr_max
PARAM_VALUE 0 mtd->partitions.prev->next 4096-ptr_max
PARAM_VALUE 0 mtd->partitions.prev->prev 4096-ptr_max
PARAM_VALUE 1 ofs s64min-(-2),0-s64max
BUF_SIZE 0 mtd 2448
CAPPED_DATA 1 ofs 1
DATA_SOURCE 0 mtd r _kzalloc_noprof
STR_LEN 0 mtd->parent (-1)
STR_LEN 0 mtd->parent->name (-1)
PARAM_COMPARE 0 mtd->part.size > $1
PARAM_COMPARE 1 ofs < $0->part.size
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 mtd->erasesize
NO_OVERFLOW_SIMPLE 0 mtd->parent->erasesize
NO_OVERFLOW_SIMPLE 1 ofs
UNITS 1 ofs unit_byte
HALF_LOCKED2 &master->master.chrdev_lock