Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/f2fs/data.c f2fs_get_read_data_folio() -> f2fs_get_next_page_offset()

Type Parameter Key Value
PARAM_VALUE 0 dn 4662214734465437696
PARAM_VALUE 0 dn->cur_level 0-3
PARAM_VALUE 0 dn->inode 4096-ptr_max
PARAM_VALUE 0 dn->max_level 0-3
CAPPED_DATA 1 pgofs 1
CAPPED_DATA 1 pgofs 1
DATA_SOURCE 1 pgofs $1
NOSPEC 1 pgofs
MEM_ZERO 0 dn
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 pgofs 0-4503599627370495[c]
HALF_LOCKED2 &inode->i_rwsem

fs/f2fs/data.c f2fs_map_no_dnode() -> f2fs_get_next_page_offset()

Type Parameter Key Value
DATA_SOURCE 0 dn $2
DATA_SOURCE 1 pgofs $3

fs/f2fs/data.c f2fs_map_no_dnode() -> f2fs_get_next_page_offset()

Type Parameter Key Value
DATA_SOURCE 0 dn $2
DATA_SOURCE 1 pgofs $3

fs/f2fs/file.c f2fs_release_compress_blocks() -> f2fs_get_next_page_offset()

Type Parameter Key Value
PARAM_VALUE 0 dn 4157468947738861568
PARAM_VALUE 0 dn->cur_level 0-3
PARAM_VALUE 0 dn->inode 4096-ptr_max
PARAM_VALUE 0 dn->max_level 0-3
PARAM_VALUE 1 pgofs 0-18446744073709551614
CAPPED_DATA 1 pgofs 1
CAPPED_DATA 1 pgofs 1
MEM_ZERO 0 dn
LOCK2 &inode->i_mapping->invalidate_lock
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct address_space)->invalidate_lock
TYPE_LOCK (struct inode)->i_rwsem

fs/f2fs/file.c f2fs_reserve_compress_blocks() -> f2fs_get_next_page_offset()

Type Parameter Key Value
PARAM_VALUE 0 dn 6881996813744070656
PARAM_VALUE 0 dn->cur_level 0-3
PARAM_VALUE 0 dn->inode 4096-ptr_max
PARAM_VALUE 0 dn->max_level 0-3
PARAM_VALUE 1 pgofs 0-18446744073709551614
CAPPED_DATA 1 pgofs 1
CAPPED_DATA 1 pgofs 1
MEM_ZERO 0 dn
LOCK2 &inode->i_mapping->invalidate_lock
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct address_space)->invalidate_lock
TYPE_LOCK (struct inode)->i_rwsem

fs/f2fs/file.c f2fs_sec_trim_file() -> f2fs_get_next_page_offset()

Type Parameter Key Value
PARAM_VALUE 0 dn 1790703837172531200
PARAM_VALUE 0 dn->cur_level 0-3
PARAM_VALUE 0 dn->inode 4096-ptr_max
PARAM_VALUE 0 dn->max_level 0-3
PARAM_VALUE 1 pgofs 0-18446744073709551614
CAPPED_DATA 1 pgofs 1
CAPPED_DATA 1 pgofs 1
MEM_ZERO 0 dn
USER_DATA 1 pgofs 0-s32max[c]
LOCK2 &inode->i_rwsem
LOCK2 &mapping->invalidate_lock
TYPE_LOCK (struct address_space)->invalidate_lock
TYPE_LOCK (struct inode)->i_rwsem

fs/f2fs/file.c f2fs_seek_block() -> f2fs_get_next_page_offset()

Type Parameter Key Value
PARAM_VALUE 0 dn 6800923120338161664
PARAM_VALUE 0 dn->cur_level 0-3
PARAM_VALUE 0 dn->inode 4096-ptr_max
PARAM_VALUE 0 dn->max_level 0-3
CAPPED_DATA 1 pgofs 1
CAPPED_DATA 1 pgofs 1
MEM_ZERO 0 dn
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 pgofs 0-4503599627370504[c]
UNITS 1 pgofs unit_page
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/f2fs/file.c f2fs_truncate_hole() -> f2fs_get_next_page_offset()

Type Parameter Key Value
PARAM_VALUE 0 dn 4461753725800804352
PARAM_VALUE 0 dn->cur_level 0-3
PARAM_VALUE 0 dn->inode 4096-ptr_max
PARAM_VALUE 0 dn->max_level 0-3
PARAM_VALUE 1 pgofs 0-18446744073709551614
CAPPED_DATA 1 pgofs 1
CAPPED_DATA 1 pgofs 1
DATA_SOURCE 1 pgofs $1 [m]
NOSPEC 1 pgofs
MEM_ZERO 0 dn
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 pgofs 0-4503599627370504[c]
UNITS 1 pgofs unit_page
HALF_LOCKED2 &inode->i_mapping->invalidate_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &sbi->cp_rwsem.internal_rwsem
TYPE_LOCK (struct f2fs_rwsem)->internal_rwsem