Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/mtd/mtdswap.c mtd_sync() -> (struct mtd_info)->_sync()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->_sync 1-u64max
PARAM_VALUE 0 mtd->parent 0
PARAM_VALUE 0 mtd->parent->parent 0
DATA_SOURCE 0 mtd r mtd_get_master
CONTAINER 0 -240+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->lock
HALF_LOCKED2 __tag_set->srcu
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct mtd_blktrans_dev)->lock

drivers/mtd/mtdblock.c mtd_sync() -> (struct mtd_info)->_sync()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->_sync 1-u64max
PARAM_VALUE 0 mtd->parent 0
PARAM_VALUE 0 mtd->parent->parent 0
DATA_SOURCE 0 mtd r mtd_get_master
CONTAINER 0 -240+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &mbd->lock
TYPE_LOCK (struct mtd_blktrans_dev)->lock

drivers/mtd/ubi/kapi.c mtd_sync() -> (struct mtd_info)->_sync()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->_sync 1-u64max
PARAM_VALUE 0 mtd->parent 0
PARAM_VALUE 0 mtd->parent->parent 0
DATA_SOURCE 0 mtd r mtd_get_master
CONTAINER 0 -240+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &inode->i_rwsem

drivers/mtd/rfd_ftl.c mtd_sync() -> (struct mtd_info)->_sync()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->_sync 1-u64max
PARAM_VALUE 0 mtd->parent 0
PARAM_VALUE 0 mtd->parent->parent 0
DATA_SOURCE 0 mtd r mtd_get_master
CONTAINER 0 -240+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock

drivers/mtd/mtdchar.c mtd_sync() -> (struct mtd_info)->_sync()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->_sync 1-u64max
PARAM_VALUE 0 mtd->parent 0
PARAM_VALUE 0 mtd->parent->parent 0
DATA_SOURCE 0 mtd r mtd_get_master
CONTAINER 0 -240+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/jffs2/super.c mtd_sync() -> (struct mtd_info)->_sync()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->_sync 1-u64max
PARAM_VALUE 0 mtd->parent 0
PARAM_VALUE 0 mtd->parent->parent 0
DATA_SOURCE 0 mtd r mtd_get_master
CONTAINER 0 -240+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &s->s_umount
HALF_LOCKED2 &sb->s_umount
HALF_LOCKED2 global &cifs_mount_mutex

drivers/mtd/ftl.c mtd_sync() -> (struct mtd_info)->_sync()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->_sync 1-u64max
PARAM_VALUE 0 mtd->parent 0
PARAM_VALUE 0 mtd->parent->parent 0
DATA_SOURCE 0 mtd r mtd_get_master
CONTAINER 0 -240+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->lock
HALF_LOCKED2 __tag_set->srcu
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct mtd_blktrans_dev)->lock

drivers/mtd/mtdconcat.c mtd_sync() -> (struct mtd_info)->_sync()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->_sync 1-u64max
PARAM_VALUE 0 mtd->parent 0
PARAM_VALUE 0 mtd->parent->parent 0
DATA_SOURCE 0 mtd r mtd_get_master
CONTAINER 0 -240+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock