Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/ntfs/object_id.c open_object_id_index() -> ntfs_nlstoucs()

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->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 0 vol->lcnbmp_ino->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200
PARAM_VALUE 0 vol->lcnbmp_ino->i_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
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
PARAM_VALUE 0 vol->mftbmp_ino->i_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 0 vol->mftbmp_ino->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200
PARAM_VALUE 0 vol->mftbmp_ino->i_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
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,86,661756434209751040,4392966320616476672,5234023279986843648
PARAM_VALUE 0 vol->sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576
PARAM_VALUE 0 vol->sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360
PARAM_VALUE 0 vol->vol_ino->i_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 0 vol->vol_ino->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200
PARAM_VALUE 0 vol->vol_ino->i_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 1 ins 7997058732464996352
PARAM_VALUE 2 ins_len 6
PARAM_VALUE 3 outs 2326026099913072640
PARAM_VALUE 4 max_name_len 255
BUF_SIZE 1 ins 7
DATA_SOURCE 0 vol $0
STR_LEN 0 vol 6
TERMINATED 1 ins 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vol unit_byte
LOCK2 &ni->mrec_lock
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &dir_ni->mrec_lock
HALF_LOCKED2 &old_dir_ni->mrec_lock
HALF_LOCKED2 &old_ni->mrec_lock
HALF_LOCKED2 &target->i_rwsem
TYPE_LOCK (struct ntfs_inode)->mrec_lock

fs/ntfs/super.c ntfs_write_volume_label() -> ntfs_nlstoucs()

Type Parameter Key Value
PARAM_VALUE 0 vol 4096-ptr_max
PARAM_VALUE 1 ins 4096-ptr_max
PARAM_VALUE 2 ins_len 0-1010101
PARAM_VALUE 3 outs 1145096235329376256
PARAM_VALUE 4 max_name_len 256
BUF_SIZE 0 vol 1-s32max
BUF_SIZE 0 vol 1-s32max
DATA_SOURCE 0 vol $0
DATA_SOURCE 1 ins $1
STR_LEN 0 vol 0-1010101
CAPABLE 0 21
TERMINATED 1 ins 1
USER_DATA 1 *ins 0-255
USER_PTR 1 ins

fs/ntfs/file.c ntfs_ioctl_stream() -> ntfs_nlstoucs()

Type Parameter Key Value
PARAM_VALUE 2 ins_len 1-510
PARAM_VALUE 3 outs 8783350147879596032
PARAM_VALUE 3 *outs 0
PARAM_VALUE 3 *(*outs) 0
PARAM_VALUE 4 max_name_len 255
CAPPED_DATA 2 ins_len 1
USER_DATA 1 *ins 0-255
USER_DATA 2 ins_len 1-510
UNITS 0 vol unit_byte
UNITS 2 ins_len unit_byte
USER_PTR 1 ins

fs/ntfs/namei.c ntfs_create() -> ntfs_nlstoucs()

Type Parameter Key Value
PARAM_VALUE 0 vol 4096-ptr_max
PARAM_VALUE 3 outs 7529802060159250432
PARAM_VALUE 4 max_name_len 255
BUF_SIZE 0 vol 1-s32max
BUF_SIZE 0 vol 1-s32max
BUF_SIZE 1 ins s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vol unit_byte
UNITS 1 ins unit_byte
UNITS 2 ins_len unit_byte
HALF_LOCKED2 &dir->i_rwsem

fs/ntfs/namei.c ntfs_link() -> ntfs_nlstoucs()

Type Parameter Key Value
PARAM_VALUE 0 vol 4096-ptr_max
PARAM_VALUE 3 outs 7762235213250465792
PARAM_VALUE 3 *outs 0
PARAM_VALUE 3 *(*outs) 0
PARAM_VALUE 4 max_name_len 255
BUF_SIZE 0 vol 1-s32max
BUF_SIZE 0 vol 1-s32max
BUF_SIZE 1 ins s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vol unit_byte
UNITS 1 ins unit_byte
UNITS 2 ins_len unit_byte
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/ntfs/namei.c ntfs_lookup() -> ntfs_nlstoucs()

Type Parameter Key Value
PARAM_VALUE 3 outs 332689867798212608
PARAM_VALUE 4 max_name_len 255
BUF_SIZE 0 vol 1-s32max
BUF_SIZE 0 vol 1-s32max
BUF_SIZE 1 ins s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vol unit_byte
UNITS 1 ins unit_byte
UNITS 2 ins_len unit_byte
HALF_LOCKED2 &dir_ino->i_rwsem

fs/ntfs/namei.c ntfs_mkdir() -> ntfs_nlstoucs()

Type Parameter Key Value
PARAM_VALUE 0 vol 4096-ptr_max
PARAM_VALUE 3 outs 7588241092735418368
PARAM_VALUE 4 max_name_len 255
BUF_SIZE 0 vol 1-s32max
BUF_SIZE 0 vol 1-s32max
BUF_SIZE 1 ins s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vol unit_byte
UNITS 1 ins unit_byte
UNITS 2 ins_len unit_byte
HALF_LOCKED2 &dentry->d_lockref.lock

fs/ntfs/namei.c ntfs_mknod() -> ntfs_nlstoucs()

Type Parameter Key Value
PARAM_VALUE 0 vol 4096-ptr_max
PARAM_VALUE 3 outs 2404174129461792768
PARAM_VALUE 3 *outs 0
PARAM_VALUE 3 *(*outs) 0
PARAM_VALUE 4 max_name_len 255
BUF_SIZE 0 vol 1-s32max
BUF_SIZE 0 vol 1-s32max
BUF_SIZE 1 ins s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vol unit_byte
UNITS 1 ins unit_byte
UNITS 2 ins_len unit_byte
HALF_LOCKED2 _T->lock

fs/ntfs/namei.c ntfs_rename() -> ntfs_nlstoucs()

Type Parameter Key Value
PARAM_VALUE 3 outs 5660707937841254400
PARAM_VALUE 3 *outs 0
PARAM_VALUE 3 *(*outs) 0
PARAM_VALUE 4 max_name_len 255
BUF_SIZE 1 ins s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vol unit_byte
UNITS 1 ins unit_byte
UNITS 2 ins_len unit_byte
HALF_LOCKED2 &source->i_rwsem
HALF_LOCKED2 &target->i_rwsem

fs/ntfs/namei.c ntfs_rename() -> ntfs_nlstoucs()

Type Parameter Key Value
PARAM_VALUE 3 outs 4117655104478253056
PARAM_VALUE 3 *outs 0
PARAM_VALUE 3 *(*outs) 0
PARAM_VALUE 4 max_name_len 255
BUF_SIZE 1 ins s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vol unit_byte
UNITS 1 ins unit_byte
UNITS 2 ins_len unit_byte
HALF_LOCKED2 &source->i_rwsem
HALF_LOCKED2 &target->i_rwsem

fs/ntfs/namei.c ntfs_rmdir() -> ntfs_nlstoucs()

Type Parameter Key Value
PARAM_VALUE 0 vol 4096-ptr_max
PARAM_VALUE 3 outs 1623099975002218496
PARAM_VALUE 3 *outs 0
PARAM_VALUE 3 *(*outs) 0
PARAM_VALUE 4 max_name_len 255
BUF_SIZE 0 vol 1-s32max
BUF_SIZE 0 vol 1-s32max
BUF_SIZE 1 ins s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vol unit_byte
UNITS 1 ins unit_byte
UNITS 2 ins_len unit_byte
LOCK2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &dentry->d_sb->s_vfs_rename_mutex
HALF_LOCKED2 &dir->d_inode->i_rwsem
HALF_LOCKED2 &dir->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ntfs/namei.c ntfs_symlink() -> ntfs_nlstoucs()

Type Parameter Key Value
PARAM_VALUE 0 vol 4096-ptr_max
PARAM_VALUE 3 outs 546055460205785088
PARAM_VALUE 4 max_name_len 255
BUF_SIZE 0 vol 1-s32max
BUF_SIZE 0 vol 1-s32max
BUF_SIZE 1 ins s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vol unit_byte
UNITS 1 ins unit_byte
UNITS 2 ins_len unit_byte

fs/ntfs/namei.c ntfs_unlink() -> ntfs_nlstoucs()

Type Parameter Key Value
PARAM_VALUE 0 vol 4096-ptr_max
PARAM_VALUE 3 outs 6221482474540531712
PARAM_VALUE 3 *outs 0
PARAM_VALUE 3 *(*outs) 0
PARAM_VALUE 4 max_name_len 255
BUF_SIZE 0 vol 1-s32max
BUF_SIZE 0 vol 1-s32max
BUF_SIZE 1 ins s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vol unit_byte
UNITS 1 ins unit_byte
UNITS 2 ins_len unit_byte
LOCK2 &target->i_rwsem
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &dentry->d_sb->s_vfs_rename_mutex
HALF_LOCKED2 &dir->d_inode->i_rwsem
HALF_LOCKED2 &dir->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ntfs/reparse.c ntfs_reparse_set_native_symlink() -> ntfs_nlstoucs()

Type Parameter Key Value
PARAM_VALUE 0 vol 1-u64max
PARAM_VALUE 0 vol->attrdef 4096-ptr_max
PARAM_VALUE 0 vol->attrdef_size 1-s32max
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->mftbmp_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 vol->mftbmp_lock.first_waiter->type 0-1
PARAM_VALUE 0 vol->sb 4096-ptr_max
PARAM_VALUE 1 ins 4096-ptr_max
PARAM_VALUE 2 ins_len 0-1010101
PARAM_VALUE 3 outs 4176943282942414848
PARAM_VALUE 3 *outs 0
PARAM_VALUE 3 *(*outs) 0
PARAM_VALUE 4 max_name_len 4096
BUF_SIZE 1 ins 6-1010106,u64max
BUF_SIZE 1 ins 6-1010106,u64max
STR_LEN 0 vol 0-1010101
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vol unit_byte
LOCK2 &dir_ni->mrec_lock
LOCK2 &ni->mrec_lock
TYPE_LOCK (struct ntfs_inode)->mrec_lock

fs/ntfs/reparse.c ntfs_reparse_set_native_symlink() -> ntfs_nlstoucs()

Type Parameter Key Value
PARAM_VALUE 0 vol 4096-ptr_max
PARAM_VALUE 0 vol->attrdef 4096-ptr_max
PARAM_VALUE 0 vol->attrdef_size 1-s32max
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->mftbmp_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 vol->mftbmp_lock.first_waiter->type 0-1
PARAM_VALUE 0 vol->sb 4096-ptr_max
PARAM_VALUE 1 ins 4096-ptr_max
PARAM_VALUE 2 ins_len 0-1010101
PARAM_VALUE 3 outs 4485920228700581888
PARAM_VALUE 3 *outs 0
PARAM_VALUE 3 *(*outs) 0
PARAM_VALUE 4 max_name_len 4096
DATA_SOURCE 1 ins r kstrdup
STR_LEN 0 vol 0-1010101
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vol unit_byte
LOCK2 &dir_ni->mrec_lock
LOCK2 &ni->mrec_lock
TYPE_LOCK (struct ntfs_inode)->mrec_lock

fs/ntfs/reparse.c open_reparse_index() -> ntfs_nlstoucs()

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->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
PARAM_VALUE 0 vol->lcnbmp_ino->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max
PARAM_VALUE 0 vol->lcnbmp_ino->i_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max
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_ino->i_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
PARAM_VALUE 0 vol->mftbmp_ino->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max
PARAM_VALUE 0 vol->mftbmp_ino->i_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-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,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 0 vol->sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 0 vol->sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 0 vol->vol_ino->i_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
PARAM_VALUE 0 vol->vol_ino->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max
PARAM_VALUE 0 vol->vol_ino->i_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max
PARAM_VALUE 1 ins 4016834577815769088
PARAM_VALUE 2 ins_len 8
PARAM_VALUE 3 outs 4488925166926209024
PARAM_VALUE 4 max_name_len 255
BUF_SIZE 1 ins 9
DATA_SOURCE 0 vol $0
STR_LEN 0 vol 8
TERMINATED 1 ins 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vol unit_byte
LOCK2 &ni->mrec_lock
HALF_LOCKED2 &dir_ni->mrec_lock
TYPE_LOCK (struct ntfs_inode)->mrec_lock