Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
fs/exfat/inode.c exfat_map_cluster() -> exfat_ent_set()
| 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 | loc | 0-4294967294 |
| PARAM_VALUE | 2 | content | 2-4294967294 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| UNITS | 1 | loc | unit_page |
| UNITS | 2 | content | unit_page |
| LOCK2 | &sbi->s_lock | ||
| TYPE_LOCK | (struct exfat_sb_info)->s_lock |
fs/exfat/namei.c exfat_find_empty_entry() -> exfat_ent_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 2 | content | 2-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| UNITS | 2 | content | unit_page |
| HALF_LOCKED2 | &sbi->s_lock |
fs/exfat/file.c __exfat_truncate() -> exfat_ent_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 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_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->num_clusters | 3-4294967295 |
| PARAM_VALUE | 0 | sb->s_fs_info->vol_flags | 0-u16max |
| PARAM_VALUE | 1 | loc | 2-4294967294 |
| PARAM_VALUE | 2 | content | u32max |
| CAPPED_DATA | 0 | sb->s_fs_info->num_clusters | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| UNITS | 1 | loc | unit_page |
| HALF_LOCKED2 | &sbi->s_lock |
fs/exfat/file.c exfat_cont_expand() -> exfat_ent_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 2 | content | 2-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| UNITS | 2 | content | unit_page |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/exfat/fatent.c exfat_alloc_cluster() -> exfat_ent_set()
| 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->num_clusters | 3-4294967295 |
| PARAM_VALUE | 0 | sb->s_op->shutdown | 0,4096-ptr_max |
| PARAM_VALUE | 1 | loc | 2-4294967294 |
| PARAM_VALUE | 2 | content | u32max |
| CAPPED_DATA | 0 | sb->s_fs_info->num_clusters | 1 |
| CAPPED_DATA | 1 | loc | 1 |
| DATA_SOURCE | 1 | loc | r exfat_find_free_bitmap |
| PARAM_COMPARE | 1 | loc | < $0->s_fs_info->num_clusters |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| UNITS | 1 | loc | unit_page |
| LOCK2 | &sbi->bitmap_lock | ||
| HALF_LOCKED2 | &sbi->s_lock | ||
| TYPE_LOCK | (struct exfat_sb_info)->bitmap_lock |
fs/exfat/fatent.c exfat_alloc_cluster() -> exfat_ent_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 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_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_fs_info->num_clusters | 3-4294967295 |
| PARAM_VALUE | 0 | sb->s_op->shutdown | 0,4096-ptr_max |
| PARAM_VALUE | 1 | loc | 2-4294967294 |
| PARAM_VALUE | 2 | content | 2-4294967294 |
| CAPPED_DATA | 0 | sb->s_fs_info->num_clusters | 1 |
| CAPPED_DATA | 1 | loc | 1 |
| CAPPED_DATA | 2 | content | 1 |
| DATA_SOURCE | 2 | content | r exfat_find_free_bitmap |
| PARAM_COMPARE | 1 | loc | < $0->s_fs_info->num_clusters |
| PARAM_COMPARE | 2 | content | < $0->s_fs_info->num_clusters |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| UNITS | 1 | loc | unit_page |
| UNITS | 2 | content | unit_page |
| LOCK2 | &sbi->bitmap_lock | ||
| HALF_LOCKED2 | &sbi->s_lock | ||
| TYPE_LOCK | (struct exfat_sb_info)->bitmap_lock |