Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/ocfs2/extent_map.c ocfs2_last_eb_is_empty() -> ocfs2_is_empty_extent()

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

fs/ocfs2/alloc.c __ocfs2_rotate_tree_left() -> ocfs2_is_empty_extent()

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

fs/ocfs2/alloc.c ocfs2_append_rec_to_path() -> ocfs2_is_empty_extent()

Type Parameter Key Value
PARAM_VALUE 0 rec 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/alloc.c ocfs2_cleanup_merge() -> ocfs2_is_empty_extent()

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

fs/ocfs2/alloc.c ocfs2_commit_truncate() -> ocfs2_is_empty_extent()

Type Parameter Key Value
PARAM_VALUE 0 rec 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &(inode->i_sb)->s_fs_info->nfs_sync_rwlock

fs/ocfs2/alloc.c ocfs2_create_empty_extent() -> ocfs2_is_empty_extent()

Type Parameter Key Value
PARAM_VALUE 0 rec 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/alloc.c ocfs2_figure_appending_type() -> ocfs2_is_empty_extent()

Type Parameter Key Value
PARAM_VALUE 0 rec 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/alloc.c ocfs2_figure_merge_contig_type() -> ocfs2_is_empty_extent()

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

fs/ocfs2/alloc.c ocfs2_figure_merge_contig_type() -> ocfs2_is_empty_extent()

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

fs/ocfs2/alloc.c ocfs2_insert_at_leaf() -> ocfs2_is_empty_extent()

Type Parameter Key Value
PARAM_VALUE 0 rec 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/alloc.c ocfs2_leftmost_rec_contains() -> ocfs2_is_empty_extent()

Type Parameter Key Value
PARAM_VALUE 0 rec 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/alloc.c ocfs2_merge_rec_left() -> ocfs2_is_empty_extent()

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

fs/ocfs2/alloc.c ocfs2_merge_rec_right() -> ocfs2_is_empty_extent()

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

fs/ocfs2/alloc.c ocfs2_remove_empty_extent() -> ocfs2_is_empty_extent()

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

fs/ocfs2/alloc.c ocfs2_rotate_leaf() -> ocfs2_is_empty_extent()

Type Parameter Key Value
PARAM_VALUE 0 rec 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/alloc.c ocfs2_rotate_rightmost_leaf_left() -> ocfs2_is_empty_extent()

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

fs/ocfs2/alloc.c ocfs2_rotate_subtree_left() -> ocfs2_is_empty_extent()

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

fs/ocfs2/alloc.c ocfs2_rotate_subtree_left() -> ocfs2_is_empty_extent()

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

fs/ocfs2/alloc.c ocfs2_rotate_subtree_right() -> ocfs2_is_empty_extent()

Type Parameter Key Value
PARAM_VALUE 0 rec 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/alloc.c ocfs2_rotate_tree_left() -> ocfs2_is_empty_extent()

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

fs/ocfs2/alloc.c ocfs2_split_extent() -> ocfs2_is_empty_extent()

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

fs/ocfs2/alloc.c ocfs2_split_record() -> ocfs2_is_empty_extent()

Type Parameter Key Value
PARAM_VALUE 0 rec 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/alloc.c ocfs2_split_record() -> ocfs2_is_empty_extent()

Type Parameter Key Value
PARAM_VALUE 0 rec 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/alloc.c ocfs2_truncate_rec() -> ocfs2_is_empty_extent()

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

fs/ocfs2/alloc.c ocfs2_try_to_merge_extent() -> ocfs2_is_empty_extent()

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

fs/ocfs2/refcounttree.c ocfs2_refcount_cal_cow_clusters() -> ocfs2_is_empty_extent()

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