Defined in 1 files as a function:

Referenced in 13 files:

Smatch caller information:

fs/ocfs2/super.c ocfs2_initialize_super() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_blocksize_bits 9-73
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
DATA_SOURCE 0 sb $0
STR_LEN 0 sb (-1)
STR_LEN 0 sb (-1)
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 sb->s_flags 1024-2147487743[c]
UNITS 0 sb unit_byte
UNITS 1 clusters unit_byte
HALF_LOCKED2 &fc->uapi_mutex

fs/ocfs2/super.c ocfs2_journal_addressable() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
UNITS 1 clusters unit_byte
HALF_LOCKED2 &fc->uapi_mutex

fs/ocfs2/dir.c __ocfs2_dx_dir_new_cluster() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem

fs/ocfs2/dir.c ocfs2_add_dir_index_credits() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 1 clusters 1
DATA_SOURCE 0 sb $0

fs/ocfs2/dir.c ocfs2_calc_dxi_expand_credits() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 clusters 1
DATA_SOURCE 0 sb $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem

fs/ocfs2/dir.c ocfs2_dx_dir_kmalloc_leaves() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 1 clusters 1
DATA_SOURCE 0 sb $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem

fs/ocfs2/dir.c ocfs2_dx_dir_lookup() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 1 clusters 0-65534,u32max
CAPPED_DATA 0 sb 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte

fs/ocfs2/dir.c ocfs2_dx_dir_lookup() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
CAPPED_DATA 0 sb 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte

fs/ocfs2/dir.c ocfs2_dx_dir_rebalance_credits() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 clusters 3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem

fs/ocfs2/localalloc.c ocfs2_sync_local_to_main() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &local_alloc_inode->i_rwsem
HALF_LOCKED2 &main_bm_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/localalloc.c ocfs2_sync_local_to_main() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &local_alloc_inode->i_rwsem
HALF_LOCKED2 &main_bm_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/suballoc.c _ocfs2_free_clusters() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &bitmap_inode->i_rwsem

fs/ocfs2/suballoc.c ocfs2_block_group_alloc_contig() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
LOCK2 &alloc_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/suballoc.c ocfs2_block_group_alloc_discontig() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
LOCK2 &alloc_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/suballoc.c ocfs2_block_group_grow_discontig() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
LOCK2 &alloc_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/suballoc.c ocfs2_cluster_group_search() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
UNITS 1 clusters unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem

fs/ocfs2/suballoc.c ocfs2_which_cluster_group() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &osb->obs_trim_fs_mutex

fs/ocfs2/namei.c ocfs2_add_dir_index_credits() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 1 clusters 1
DATA_SOURCE 0 sb $0
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/namei.c ocfs2_calc_symlink_credits() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 clusters 1
DATA_SOURCE 0 sb $0

fs/ocfs2/extent_map.c ocfs2_extent_map_get_blocks() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 1 clusters 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 sb->s_flags 0-u64max[c]
UNITS 0 sb unit_byte
HALF_LOCKED2 &dquot->dq_lock

fs/ocfs2/extent_map.c ocfs2_extent_map_get_blocks() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 clusters 1-u32max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 sb->s_flags 0-u64max[c]
UNITS 0 sb unit_byte
HALF_LOCKED2 &dquot->dq_lock

fs/ocfs2/extent_map.c ocfs2_extent_map_get_blocks() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 sb->s_flags 0-u64max[c]
UNITS 0 sb unit_byte
HALF_LOCKED2 &dquot->dq_lock

fs/ocfs2/alloc.c ocfs2_add_clusters_in_btree() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte

fs/ocfs2/alloc.c ocfs2_add_clusters_in_btree() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte

fs/ocfs2/alloc.c ocfs2_block_extent_contig() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 1 clusters 0-u16max
DATA_SOURCE 0 sb $0
NOSPEC 1 clusters
NOSPEC 1 clusters
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 clusters 0-u16max[c]
UNITS 1 clusters unit_byte

fs/ocfs2/alloc.c ocfs2_change_extent_flag() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
DATA_SOURCE 0 sb r ocfs2_metadata_cache_get_super
DATA_SOURCE 1 clusters $4
RX_PATH
TASK_NOT_RUNNING
UNITS 1 clusters unit_byte

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

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 1 clusters 1-u32max
CAPPED_DATA 1 clusters 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
UNITS 1 clusters unit_byte
HALF_LOCKED2 &(inode->i_sb)->s_fs_info->nfs_sync_rwlock

fs/ocfs2/alloc.c ocfs2_complete_truncate_log_recovery() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
UNITS 0 sb unit_byte
LOCK2 &tl_inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/alloc.c ocfs2_convert_inline_data_to_extents() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &oi->ip_alloc_sem

fs/ocfs2/alloc.c ocfs2_convert_inline_data_to_extents() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &oi->ip_alloc_sem

fs/ocfs2/alloc.c ocfs2_make_right_split_rec() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
DATA_SOURCE 0 sb $0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 clusters unit_byte
HALF_LOCKED2 &tl_inode->i_rwsem

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

Type Parameter Key Value
PARAM_VALUE 1 clusters 0-u16max
NOSPEC 1 clusters
NOSPEC 1 clusters
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 clusters 0-u16max[c]
UNITS 1 clusters unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &tl_inode->i_rwsem

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

Type Parameter Key Value
PARAM_VALUE 1 clusters 0
NOSPEC 1 clusters
NOSPEC 1 clusters
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 clusters 0[c]
UNITS 1 clusters unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &tl_inode->i_rwsem

fs/ocfs2/alloc.c ocfs2_remove_btree_range() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
CAPPED_DATA 0 sb 1
DATA_SOURCE 1 clusters $3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &(inode->i_sb)->s_fs_info->nfs_sync_rwlock

fs/ocfs2/alloc.c ocfs2_replay_truncate_records() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
LOCK2 &data_alloc_inode->i_rwsem
LOCK2 &tl_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &osb->journal->j_trans_barrier
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/alloc.c ocfs2_subtract_from_rec() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 1 clusters 0-u16max
DATA_SOURCE 0 sb $0
NOSPEC 1 clusters
NOSPEC 1 clusters
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 clusters 0-u16max[c]
UNITS 1 clusters unit_byte

fs/ocfs2/alloc.c ocfs2_trim_extent() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 clusters 0-64,4294967232-u32max
CAPPED_DATA 1 clusters 1
DATA_SOURCE 0 sb $0
DATA_SOURCE 1 clusters $4
CAPABLE 0 21
UNITS 0 sb unit_byte
UNITS 1 clusters unit_byte
LOCK2 &main_bm_inode->i_rwsem
LOCK2 &osb->obs_trim_fs_mutex
TYPE_LOCK (struct inode)->i_rwsem
TYPE_LOCK (struct ocfs2_super)->obs_trim_fs_mutex

fs/ocfs2/alloc.c ocfs2_trim_extent() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 clusters 0-64
CAPPED_DATA 1 clusters 1
DATA_SOURCE 0 sb $0
DATA_SOURCE 1 clusters $3
CAPABLE 0 21
NOSPEC 1 clusters
NOSPEC 1 clusters
USER_DATA 1 clusters 0-64[c]
UNITS 0 sb unit_byte
UNITS 1 clusters unit_byte
LOCK2 &main_bm_inode->i_rwsem
LOCK2 &osb->obs_trim_fs_mutex
TYPE_LOCK (struct inode)->i_rwsem
TYPE_LOCK (struct ocfs2_super)->obs_trim_fs_mutex

fs/ocfs2/alloc.c ocfs2_trim_mainbm() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 clusters 1-u32max
CAPPED_DATA 1 clusters 1
DATA_SOURCE 0 sb $0
CAPABLE 0 21
UNITS 0 sb unit_byte
UNITS 1 clusters unit_byte
LOCK2 &main_bm_inode->i_rwsem
LOCK2 &osb->obs_trim_fs_mutex
TYPE_LOCK (struct inode)->i_rwsem
TYPE_LOCK (struct ocfs2_super)->obs_trim_fs_mutex

fs/ocfs2/alloc.c ocfs2_trim_mainbm() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 clusters 1-u32max
CAPPED_DATA 1 clusters 1
DATA_SOURCE 0 sb $0
CAPABLE 0 21
UNITS 0 sb unit_byte
UNITS 1 clusters unit_byte
LOCK2 &main_bm_inode->i_rwsem
LOCK2 &osb->obs_trim_fs_mutex
TYPE_LOCK (struct inode)->i_rwsem
TYPE_LOCK (struct ocfs2_super)->obs_trim_fs_mutex

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

Type Parameter Key Value
DATA_SOURCE 0 sb r ocfs2_metadata_cache_get_super
DATA_SOURCE 1 clusters $6
NOSPEC 1 clusters
NOSPEC 1 clusters
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 clusters 1-s32max[c]
UNITS 1 clusters unit_byte
HALF_LOCKED2 &tl_inode->i_rwsem

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

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 1 clusters 1-u32max
DATA_SOURCE 1 clusters $4
UNITS 0 sb 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/move_extents.c __ocfs2_move_extent() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
DATA_SOURCE 1 clusters $5
USER_DATA 1 clusters 1-u32max[c][u]
UNITS 0 sb 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/move_extents.c ocfs2_defrag_extent() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 1 clusters 1-u32max
DATA_SOURCE 1 clusters $2
UNITS 0 sb unit_byte
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/move_extents.c ocfs2_defrag_extent() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
UNITS 0 sb unit_byte
LOCK2 &inode->i_rwsem
LOCK2 &tl_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/move_extents.c ocfs2_move_extent() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 clusters 1-u32max
DATA_SOURCE 1 clusters $2
UNITS 0 sb unit_byte
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/move_extents.c ocfs2_move_extent() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
USER_DATA 1 clusters 0-u32max
UNITS 0 sb unit_byte
LOCK2 &gb_inode->i_rwsem
LOCK2 &inode->i_rwsem
LOCK2 &tl_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/file.c ocfs2_calc_trunc_pos() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 1 clusters 1-u32max
CAPPED_DATA 1 clusters 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 clusters 1-u32max[c]
UNITS 0 sb unit_byte
UNITS 1 clusters unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/file.c ocfs2_zeroout_partial_cluster() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
DATA_SOURCE 1 clusters r ocfs2_bytes_to_clusters
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 clusters 0-u32max[c]
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/file.c ocfs2_zeroout_partial_cluster() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 clusters 1-u32max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/uptodate.c ocfs2_remove_xattr_clusters_from_cache() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 1 clusters 1
DATA_SOURCE 0 sb r ocfs2_metadata_cache_get_super
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &(inode->i_sb)->s_fs_info->nfs_sync_rwlock

fs/ocfs2/aops.c ocfs2_dio_wr_get_block() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
CAPPED_DATA 0 sb 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
LOCK2 &oi->ip_alloc_sem
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ocfs2_inode_info)->ip_alloc_sem

fs/ocfs2/aops.c ocfs2_dio_wr_get_block() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 clusters 1
CAPPED_DATA 0 sb 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
LOCK2 &oi->ip_alloc_sem
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ocfs2_inode_info)->ip_alloc_sem

fs/ocfs2/aops.c ocfs2_symlink_get_block() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
UNITS 1 clusters unit_byte
HALF_LOCKED2 &oi->ip_alloc_sem

fs/ocfs2/aops.c ocfs2_write_cluster() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 1 clusters 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &oi->ip_alloc_sem

fs/ocfs2/aops.c ocfs2_write_cluster() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 clusters 1-u32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &oi->ip_alloc_sem

fs/ocfs2/refcounttree.c __ocfs2_decrease_refcount() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
DATA_SOURCE 0 sb r ocfs2_metadata_cache_get_super
DATA_SOURCE 1 clusters $3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 clusters unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/refcounttree.c ocfs2_add_refcounted_extent() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 1 clusters 1-u32max
DATA_SOURCE 1 clusters $5
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/refcounttree.c ocfs2_clear_ext_refcount() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
DATA_SOURCE 0 sb r ocfs2_metadata_cache_get_super
DATA_SOURCE 1 clusters $3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 clusters unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/refcounttree.c ocfs2_duplicate_clusters_by_jbd() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
DATA_SOURCE 1 clusters $5
STR_LEN 0 sb (-1),8
STR_LEN 0 sb (-1),8
NOSPEC 1 clusters
NOSPEC 1 clusters
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 clusters 1-4294967294[c]
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/refcounttree.c ocfs2_duplicate_clusters_by_jbd() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
DATA_SOURCE 1 clusters $3
STR_LEN 0 sb (-1),8
STR_LEN 0 sb (-1),8
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/refcounttree.c ocfs2_duplicate_clusters_by_jbd() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
DATA_SOURCE 1 clusters $4
STR_LEN 0 sb (-1),8
STR_LEN 0 sb (-1),8
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/refcounttree.c ocfs2_duplicate_clusters_by_page() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
DATA_SOURCE 1 clusters $4
STR_LEN 0 sb (-1),8
STR_LEN 0 sb (-1),8
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 clusters 1-u32max[c][u]
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &tl_inode->i_rwsem

fs/ocfs2/refcounttree.c ocfs2_refcount_cow_xattr() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 clusters 1
BUF_SIZE 0 sb (-1),2816
BUF_SIZE 0 sb (-1),2816
STR_LEN 0 sb (-1),8
STR_LEN 0 sb (-1),8
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 sb->s_flags 0-2147552256[c]
NO_OVERFLOW_SIMPLE 0 sb->s_blocksize
NO_OVERFLOW_SIMPLE 0 sb->s_blocksize_bits
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/xattr.c __ocfs2_remove_xattr_range() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
DATA_SOURCE 1 clusters $3
STR_LEN 0 sb (-1)
STR_LEN 0 sb (-1)
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &(inode->i_sb)->s_fs_info->nfs_sync_rwlock

fs/ocfs2/xattr.c __ocfs2_xattr_set_value_outside() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 1 clusters 1
STR_LEN 0 sb (-1)
STR_LEN 0 sb (-1)
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &oi->ip_alloc_sem

fs/ocfs2/xattr.c __ocfs2_xattr_set_value_outside() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
STR_LEN 0 sb (-1)
STR_LEN 0 sb (-1)
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &oi->ip_alloc_sem

fs/ocfs2/xattr.c ocfs2_add_new_xattr_cluster() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 1 clusters 1
BUF_SIZE 0 sb (-1),80,2816
BUF_SIZE 0 sb (-1),80,2816
STR_LEN 0 sb (-1),8
STR_LEN 0 sb (-1),8
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 sb->s_flags 0-310477010[c]
NO_OVERFLOW_SIMPLE 0 sb->s_blocksize
NO_OVERFLOW_SIMPLE 0 sb->s_blocksize_bits
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/xattr.c ocfs2_add_new_xattr_cluster() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/xattr.c ocfs2_adjust_xattr_cross_cluster() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 clusters 1
BUF_SIZE 0 sb (-1),80,2816
BUF_SIZE 0 sb (-1),80,2816
STR_LEN 0 sb (-1),8
STR_LEN 0 sb (-1),8
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 sb->s_flags 1-310477010[c]
NO_OVERFLOW_SIMPLE 0 sb->s_blocksize
NO_OVERFLOW_SIMPLE 0 sb->s_blocksize_bits
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/xattr.c ocfs2_calc_security_init() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
DATA_SOURCE 1 clusters r ocfs2_clusters_for_bytes
UNITS 0 sb unit_byte

fs/ocfs2/xattr.c ocfs2_calc_xattr_init() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
DATA_SOURCE 1 clusters r ocfs2_clusters_for_bytes
UNITS 0 sb unit_byte

fs/ocfs2/xattr.c ocfs2_calc_xattr_init() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
DATA_SOURCE 1 clusters r ocfs2_clusters_for_bytes
UNITS 0 sb unit_byte

fs/ocfs2/xattr.c ocfs2_calc_xattr_init() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
DATA_SOURCE 1 clusters r ocfs2_clusters_for_bytes
UNITS 0 sb unit_byte

fs/ocfs2/xattr.c ocfs2_calc_xattr_set_need() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 clusters 1
BUF_SIZE 0 sb (-1),2816
BUF_SIZE 0 sb (-1),2816
STR_LEN 0 sb (-1),8
STR_LEN 0 sb (-1),8
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 sb->s_flags 0-2147552256[c]
NO_OVERFLOW_SIMPLE 0 sb->s_blocksize
NO_OVERFLOW_SIMPLE 0 sb->s_blocksize_bits
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/xattr.c ocfs2_mv_xattr_bucket_cross_cluster() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 clusters 1
BUF_SIZE 0 sb (-1),80,2816
BUF_SIZE 0 sb (-1),80,2816
STR_LEN 0 sb (-1),8
STR_LEN 0 sb (-1),8
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 sb->s_flags 1-42044642[c]
NO_OVERFLOW_SIMPLE 0 sb->s_blocksize
NO_OVERFLOW_SIMPLE 0 sb->s_blocksize_bits
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/xattr.c ocfs2_reflink_xattr_buckets() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &(inode->i_sb)->s_fs_info->nfs_sync_rwlock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &new_inode->i_rwsem
HALF_LOCKED2 &oi->ip_xattr_sem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem

fs/ocfs2/xattr.c ocfs2_reflink_xattr_buckets() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &(inode->i_sb)->s_fs_info->nfs_sync_rwlock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &new_inode->i_rwsem
HALF_LOCKED2 &oi->ip_xattr_sem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem

fs/ocfs2/xattr.c ocfs2_reflink_xattr_header() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 1 clusters 1-u32max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &new_inode->i_rwsem

fs/ocfs2/xattr.c ocfs2_xattr_create_index_block() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
STR_LEN 0 sb (-1)
STR_LEN 0 sb (-1)
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 sb->s_flags 0-u64max[c]
NO_OVERFLOW_SIMPLE 0 sb->s_blocksize
NO_OVERFLOW_SIMPLE 0 sb->s_blocksize_bits
UNITS 0 sb unit_byte
LOCK2 &oi->ip_alloc_sem
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct ocfs2_inode_info)->ip_alloc_sem

fs/ocfs2/xattr.c ocfs2_xattr_get_value_outside() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 1 clusters 1
CAPPED_DATA 0 sb 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sb->s_blocksize
NO_OVERFLOW_SIMPLE 0 sb->s_blocksize_bits
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/xattr.c ocfs2_xattr_get_value_outside() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
CAPPED_DATA 0 sb 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sb->s_blocksize
NO_OVERFLOW_SIMPLE 0 sb->s_blocksize_bits
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/xattr.c ocfs2_xattr_shrink_size() -> ocfs2_clusters_to_blocks()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
STR_LEN 0 sb (-1)
STR_LEN 0 sb (-1)
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &(inode->i_sb)->s_fs_info->nfs_sync_rwlock