Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/overlayfs/params.c ovl_reconfigure() -> ovl_should_sync()

Type Parameter Key Value
PARAM_VALUE 0 ofs 4096-ptr_max
BUF_SIZE 0 ofs 1-s32max
BUF_SIZE 0 ofs 1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ofs unit_byte
HALF_LOCKED2 &fc->uapi_mutex
HALF_LOCKED2 &sb->s_umount

fs/overlayfs/copy_up.c ovl_copy_up_file() -> ovl_should_sync()

Type Parameter Key Value
PARAM_VALUE 0 ofs 4096-ptr_max
BUF_SIZE 0 ofs 1-s32max
BUF_SIZE 0 ofs 1-s32max
DATA_SOURCE 0 ofs $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ofs unit_byte
HALF_LOCKED2 &dentry->d_lockref.lock

fs/overlayfs/copy_up.c ovl_copy_up_metadata() -> ovl_should_sync()

Type Parameter Key Value
PARAM_VALUE 0 ofs 4096-ptr_max
BUF_SIZE 0 ofs 1-s32max
BUF_SIZE 0 ofs 1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ofs unit_byte
HALF_LOCKED2 &dentry->d_lockref.lock

fs/overlayfs/file.c ovl_write_iter() -> ovl_should_sync()

Type Parameter Key Value
BUF_SIZE 0 ofs 1-s32max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/overlayfs/util.c ovl_sync_status() -> ovl_should_sync()

Type Parameter Key Value
BUF_SIZE 0 ofs (-1),1-s32max
BUF_SIZE 0 ofs (-1),1-s32max
DATA_SOURCE 0 ofs $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ofs unit_byte

fs/overlayfs/super.c ovl_fill_super_creds() -> ovl_should_sync()

Type Parameter Key Value
PARAM_VALUE 0 ofs 4096-ptr_max
PARAM_VALUE 0 ofs->config.fsync_mode 1
BUF_SIZE 0 ofs 1-s32max
BUF_SIZE 0 ofs 1-s32max
BUF_SIZE 0 ofs->config.lowerdirs 8
BUF_SIZE 0 ofs->layers 0-u64max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ofs unit_byte
HALF_LOCKED2 &fc->uapi_mutex
HALF_LOCKED2 &sb->s_umount