Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/ntfs/attrib.c ntfs_attr_add() -> ntfs_attr_size_bounds_check()

Type Parameter Key Value
PARAM_VALUE 0 vol->lcnbmp_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 vol->lcnbmp_lock.first_waiter->type 0-1
PARAM_VALUE 0 vol->mft_ino->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 0 vol->mftbmp_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 vol->mftbmp_lock.first_waiter->type 0-1
PARAM_VALUE 0 vol->sb->s_cop->empty_dir 0,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 0 vol->sb->s_cop->get_context 0,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 0 vol->sb->s_cop->set_context 0,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 1 type 16,48,80,128,144,160,176,192,208,224
PARAM_VALUE 2 size 0-s64max
CAPPED_DATA 2 size 1
CAPPED_DATA 2 size 1
DATA_SOURCE 1 type $1
DATA_SOURCE 2 size $5
HARD_MAX 1 type 224
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 vol->lcnbmp_ino->i_mapping->host->i_size
NO_OVERFLOW_SIMPLE 0 vol->mft_ino->i_mapping->host->i_size
NO_OVERFLOW_SIMPLE 2 size
UNITS 0 vol unit_byte
UNITS 2 size unit_byte
HALF_LOCKED2 &dir_ni->mrec_lock
HALF_LOCKED2 &ni->mrec_lock

fs/ntfs/attrib.c ntfs_non_resident_attr_expand() -> ntfs_attr_size_bounds_check()

Type Parameter Key Value
PARAM_VALUE 0 vol 4096-ptr_max
PARAM_VALUE 2 size 0-s64max
CAPPED_DATA 2 size 1
CAPPED_DATA 2 size 1
DATA_SOURCE 2 size $1
NOSPEC 2 size
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 size 0-s64max[c]
UNITS 0 vol unit_byte
UNITS 2 size unit_byte
HALF_LOCKED2 &ni->mrec_lock
HALF_LOCKED2 &ni->mrec_lock
HALF_LOCKED2 &ni->runlist.lock
HALF_LOCKED2 &ni->runlist.lock
HALF_LOCKED2 &vi->i_rwsem

fs/ntfs/attrib.c ntfs_non_resident_attr_shrink() -> ntfs_attr_size_bounds_check()

Type Parameter Key Value
PARAM_VALUE 2 size 0-s64max
CAPPED_DATA 2 size 1
CAPPED_DATA 2 size 1
DATA_SOURCE 2 size $1
NOSPEC 2 size
NOSPEC 2 size
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 size 0-s64max[c]
UNITS 0 vol unit_byte
UNITS 2 size unit_byte
HALF_LOCKED2 &ni->mrec_lock

fs/ntfs/attrib.c ntfs_resident_attr_resize() -> ntfs_attr_size_bounds_check()

Type Parameter Key Value
PARAM_VALUE 0 vol 4096-ptr_max
PARAM_VALUE 0 vol->mft_ino->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 0 vol->sb->s_cop->empty_dir 0,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 0 vol->sb->s_cop->get_context 0,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 0 vol->sb->s_cop->inode_info_offs 1632,1720,2632,2648
PARAM_VALUE 0 vol->sb->s_cop->set_context 0,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 2 size 0-s64max
CAPPED_DATA 2 size 1
CAPPED_DATA 2 size 1
DATA_SOURCE 2 size $1
NOSPEC 2 size
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 size 0-s64max[c]
UNITS 0 vol unit_byte
UNITS 2 size unit_byte
HALF_LOCKED2 &attr_ni->mrec_lock
HALF_LOCKED2 &ni->mrec_lock
HALF_LOCKED2 &vi->i_rwsem

fs/ntfs/ea.c ntfs_set_ea() -> ntfs_attr_size_bounds_check()

Type Parameter Key Value
PARAM_VALUE 0 vol 4096-ptr_max
PARAM_VALUE 0 vol->lcnbmp_ino->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864
PARAM_VALUE 0 vol->mft_ino->i_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 0 vol->mft_ino->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,4672,148606482432692224,436469935444291584,457356038048772096
PARAM_VALUE 0 vol->mft_ino->i_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 0 vol->mftbmp_ino->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864
PARAM_VALUE 1 type 224
PARAM_VALUE 2 size (-4294967294)-4294967295
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 size 0-4294967295[c]
UNITS 0 vol unit_byte
UNITS 2 size unit_byte
HALF_LOCKED2 &dir_ni->mrec_lock
HALF_LOCKED2 &ni->mrec_lock

fs/ntfs/ea.c ntfs_set_ea() -> ntfs_attr_size_bounds_check()

Type Parameter Key Value
PARAM_VALUE 0 vol 4096-ptr_max
PARAM_VALUE 0 vol->lcnbmp_ino->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864
PARAM_VALUE 0 vol->mft_ino->i_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 0 vol->mft_ino->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,4672,148606482432692224,436469935444291584,457356038048772096
PARAM_VALUE 0 vol->mft_ino->i_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 0 vol->mftbmp_ino->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864
PARAM_VALUE 1 type 224
PARAM_VALUE 2 size 0-4294967295
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 size 1-4294967295[c]
UNITS 0 vol unit_byte
UNITS 2 size unit_byte
HALF_LOCKED2 &dir_ni->mrec_lock
HALF_LOCKED2 &ni->mrec_lock