Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/exfat/nls.c exfat_create_upcase_table() -> exfat_cluster_walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_bdev->bd_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_bdev->bd_mapping->i_private_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sb->s_bdev_file->f_mapping->host->i_blkbits | 9-73 |
| PARAM_VALUE | 0 | sb->s_bdev_file->f_mapping->host->i_mapping->invalidate_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sb->s_bdev_file->f_mapping->host->i_mapping->invalidate_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sb->s_bdev_file->f_mapping->host->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sb->s_bdev_file->f_mapping->host->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sb->s_bdev_file->f_mapping->host->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sb->s_bdev_file->private_data | 1-ptr_max |
| PARAM_VALUE | 0 | sb->s_blocksize | 512-65536 |
| PARAM_VALUE | 0 | sb->s_blocksize_bits | 9-73 |
| PARAM_VALUE | 0 | sb->s_flags | 0,2048-u64max |
| PARAM_VALUE | 0 | sb->s_fs_info->FAT1_start_sector | 0-4294967295 |
| PARAM_VALUE | 0 | sb->s_fs_info->FAT2_start_sector | 0-8589934590 |
| PARAM_VALUE | 0 | sb->s_fs_info->clu_srch_ptr | 2 |
| PARAM_VALUE | 0 | sb->s_fs_info->cluster_size | 0-4294967295 |
| PARAM_VALUE | 0 | sb->s_fs_info->cluster_size_bits | 9-28 |
| PARAM_VALUE | 0 | sb->s_fs_info->data_start_sector | 0-4294967295 |
| PARAM_VALUE | 0 | sb->s_fs_info->dentries_per_clu | 0-4294967295 |
| PARAM_VALUE | 0 | sb->s_fs_info->num_FAT_sectors | 0-4294967295 |
| PARAM_VALUE | 0 | sb->s_fs_info->num_clusters | 0-4294967295 |
| PARAM_VALUE | 0 | sb->s_fs_info->root_dir | 0-4294967295 |
| PARAM_VALUE | 0 | sb->s_fs_info->sect_per_clus | 0-4294967295 |
| PARAM_VALUE | 0 | sb->s_fs_info->sect_per_clus_bits | 0-16 |
| PARAM_VALUE | 0 | sb->s_fs_info->vol_flags | 0-u16max |
| PARAM_VALUE | 0 | sb->s_fs_info->vol_flags_persistent | 0,2-6 |
| PARAM_VALUE | 0 | sb->s_magic | 538032816 |
| PARAM_VALUE | 0 | sb->s_op | 2050264608707178496 |
| PARAM_VALUE | 0 | sb->s_op->shutdown | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_root | 0 |
| PARAM_VALUE | 0 | sb->s_time_gran | 10000000 |
| PARAM_VALUE | 0 | sb->s_time_max | 4354819199 |
| PARAM_VALUE | 0 | sb->s_time_min | 315532800 |
| PARAM_VALUE | 1 | clu | 4206493395523047424 |
| PARAM_VALUE | 1 | *clu | 0-4294967294 |
| PARAM_VALUE | 2 | step | 1 |
| PARAM_VALUE | 3 | flags | 1 |
| BUF_SIZE | 0 | sb | (-1),2880 |
| BUF_SIZE | 0 | sb | (-1),2880 |
| BUF_SIZE | 0 | sb->s_op | 224 |
| CAPPED_DATA | 0 | sb->s_blocksize | 1 |
| CAPPED_DATA | 0 | sb->s_fs_info->data_start_sector | 1 |
| CAPPED_DATA | 0 | sb->s_fs_info->num_clusters | 1 |
| DATA_SOURCE | 0 | sb | $0 |
| STR_LEN | 0 | sb | (-1),8 |
| STR_LEN | 0 | sb | (-1),8 |
| BIT_INFO | 0 | sb->s_flags | 0x800,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | sb->s_flags | 2048-2147488767[c] |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/exfat/dir.c __exfat_get_dentry_set() -> exfat_cluster_walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_bdev->bd_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_bdev->bd_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 | sb->s_bdev->bd_mapping->i_private_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_fs_info->num_clusters | 0-4294967295 |
| PARAM_VALUE | 1 | clu | 6710515650332831744 |
| PARAM_VALUE | 2 | step | 1 |
| BUF_SIZE | 0 | sb | (-1),80,2752 |
| BUF_SIZE | 0 | sb | (-1),80,2752 |
| CAPPED_DATA | 0 | sb->s_fs_info->num_clusters | 1 |
| DATA_SOURCE | 0 | sb | $1 |
| 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-2147552256[c] |
| NO_OVERFLOW_SIMPLE | 0 | sb->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 0 | sb->s_blocksize_bits | |
| UNITS | 0 | sb | unit_byte |
fs/exfat/dir.c exfat_chain_advance() -> exfat_cluster_walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 1 | clu | 7850588627561562112 |
| BUF_SIZE | 0 | sb | (-1),2880 |
| BUF_SIZE | 0 | sb | (-1),2880 |
| CAPPED_DATA | 2 | step | 1 |
| DATA_SOURCE | 0 | sb | $0 |
| DATA_SOURCE | 2 | step | $2 |
| STR_LEN | 0 | sb | (-1),8 |
| STR_LEN | 0 | sb | (-1),8 |
| 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 |
| UNITS | 2 | step | unit_page |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/exfat/dir.c exfat_find_location() -> exfat_cluster_walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_bdev_file->f_mapping->host->i_mapping->invalidate_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sb->s_bdev_file->f_mapping->host->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sb->s_bdev_file->f_mapping->host->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_op->shutdown | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_shrink->debugfs_entry->d_parent->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | *sb->s_id | 0-255 |
| PARAM_VALUE | 1 | clu | 8671900990100062208 |
| PARAM_VALUE | 1 | *clu | 0-4294967286,4294967288-u32max |
| BUF_SIZE | 0 | sb | (-1),2816 |
| BUF_SIZE | 0 | sb | (-1),2816 |
| BUF_SIZE | 0 | sb->s_op | (-1),216 |
| DATA_SOURCE | 0 | sb | $0 |
| STR_LEN | 0 | sb | (-1),8 |
| STR_LEN | 0 | sb | (-1),8 |
| 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 |
fs/exfat/dir.c exfat_get_volume_label_dentry() -> exfat_cluster_walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_root | 4096-ptr_max |
| PARAM_VALUE | 1 | clu | 1015367297756971008 |
| PARAM_VALUE | 1 | *clu | 0-4294967294 |
| PARAM_VALUE | 2 | step | 1 |
| PARAM_VALUE | 3 | flags | 1 |
| DATA_SOURCE | 0 | sb | $0 |
| UNITS | 0 | sb | unit_byte |
| LOCK2 | &sbi->s_lock | ||
| TYPE_LOCK | (struct exfat_sb_info)->s_lock |
fs/exfat/namei.c exfat_chain_advance() -> exfat_cluster_walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 1 | clu | 8370907975455854592 |
| PARAM_VALUE | 2 | step | 1 |
| DATA_SOURCE | 0 | sb | $0 |
| DATA_SOURCE | 2 | step | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| UNITS | 2 | step | unit_page |
fs/exfat/file.c __exfat_truncate() -> exfat_cluster_walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_fs_info->boot_bh->b_data->vol_flags | 0-u16max |
| PARAM_VALUE | 0 | sb->s_fs_info->boot_bh->b_folio->mapping->host->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sb->s_fs_info->boot_bh->b_folio->mapping->host->i_state.__state | 0-4294967295 |
| PARAM_VALUE | 0 | sb->s_fs_info->vol_flags | 0-u16max |
| PARAM_VALUE | 1 | clu | 4267042873634820096 |
| PARAM_VALUE | 2 | step | 1 |
| PARAM_VALUE | 3 | flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| HALF_LOCKED2 | &sbi->s_lock |
fs/exfat/balloc.c exfat_load_bitmap() -> exfat_cluster_walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_bdev->bd_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_bdev->bd_mapping->i_private_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sb->s_bdev_file->f_mapping->host->i_blkbits | 9-73 |
| PARAM_VALUE | 0 | sb->s_bdev_file->f_mapping->host->i_mapping->invalidate_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sb->s_bdev_file->f_mapping->host->i_mapping->invalidate_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sb->s_bdev_file->f_mapping->host->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sb->s_bdev_file->f_mapping->host->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sb->s_bdev_file->f_mapping->host->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sb->s_bdev_file->private_data | 1-ptr_max |
| PARAM_VALUE | 0 | sb->s_blocksize | 512-65536 |
| PARAM_VALUE | 0 | sb->s_blocksize_bits | 9-41 |
| PARAM_VALUE | 0 | sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_fs_info->FAT1_start_sector | 0-4294967295 |
| PARAM_VALUE | 0 | sb->s_fs_info->FAT2_start_sector | 0-8589934590 |
| PARAM_VALUE | 0 | sb->s_fs_info->clu_srch_ptr | 2 |
| PARAM_VALUE | 0 | sb->s_fs_info->cluster_size | 0-4294967295 |
| PARAM_VALUE | 0 | sb->s_fs_info->cluster_size_bits | 9-28 |
| PARAM_VALUE | 0 | sb->s_fs_info->data_start_sector | 0-4294967295 |
| PARAM_VALUE | 0 | sb->s_fs_info->dentries_per_clu | 0-4294967295 |
| PARAM_VALUE | 0 | sb->s_fs_info->num_FAT_sectors | 0-4294967295 |
| PARAM_VALUE | 0 | sb->s_fs_info->num_clusters | 0-4294967295 |
| PARAM_VALUE | 0 | sb->s_fs_info->root_dir | 0-4294967295 |
| PARAM_VALUE | 0 | sb->s_fs_info->sect_per_clus | 0-4294967295 |
| PARAM_VALUE | 0 | sb->s_fs_info->sect_per_clus_bits | 0-16 |
| PARAM_VALUE | 0 | sb->s_fs_info->vol_flags | 0-u16max |
| PARAM_VALUE | 0 | sb->s_fs_info->vol_flags_persistent | 0,2-6 |
| PARAM_VALUE | 0 | sb->s_magic | 538032816 |
| PARAM_VALUE | 0 | sb->s_op | 2050264608707178496 |
| PARAM_VALUE | 0 | sb->s_op->shutdown | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_root | 0 |
| PARAM_VALUE | 0 | sb->s_time_gran | 10000000 |
| PARAM_VALUE | 0 | sb->s_time_max | 4354819199 |
| PARAM_VALUE | 0 | sb->s_time_min | 315532800 |
| PARAM_VALUE | 0 | *sb->s_fs_info->vol_utbl | 0-u16max |
| PARAM_VALUE | 1 | clu | 5602087213035601920 |
| PARAM_VALUE | 1 | *clu | 0-4294967294 |
| PARAM_VALUE | 2 | step | 1 |
| PARAM_VALUE | 3 | flags | 1 |
| BUF_SIZE | 0 | sb | (-1),2880 |
| BUF_SIZE | 0 | sb | (-1),2880 |
| BUF_SIZE | 0 | sb->s_op | 224 |
| CAPPED_DATA | 0 | sb->s_blocksize | 1 |
| CAPPED_DATA | 0 | sb->s_fs_info->data_start_sector | 1 |
| CAPPED_DATA | 0 | sb->s_fs_info->num_clusters | 1 |
| DATA_SOURCE | 0 | sb | $0 |
| STR_LEN | 0 | sb | (-1),8 |
| STR_LEN | 0 | sb | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | sb->s_flags | 2048-2147488767[c] |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/exfat/fatent.c __exfat_free_cluster() -> exfat_cluster_walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 1 | clu | 4743527854796386304 |
| PARAM_VALUE | 1 | *clu | 2-4294967294 |
| PARAM_VALUE | 2 | step | 1 |
| PARAM_VALUE | 3 | flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &sbi->bitmap_lock |