Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 13 files:

Smatch caller information:

drivers/mtd/tests/readtest.c mtd_readtest_init() -> get_mtd_device()

Type Parameter Key Value
PARAM_VALUE 0 mtd 0
PARAM_VALUE 1 num 0-s32max
FUZZY_MAX 1 num 0

drivers/mtd/mtdchar.c mtdchar_open() -> get_mtd_device()

Type Parameter Key Value
PARAM_VALUE 0 mtd 0
PARAM_VALUE 1 num 0-524287
RX_PATH
TASK_NOT_RUNNING

drivers/mtd/tests/subpagetest.c mtd_subpagetest_init() -> get_mtd_device()

Type Parameter Key Value
PARAM_VALUE 0 mtd 0
PARAM_VALUE 1 num 0-s32max
FUZZY_MAX 1 num 0

drivers/mtd/tests/stresstest.c mtd_stresstest_init() -> get_mtd_device()

Type Parameter Key Value
PARAM_VALUE 0 mtd 0
PARAM_VALUE 1 num 0-s32max
FUZZY_MAX 1 num 0

drivers/mtd/mtdsuper.c mtd_get_sb_by_nr() -> get_mtd_device()

Type Parameter Key Value
PARAM_VALUE 0 mtd 0
DATA_SOURCE 1 num $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex

drivers/mtd/tests/torturetest.c tort_init() -> get_mtd_device()

Type Parameter Key Value
PARAM_VALUE 0 mtd 0
PARAM_VALUE 1 num 0-s32max
FUZZY_MAX 1 num 0

drivers/mtd/ubi/cdev.c ctrl_cdev_ioctl() -> get_mtd_device()

Type Parameter Key Value
PARAM_VALUE 0 mtd 0
PARAM_VALUE 1 num 0-s32max
FUZZY_MAX 1 num 0
CAPABLE 0 24
USER_DATA 1 num 0-s32max

drivers/mtd/tests/nandbiterrs.c mtd_nandbiterrs_init() -> get_mtd_device()

Type Parameter Key Value
PARAM_VALUE 0 mtd 0

drivers/mtd/tests/speedtest.c mtd_speedtest_init() -> get_mtd_device()

Type Parameter Key Value
PARAM_VALUE 0 mtd 0
PARAM_VALUE 1 num 0-s32max
FUZZY_MAX 1 num 0

drivers/mtd/tests/pagetest.c mtd_pagetest_init() -> get_mtd_device()

Type Parameter Key Value
PARAM_VALUE 0 mtd 0
PARAM_VALUE 1 num 0-s32max
FUZZY_MAX 1 num 0

drivers/mtd/tests/oobtest.c mtd_oobtest_init() -> get_mtd_device()

Type Parameter Key Value
PARAM_VALUE 0 mtd 0
PARAM_VALUE 1 num 0-s32max
FUZZY_MAX 1 num 0

drivers/mtd/ubi/build.c open_mtd_by_chdev() -> get_mtd_device()

Type Parameter Key Value
PARAM_VALUE 0 mtd 0
PARAM_VALUE 1 num 0

drivers/mtd/ubi/build.c open_mtd_device() -> get_mtd_device()

Type Parameter Key Value
PARAM_VALUE 0 mtd 0
DATA_SOURCE 1 num r simple_strtoul
USER_DATA 1 num s32min-s32max