Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 10 files:

Smatch caller information:

drivers/mtd/mtdswap.c mtdswap_add_mtd() -> add_mtd_blktrans_dev()

Type Parameter Key Value
PARAM_VALUE 0 new 4096-ptr_max
PARAM_VALUE 0 new->mtd 4096-ptr_max
PARAM_VALUE 0 new->priv 4096-ptr_max
PARAM_VALUE 0 new->size 0-4503599625273345
PARAM_VALUE 0 new->tr 3207473384875892736
PARAM_VALUE 0 new->tr->add_mtd 1962004167677120512
PARAM_VALUE 0 new->tr->background 45727352185856000
PARAM_VALUE 0 new->tr->blksize 4096
PARAM_VALUE 0 new->tr->discard 575006353674596352
PARAM_VALUE 0 new->tr->flush 8145704830167932928
PARAM_VALUE 0 new->tr->getgeo 0
PARAM_VALUE 0 new->tr->major 0-s32max
PARAM_VALUE 0 new->tr->name 4167725140428738560
PARAM_VALUE 0 new->tr->open 0
PARAM_VALUE 0 new->tr->owner 0
PARAM_VALUE 0 new->tr->part_bits 0
PARAM_VALUE 0 new->tr->readsect 5142671023265161216
PARAM_VALUE 0 new->tr->release 0
PARAM_VALUE 0 new->tr->remove_dev 3287877864252284928
PARAM_VALUE 0 new->tr->writesect 9150267371345924096
BUF_SIZE 0 new 352
BUF_SIZE 0 new->mtd (-1),2448,2984
BUF_SIZE 0 new->priv 264
DATA_SOURCE 0 new r _kzalloc_noprof
STR_LEN 0 new->mtd (-1),18
STR_LEN 0 new->mtd->dev.driver_data (-1)
STR_LEN 0 new->mtd->name (-1)
STR_LEN 0 new->tr (-1),18
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 new->mtd->erasesize
LOCK2 global &mtd_table_mutex

drivers/mtd/mtdblock.c mtdblock_add_mtd() -> add_mtd_blktrans_dev()

Type Parameter Key Value
PARAM_VALUE 0 new 4096-ptr_max
PARAM_VALUE 0 new->mtd 4096-ptr_max
PARAM_VALUE 0 new->size 0-36028797018963967
PARAM_VALUE 0 new->tr 7340051599640035328
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &mtd_table_mutex

drivers/mtd/nftlcore.c nftl_add_mtd() -> add_mtd_blktrans_dev()

Type Parameter Key Value
PARAM_VALUE 0 new 4096-ptr_max
PARAM_VALUE 0 new->devnum (-1)
PARAM_VALUE 0 new->mtd 4096-ptr_max
PARAM_VALUE 0 new->size 0-u32max
PARAM_VALUE 0 new->tr 204429026254897152
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &mtd_table_mutex

drivers/mtd/rfd_ftl.c rfd_ftl_add_mtd() -> add_mtd_blktrans_dev()

Type Parameter Key Value
PARAM_VALUE 0 new 4096-ptr_max
PARAM_VALUE 0 new->devnum (-1)
PARAM_VALUE 0 new->mtd 4096-ptr_max
PARAM_VALUE 0 new->size 0-s32max
PARAM_VALUE 0 new->tr 6337445182520090624
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &mtd_table_mutex

drivers/mtd/ssfdc.c ssfdcr_add_mtd() -> add_mtd_blktrans_dev()

Type Parameter Key Value
PARAM_VALUE 0 new 4096-ptr_max
PARAM_VALUE 0 new->devnum (-1)
PARAM_VALUE 0 new->mtd 4096-ptr_max
PARAM_VALUE 0 new->readonly 1
PARAM_VALUE 0 new->size 0-4261413375
PARAM_VALUE 0 new->tr 4365315684939493376
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &mtd_table_mutex

drivers/mtd/ftl.c ftl_add_mtd() -> add_mtd_blktrans_dev()

Type Parameter Key Value
PARAM_VALUE 0 new 4096-ptr_max
PARAM_VALUE 0 new->devnum (-1)
PARAM_VALUE 0 new->mtd 4096-ptr_max
PARAM_VALUE 0 new->size 0-8388607
PARAM_VALUE 0 new->tr 3242240121954086912
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &mtd_table_mutex

drivers/mtd/inftlcore.c inftl_add_mtd() -> add_mtd_blktrans_dev()

Type Parameter Key Value
PARAM_VALUE 0 new 4096-ptr_max
PARAM_VALUE 0 new->devnum (-1)
PARAM_VALUE 0 new->mtd 4096-ptr_max
PARAM_VALUE 0 new->size 0-u32max
PARAM_VALUE 0 new->tr 6796921757799104512
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &mtd_table_mutex

drivers/mtd/sm_ftl.c sm_add_mtd() -> add_mtd_blktrans_dev()

Type Parameter Key Value
PARAM_VALUE 0 new 4096-ptr_max
PARAM_VALUE 0 new->devnum (-1)
PARAM_VALUE 0 new->disk_attributes 4096-ptr_max
PARAM_VALUE 0 new->disk_attributes->attrs 4096-ptr_max
PARAM_VALUE 0 new->disk_attributes->attrs_const 4096-ptr_max
PARAM_VALUE 0 new->mtd 4096-ptr_max
PARAM_VALUE 0 new->priv 4096-ptr_max
PARAM_VALUE 0 new->readonly 0-1
PARAM_VALUE 0 new->size 0-4194303,18446744073705357312-u64max
PARAM_VALUE 0 new->tr 5289599920210243584
PARAM_VALUE 0 new->tr->add_mtd 8990761326049067008
PARAM_VALUE 0 new->tr->background 0
PARAM_VALUE 0 new->tr->blksize 512
PARAM_VALUE 0 new->tr->discard 0
PARAM_VALUE 0 new->tr->flush 5260998402254692352
PARAM_VALUE 0 new->tr->getgeo 8297378188997808128
PARAM_VALUE 0 new->tr->major 0-s32max
PARAM_VALUE 0 new->tr->name 6777184942721179648
PARAM_VALUE 0 new->tr->open 0
PARAM_VALUE 0 new->tr->owner 0
PARAM_VALUE 0 new->tr->part_bits 3
PARAM_VALUE 0 new->tr->readsect 188888950717464576
PARAM_VALUE 0 new->tr->release 4633935723322961920
PARAM_VALUE 0 new->tr->remove_dev 5320580944485998592
PARAM_VALUE 0 new->tr->writesect 7762855901512835072
BUF_SIZE 0 new 352
BUF_SIZE 0 new->disk_attributes 48
BUF_SIZE 0 new->mtd (-1),2448,2984
BUF_SIZE 0 new->priv 944
DATA_SOURCE 0 new r _kzalloc_noprof
STR_LEN 0 new->mtd (-1),18
STR_LEN 0 new->mtd->dev.driver_data (-1)
STR_LEN 0 new->mtd->name (-1)
STR_LEN 0 new->tr (-1),18
BIT_INFO 0 new->size 0x0,0x3fffff
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 new->mtd->erasesize
LOCK2 global &mtd_table_mutex