Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/jffs2/erase.c jffs2_block_check_erase() -> mtd_point()

Type Parameter Key Value
PARAM_VALUE 3 retlen 8986069509766238208
PARAM_VALUE 4 virt 677264165683085312
PARAM_VALUE 5 phys 0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 from unit_byte
UNITS 2 len unit_byte
HALF_LOCKED2 &c->alloc_sem
HALF_LOCKED2 &c->wbuf_sem
HALF_LOCKED2 &c->xattr_sem

fs/cramfs/inode.c cramfs_mtd_fill_super() -> mtd_point()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 1 from 0
PARAM_VALUE 2 len 4096
PARAM_VALUE 3 retlen 4096-ptr_max
PARAM_VALUE 4 virt 4096-ptr_max
PARAM_VALUE 5 phys 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 2 len unit_byte
HALF_LOCKED2 &fc->uapi_mutex

fs/cramfs/inode.c cramfs_mtd_fill_super() -> mtd_point()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 1 from 0
PARAM_VALUE 3 retlen 4096-ptr_max
PARAM_VALUE 3 *retlen 4096
PARAM_VALUE 4 virt 4096-ptr_max
PARAM_VALUE 5 phys 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 2 len unit_byte
HALF_LOCKED2 &fc->uapi_mutex

drivers/mtd/mtdcore.c mtd_get_unmapped_area() -> mtd_point()

Type Parameter Key Value
PARAM_VALUE 3 retlen 2715058256267841536
PARAM_VALUE 4 virt 6949253382903754752
PARAM_VALUE 5 phys 0
DATA_SOURCE 0 mtd $0
DATA_SOURCE 1 from $2
DATA_SOURCE 2 len $1

fs/jffs2/readinode.c check_node_data() -> mtd_point()

Type Parameter Key Value
PARAM_VALUE 2 len 1-u32max
PARAM_VALUE 3 retlen 4609343396288229376
PARAM_VALUE 4 virt 7012306640867565568
PARAM_VALUE 5 phys 0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 from unit_byte
UNITS 2 len unit_byte
LOCK2 &f->sem
HALF_LOCKED2 &c->alloc_sem
HALF_LOCKED2 &c->wbuf_sem
TYPE_LOCK (struct jffs2_inode_info)->sem

fs/jffs2/scan.c jffs2_scan_medium() -> mtd_point()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->type 0-7,9-255
PARAM_VALUE 1 from 0
PARAM_VALUE 3 retlen 1242770398401155072
PARAM_VALUE 4 virt 536113101355556864
PARAM_VALUE 4 *virt 0
PARAM_VALUE 4 *(*virt) 0
PARAM_VALUE 5 phys 0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 len unit_byte
HALF_LOCKED2 &fc->uapi_mutex