Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

fs/ocfs2/inode.c ocfs2_read_locked_inode() -> ocfs2_read_blocks_sync()

Type Parameter Key Value
PARAM_VALUE 1 block 1-u64max
PARAM_VALUE 2 nr 1
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 3 bhs 8
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 block 1-u64max[c]
UNITS 0 osb unit_byte
UNITS 1 block unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &of->mutex

fs/ocfs2/suballoc.c ocfs2_get_suballoc_slot_bit() -> ocfs2_read_blocks_sync()

Type Parameter Key Value
PARAM_VALUE 0 osb 4096-ptr_max
PARAM_VALUE 0 osb->nfs_sync_rwlock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 osb->nfs_sync_rwlock.first_waiter->type 0-1
PARAM_VALUE 0 osb->osb_nfs_sync_lockres.l_ops->flags 0-1,3
PARAM_VALUE 2 nr 1
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 3 bhs 8
DATA_SOURCE 0 osb $0
DATA_SOURCE 1 block $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 block 1-u64max[c]
UNITS 0 osb unit_byte
HALF_LOCKED2 0 &osb->nfs_sync_rwlock

fs/ocfs2/resize.c ocfs2_group_add() -> ocfs2_read_blocks_sync()

Type Parameter Key Value
PARAM_VALUE 0 osb 4096-ptr_max
PARAM_VALUE 0 osb->local_system_inodes 1-u64max
PARAM_VALUE 0 osb->osb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 osb->sb 4096-ptr_max
PARAM_VALUE 0 osb->sys_root_inode->i_op->readlink 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256
PARAM_VALUE 2 nr 1
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 3 bhs 8
CAPABLE 0 24
USER_DATA 1 block 0-u64max
UNITS 0 osb unit_byte
LOCK2 &main_bm_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/resize.c ocfs2_update_super_and_backups() -> ocfs2_read_blocks_sync()

Type Parameter Key Value
PARAM_VALUE 1 block 2
PARAM_VALUE 2 nr 1
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 3 bhs 8
CAPABLE 0 24
UNITS 0 osb unit_byte
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/resize.c update_backups() -> ocfs2_read_blocks_sync()

Type Parameter Key Value
PARAM_VALUE 2 nr 1
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 3 bhs 8
DATA_SOURCE 1 block r ocfs2_backup_super_blkno
CAPABLE 0 24
UNITS 0 osb unit_byte
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/journal.c ocfs2_force_read_journal() -> ocfs2_read_blocks_sync()

Type Parameter Key Value
PARAM_VALUE 0 osb 4096-ptr_max
PARAM_VALUE 0 osb->sb 4096-ptr_max
PARAM_VALUE 2 nr 1
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 3 bhs 8
UNITS 0 osb unit_byte

fs/ocfs2/move_extents.c ocfs2_find_victim_alloc_group() -> ocfs2_read_blocks_sync()

Type Parameter Key Value
PARAM_VALUE 0 osb 4096-ptr_max
PARAM_VALUE 0 osb->sys_root_inode->i_fop->compat_ioctl 0,695240133377245184,3064490898378256384,8277073810606530560
PARAM_VALUE 0 osb->sys_root_inode->i_fop->fallocate 0,1357960504741019648,5451898604316704768,7294833795076796416
PARAM_VALUE 0 osb->sys_root_inode->i_fop->fasync 0,5498812003250176
PARAM_VALUE 0 osb->sys_root_inode->i_fop->flock 0,5107323284942163968
PARAM_VALUE 0 osb->sys_root_inode->i_fop->fop_flags 0-1,3,64
PARAM_VALUE 0 osb->sys_root_inode->i_fop->fsync 0,1222922547194068992,3027818812235636736,8217954597197033472
PARAM_VALUE 0 osb->sys_root_inode->i_fop->get_unmapped_area 0,124971230114684928
PARAM_VALUE 0 osb->sys_root_inode->i_fop->iopoll 0,4655420991112224768
PARAM_VALUE 0 osb->sys_root_inode->i_fop->iterate_shared 0,6386994525150380032,8243451648225181696
PARAM_VALUE 0 osb->sys_root_inode->i_fop->llseek 0,492277767372734464,822347878553698304,5746216189559357440,6546627043791368192,8118194047052775424,8973132240956821504
PARAM_VALUE 0 osb->sys_root_inode->i_fop->lock 0,957067876168839168
PARAM_VALUE 0 osb->sys_root_inode->i_fop->mmap_prepare 0,6570010784732049408,6885435863193137152,8278006848728551424
PARAM_VALUE 0 osb->sys_root_inode->i_fop->open 4096-ptr_max
PARAM_VALUE 0 osb->sys_root_inode->i_fop->poll 0,3382901614843973632
PARAM_VALUE 0 osb->sys_root_inode->i_fop->read 0,1706536041323986944
PARAM_VALUE 0 osb->sys_root_inode->i_fop->read_iter 0,1361316500034015232,2240186942504972288,4899218341707628544,8127867626404999168
PARAM_VALUE 0 osb->sys_root_inode->i_fop->release 0,2353999083462864896,3782443451574296576,5408471863795695616,6016719737812197376,8602616464973426688
PARAM_VALUE 0 osb->sys_root_inode->i_fop->remap_file_range 0,1796676283846889472,8958472544276660224
PARAM_VALUE 0 osb->sys_root_inode->i_fop->setlease 0,8029451603284156416
PARAM_VALUE 0 osb->sys_root_inode->i_fop->splice_read 0,1218082698985836544,7349024233072300032,8186755288665538560
PARAM_VALUE 0 osb->sys_root_inode->i_fop->splice_write 0,3145220535271485440
PARAM_VALUE 0 osb->sys_root_inode->i_fop->unlocked_ioctl 0,865619370521538560,1267359996887056384,5007980196533522432,6849614532843819008
PARAM_VALUE 0 osb->sys_root_inode->i_fop->uring_cmd 0,1098803881749745664,5186034168622989312
PARAM_VALUE 0 osb->sys_root_inode->i_fop->write_iter 0,2598072610032832512,5042835639063556096,7989474787723927552,8526717696347947008
PARAM_VALUE 0 osb->sys_root_inode->i_op->readlink 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256
PARAM_VALUE 2 nr 1
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 3 bhs 8
UNITS 0 osb unit_byte
HALF_LOCKED2 &gb_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &tl_inode->i_rwsem

fs/ocfs2/move_extents.c ocfs2_find_victim_alloc_group() -> ocfs2_read_blocks_sync()

Type Parameter Key Value
PARAM_VALUE 0 osb 4096-ptr_max
PARAM_VALUE 0 osb->sb->s_bdev->bd_mapping->i_private_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 osb->sys_root_inode->i_fop->compat_ioctl 0,695240133377245184,3064490898378256384,8277073810606530560
PARAM_VALUE 0 osb->sys_root_inode->i_fop->fallocate 0,1357960504741019648,5451898604316704768,7294833795076796416
PARAM_VALUE 0 osb->sys_root_inode->i_fop->fasync 0,5498812003250176
PARAM_VALUE 0 osb->sys_root_inode->i_fop->flock 0,5107323284942163968
PARAM_VALUE 0 osb->sys_root_inode->i_fop->fop_flags 0-1,3,64
PARAM_VALUE 0 osb->sys_root_inode->i_fop->fsync 0,1222922547194068992,3027818812235636736,8217954597197033472
PARAM_VALUE 0 osb->sys_root_inode->i_fop->get_unmapped_area 0,124971230114684928
PARAM_VALUE 0 osb->sys_root_inode->i_fop->iopoll 0,4655420991112224768
PARAM_VALUE 0 osb->sys_root_inode->i_fop->iterate_shared 0,6386994525150380032,8243451648225181696
PARAM_VALUE 0 osb->sys_root_inode->i_fop->llseek 0,492277767372734464,822347878553698304,5746216189559357440,6546627043791368192,8118194047052775424,8973132240956821504
PARAM_VALUE 0 osb->sys_root_inode->i_fop->lock 0,957067876168839168
PARAM_VALUE 0 osb->sys_root_inode->i_fop->mmap_prepare 0,6570010784732049408,6885435863193137152,8278006848728551424
PARAM_VALUE 0 osb->sys_root_inode->i_fop->open 4096-ptr_max
PARAM_VALUE 0 osb->sys_root_inode->i_fop->poll 0,3382901614843973632
PARAM_VALUE 0 osb->sys_root_inode->i_fop->read 0,1706536041323986944
PARAM_VALUE 0 osb->sys_root_inode->i_fop->read_iter 0,1361316500034015232,2240186942504972288,4899218341707628544,8127867626404999168
PARAM_VALUE 0 osb->sys_root_inode->i_fop->release 0,2353999083462864896,3782443451574296576,5408471863795695616,6016719737812197376,8602616464973426688
PARAM_VALUE 0 osb->sys_root_inode->i_fop->remap_file_range 0,1796676283846889472,8958472544276660224
PARAM_VALUE 0 osb->sys_root_inode->i_fop->setlease 0,8029451603284156416
PARAM_VALUE 0 osb->sys_root_inode->i_fop->splice_read 0,1218082698985836544,7349024233072300032,8186755288665538560
PARAM_VALUE 0 osb->sys_root_inode->i_fop->splice_write 0,3145220535271485440
PARAM_VALUE 0 osb->sys_root_inode->i_fop->unlocked_ioctl 0,865619370521538560,1267359996887056384,5007980196533522432,6849614532843819008
PARAM_VALUE 0 osb->sys_root_inode->i_fop->uring_cmd 0,1098803881749745664,5186034168622989312
PARAM_VALUE 0 osb->sys_root_inode->i_fop->write_iter 0,2598072610032832512,5042835639063556096,7989474787723927552,8526717696347947008
PARAM_VALUE 0 osb->sys_root_inode->i_op->readlink 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256
PARAM_VALUE 2 nr 1
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 3 bhs 8
UNITS 0 osb unit_byte
UNITS 1 block unit_byte
HALF_LOCKED2 &gb_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &tl_inode->i_rwsem

fs/ocfs2/ioctl.c ocfs2_info_freefrag_scan_bitmap() -> ocfs2_read_blocks_sync()

Type Parameter Key Value
PARAM_VALUE 0 osb->sys_root_inode->i_op->readlink 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256
PARAM_VALUE 2 nr 1
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 3 bhs 8
DATA_SOURCE 0 osb $0
DATA_SOURCE 1 block $2
UNITS 0 osb unit_byte
HALF_LOCKED2 &gb_inode->i_rwsem

fs/ocfs2/ioctl.c ocfs2_info_freefrag_scan_chain() -> ocfs2_read_blocks_sync()

Type Parameter Key Value
PARAM_VALUE 0 osb 4096-ptr_max
PARAM_VALUE 0 osb->sb 4096-ptr_max
PARAM_VALUE 0 osb->sb->s_bdev->bd_mapping->i_private_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 osb->sys_root_inode->i_mode 32768
PARAM_VALUE 0 osb->sys_root_inode->i_op->readlink 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256
PARAM_VALUE 2 nr 1
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 3 bhs 8
DATA_SOURCE 0 osb $0
UNITS 0 osb unit_byte
UNITS 1 block unit_byte
HALF_LOCKED2 &gb_inode->i_rwsem

fs/ocfs2/ioctl.c ocfs2_info_scan_inode_alloc() -> ocfs2_read_blocks_sync()

Type Parameter Key Value
PARAM_VALUE 0 osb 4096-ptr_max
PARAM_VALUE 0 osb->sys_root_inode->i_op->readlink 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256
PARAM_VALUE 2 nr 1
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 3 bhs 8
DATA_SOURCE 0 osb $0
DATA_SOURCE 1 block $2
UNITS 0 osb unit_byte
HALF_LOCKED2 &inode_alloc->i_rwsem