Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/ocfs2/refcounttree.c ocfs2_attach_refcount_tree() -> ocfs2_dealloc_has_cluster()

Type Parameter Key Value
PARAM_VALUE 0 c 2697457476840628224
PARAM_VALUE 0 c->c_global_allocator 0
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/refcounttree.c ocfs2_create_reflink_node() -> ocfs2_dealloc_has_cluster()

Type Parameter Key Value
PARAM_VALUE 0 c 8489465141400678400
PARAM_VALUE 0 c->c_global_allocator 0
LOCK2 &inode->i_rwsem
LOCK2 &t_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/refcounttree.c ocfs2_reflink_remap_blocks() -> ocfs2_dealloc_has_cluster()

Type Parameter Key Value
PARAM_VALUE 0 c 519014171258097664
PARAM_VALUE 0 c->c_global_allocator 0
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/refcounttree.c ocfs2_replace_cow() -> ocfs2_dealloc_has_cluster()

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

fs/ocfs2/xattr.c ocfs2_reflink_xattrs() -> ocfs2_dealloc_has_cluster()

Type Parameter Key Value
PARAM_VALUE 0 c 7567657597295104000
PARAM_VALUE 0 c->c_global_allocator 0
LOCK2 &inode->i_rwsem
LOCK2 &new_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/xattr.c ocfs2_xattr_set() -> ocfs2_dealloc_has_cluster()

Type Parameter Key Value
PARAM_VALUE 0 c 7856686698109157400
MEM_ZERO 0 c
RX_PATH
TASK_NOT_RUNNING