Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

fs/ocfs2/quota_global.c ocfs2_read_quota_phys_block() -> ocfs2_read_blocks()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 2 nr 1
PARAM_VALUE 3 bhs 4455814220886364160,4517508130418868224,5191316791500632064,8725737573491433472
PARAM_VALUE 3 *bhs 0
PARAM_VALUE 4 flags 0
PARAM_VALUE 5 validate 5071491946665218048
DATA_SOURCE 1 block $1
DATA_SOURCE 3 bhs $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dquot->dq_lock

fs/ocfs2/inode.c ocfs2_filecheck_read_inode_block_full() -> ocfs2_read_blocks()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 2 nr 1
PARAM_VALUE 4 flags 1
PARAM_VALUE 5 validate 1698162462438461440
BUF_SIZE 3 bhs 8
DATA_SOURCE 4 flags $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 block unit_byte
HALF_LOCKED2 &(dir->i_sb)->s_fs_info->nfs_sync_rwlock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &osb->nfs_sync_rwlock

fs/ocfs2/inode.c ocfs2_filecheck_read_inode_block_full() -> ocfs2_read_blocks()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 2 nr 1
PARAM_VALUE 4 flags 1
PARAM_VALUE 5 validate 4264482725351059456
BUF_SIZE 3 bhs 8
DATA_SOURCE 4 flags $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 block unit_byte
HALF_LOCKED2 &(dir->i_sb)->s_fs_info->nfs_sync_rwlock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &osb->nfs_sync_rwlock

fs/ocfs2/inode.c ocfs2_read_inode_block_full() -> ocfs2_read_blocks()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 2 nr 1
PARAM_VALUE 4 flags 0-1
PARAM_VALUE 5 validate 3573971960869945344
BUF_SIZE 3 bhs 8
DATA_SOURCE 4 flags $2
HARD_MAX 4 flags 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 block unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/dir.c ocfs2_read_block() -> ocfs2_read_blocks()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 2 nr 1
PARAM_VALUE 3 bhs 2058668521650176000,2159147720951500800,6720791295423606784
PARAM_VALUE 3 *bhs 0
PARAM_VALUE 4 flags 0
PARAM_VALUE 5 validate 391358329443397632,7030971830522757120,8071777614574690304
DATA_SOURCE 0 ci $0
DATA_SOURCE 1 block $1
DATA_SOURCE 3 bhs $2
DATA_SOURCE 5 validate $3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 block unit_byte

fs/ocfs2/dir.c ocfs2_read_dx_leaves() -> ocfs2_read_blocks()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 3 bhs 16,4096-ptr_max
PARAM_VALUE 4 flags 0
PARAM_VALUE 5 validate 7030971830522757120
DATA_SOURCE 1 block $1
DATA_SOURCE 2 nr $2
DATA_SOURCE 3 bhs $3
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 2 nr
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem

fs/ocfs2/suballoc.c ocfs2_read_block() -> ocfs2_read_blocks()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 2 nr 1
PARAM_VALUE 3 bhs 5211334047298818048,5756467178359021568
PARAM_VALUE 3 *bhs 0
PARAM_VALUE 4 flags 0
PARAM_VALUE 5 validate 0,1058976975229001728
DATA_SOURCE 0 ci $0
DATA_SOURCE 1 block $1
DATA_SOURCE 3 bhs $2
DATA_SOURCE 5 validate $3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 block unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/extent_map.c ocfs2_read_virt_blocks() -> ocfs2_read_blocks()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 block 1-u64max
PARAM_VALUE 2 nr 0-1
PARAM_VALUE 4 flags 0,8
PARAM_VALUE 5 validate 391358329443397632,5071491946665218048
BUF_SIZE 3 bhs 8
CAPPED_DATA 2 nr 1
DATA_SOURCE 4 flags $4
DATA_SOURCE 5 validate $5
FUZZY_MAX 2 nr 1
HARD_MAX 4 flags 8
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/alloc.c ocfs2_read_block() -> ocfs2_read_blocks()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 2 nr 1
PARAM_VALUE 3 bhs 2030800185710821376
PARAM_VALUE 3 *bhs 0
PARAM_VALUE 4 flags 0
PARAM_VALUE 5 validate 4751632237771251712
BUF_SIZE 0 ci (-1)-0,48
BUF_SIZE 0 ci (-1)-0,48
DATA_SOURCE 0 ci $0
DATA_SOURCE 1 block $1
DATA_SOURCE 3 bhs $2
DATA_SOURCE 5 validate $3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 block unit_byte

fs/ocfs2/refcounttree.c ocfs2_read_block() -> ocfs2_read_blocks()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_cache_lock 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_cache_unlock 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_io_lock 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_io_unlock 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 2 nr 1
PARAM_VALUE 3 bhs 5042772603275169792,7316465889378213888
PARAM_VALUE 3 *bhs 0
PARAM_VALUE 4 flags 0
PARAM_VALUE 5 validate 0,2851502737377505280
BUF_SIZE 0 ci (-1)-0,48
BUF_SIZE 0 ci (-1)-0,48
DATA_SOURCE 0 ci $0
DATA_SOURCE 1 block $1
DATA_SOURCE 3 bhs $2
DATA_SOURCE 5 validate $3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 block unit_byte

fs/ocfs2/xattr.c ocfs2_read_block() -> ocfs2_read_blocks()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 2 nr 1
PARAM_VALUE 3 bhs 1772525152775442432,5733760378998726656,8129683331309989888
PARAM_VALUE 3 *bhs 0
PARAM_VALUE 4 flags 0
PARAM_VALUE 5 validate 0,4029705966851706880
DATA_SOURCE 0 ci $0
DATA_SOURCE 1 block $1
DATA_SOURCE 3 bhs $2
DATA_SOURCE 5 validate $3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/xattr.c ocfs2_read_xattr_bucket() -> ocfs2_read_blocks()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 4 flags 0
PARAM_VALUE 5 validate 0
BUF_SIZE 3 bhs 64
DATA_SOURCE 1 block $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 block unit_byte
UNITS 2 nr unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/slot_map.c ocfs2_map_slot_buffers() -> ocfs2_read_blocks()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 2 nr 1
PARAM_VALUE 4 flags 1
PARAM_VALUE 5 validate 8463777269322403840
BUF_SIZE 3 bhs 8
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex

fs/ocfs2/slot_map.c ocfs2_refresh_slot_info() -> ocfs2_read_blocks()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 block u64max
PARAM_VALUE 2 nr s32min-(-1),1-s32max
PARAM_VALUE 3 bhs 1-u64max
PARAM_VALUE 4 flags 1
PARAM_VALUE 5 validate 8463777269322403840
BUF_SIZE 3 bhs 8-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 2 nr unit_array_size