Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/ocfs2/move_extents.c __ocfs2_move_extent() -> ocfs2_duplicate_clusters_by_page()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 1 inode 4096-ptr_max
PARAM_VALUE 1 inode->i_rwsem.osq.tail.counter 0-s32max
PARAM_VALUE 1 inode->i_sb 4096-ptr_max
PARAM_VALUE 1 inode->i_sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 inode->i_size s64min-(-1),1-s64max
PARAM_VALUE 3 old_cluster 1-u32max
BUF_SIZE 0 handle (-1),1-s32max
BUF_SIZE 0 handle (-1),1-s32max
DATA_SOURCE 0 handle $0
DATA_SOURCE 2 cpos $2
DATA_SOURCE 3 old_cluster $4
DATA_SOURCE 4 new_cluster $5
DATA_SOURCE 5 new_len $3
NOSPEC 5 new_len
NOSPEC 5 new_len
USER_DATA 2 cpos 0-u32max[c]
USER_DATA 4 new_cluster 1-u32max[c][u]
USER_DATA 5 new_len 1-4294967294[c]
UNITS 2 cpos unit_byte
UNITS 5 new_len unit_byte
LOCK2 &inode->i_rwsem
LOCK2 &tl_inode->i_rwsem
HALF_LOCKED2 &gb_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/refcounttree.c ocfs2_replace_clusters() -> (struct ocfs2_cow_context)->cow_duplicate_clusters()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 1 inode 4096-ptr_max
PARAM_VALUE 1 inode->i_sb 4096-ptr_max
BUF_SIZE 0 handle (-1),1-s32max
BUF_SIZE 0 handle (-1),1-s32max
BUF_SIZE 1 inode (-1),1-s32max
BUF_SIZE 1 inode (-1),1-s32max
CAPPED_DATA 0 handle 1
DATA_SOURCE 0 handle $0
DATA_SOURCE 2 cpos $2
DATA_SOURCE 3 old_cluster $3
DATA_SOURCE 4 new_cluster $4
DATA_SOURCE 5 new_len $5
STR_LEN 0 handle (-1)-0
STR_LEN 1 inode (-1)-0
STR_LEN 1 inode->i_sb (-1),8
CONTAINER 1 *(-160+0) $(-1)
NOSPEC 1 inode->i_size
NOSPEC 5 new_len
NOSPEC 5 new_len
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 inode->__i_nlink 1-u32max
USER_DATA 1 inode->i_bytes 0-65023[c]
USER_DATA 1 inode->i_mode 0-u16max
USER_DATA 1 inode->i_size (-9223372036854775807)-(-4),0-s64max
USER_DATA 5 new_len 1-4294967294[c]
NO_OVERFLOW_SIMPLE 1 inode->i_blkbits
NO_OVERFLOW_SIMPLE 1 inode->i_ino
HALF_LOCKED2 &inode->i_rwsem