Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/f2fs/inode.c f2fs_pre_evict_inode() -> get_dirty_pages()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
CAPPED_DATA 0 inode->i_data.i_pages.xa_head 1
CAPPED_DATA 0 &inode->i_data 1
DATA_SOURCE 0 inode $0

fs/f2fs/checkpoint.c __remove_dirty_inode() -> get_dirty_pages()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
CAPPED_DATA 0 inode->i_sb 1
DATA_SOURCE 0 inode $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 inode->i_blkbits
NO_OVERFLOW_SIMPLE 0 inode->i_bytes
NO_OVERFLOW_SIMPLE 0 inode->i_data.host->i_bytes
NO_OVERFLOW_SIMPLE 0 inode->i_mapping->host->i_bytes
NO_OVERFLOW_SIMPLE 0 inode->i_size
HALF_LOCKED2 &sbi->gc_lock.internal_rwsem
HALF_LOCKED2 0 &inode->i_rwsem

fs/f2fs/data.c __f2fs_write_data_pages() -> get_dirty_pages()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 inode->i_bytes 0-65023[c]
NO_OVERFLOW_SIMPLE 0 inode->i_size
HALF_LOCKED2 &mapping->invalidate_lock

fs/f2fs/data.c __f2fs_write_data_pages() -> get_dirty_pages()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 inode->i_bytes 0-65023[c]
NO_OVERFLOW_SIMPLE 0 inode->i_size
HALF_LOCKED2 &mapping->invalidate_lock

fs/f2fs/data.c __f2fs_write_data_pages() -> get_dirty_pages()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 inode->i_bytes 0-65023[c]
NO_OVERFLOW_SIMPLE 0 inode->i_size
HALF_LOCKED2 &mapping->invalidate_lock

fs/f2fs/data.c __should_serialize_io() -> get_dirty_pages()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
DATA_SOURCE 0 inode $0
BIT_INFO 0 inode->i_flags 0x0,0xffffffdf
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 inode->i_bytes 0-65023[c]
NO_OVERFLOW_SIMPLE 0 inode->i_size
HALF_LOCKED2 &mapping->invalidate_lock

fs/f2fs/data.c f2fs_write_cache_pages() -> get_dirty_pages()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 inode->i_bytes 0-65023[c]
NO_OVERFLOW_SIMPLE 0 inode->i_size
HALF_LOCKED2 &mapping->invalidate_lock
HALF_LOCKED2 &sbi->writepages

fs/f2fs/file.c f2fs_do_sync_file() -> get_dirty_pages()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/f2fs/file.c f2fs_ioc_decompress_file() -> get_dirty_pages()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
LOCK2 0 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/f2fs/file.c f2fs_ioc_set_compress_option() -> get_dirty_pages()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
LOCK2 0 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/f2fs/file.c f2fs_ioc_start_atomic_write() -> get_dirty_pages()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
CAPPED_DATA 0 inode->i_sb->s_fs_info->s_ndevs 1
LOCK2 0 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/f2fs/file.c f2fs_ioc_start_atomic_write() -> get_dirty_pages()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
CAPPED_DATA 0 inode->i_sb->s_fs_info->s_ndevs 1
LOCK2 0 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/f2fs/file.c f2fs_ioc_start_atomic_write() -> get_dirty_pages()

Type Parameter Key Value
PARAM_VALUE 0 inode 1-u64max
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem