Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- fs/exfat/dir.c, line 298
- fs/exfat/file.c, line 63
- fs/exfat/inode.c, line 195
- fs/exfat/namei.c, line 344
Smatch caller information:
fs/exfat/dir.c exfat_alloc_new_dir() -> exfat_alloc_cluster()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_flctx->flc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_op | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_op->atomic_open | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_op->create | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_op->mkdir | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1808,2632,2648 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->bitmap_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->bitmap_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->bitmap_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->bitmap_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->bitmap_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->bitmap_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->bitmap_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->bitmap_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->clu_srch_ptr | 2-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->num_clusters | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->used_clusters | 0-4294967295 |
| PARAM_VALUE | 1 | num_alloc | 1 |
| PARAM_VALUE | 2 | p_chain | 1033963349535645696 |
| PARAM_VALUE | 2 | p_chain->dir | u32max |
| PARAM_VALUE | 2 | p_chain->flags | 3 |
| PARAM_VALUE | 2 | p_chain->size | 0 |
| PARAM_VALUE | 4 | contig | 0 |
| CAPPED_DATA | 0 | inode->i_sb->s_fs_info->num_clusters | 1 |
| CAPPED_DATA | 0 | inode->i_sb->s_time_max | 1 |
| CAPPED_DATA | 0 | inode->i_sb->s_user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 0 | inode->i_sb->s_user_ns->uid_map.nr_extents | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 2 | p_chain | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/exfat/inode.c exfat_map_cluster() -> exfat_alloc_cluster()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | num_alloc | 1-u32max |
| PARAM_VALUE | 2 | p_chain | 4850328437360812032 |
| PARAM_VALUE | 2 | p_chain->dir | 1-u32max |
| PARAM_VALUE | 2 | p_chain->size | 0 |
| PARAM_VALUE | 4 | contig | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_ino | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_size | |
| LOCK2 | &sbi->s_lock | ||
| TYPE_LOCK | (struct exfat_sb_info)->s_lock |
fs/exfat/namei.c exfat_find_empty_entry() -> exfat_alloc_cluster()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_op->atomic_open | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_op->create | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_op->mkdir | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | num_alloc | 1 |
| PARAM_VALUE | 2 | p_chain | 3106037993996935168 |
| PARAM_VALUE | 2 | p_chain->size | 0 |
| PARAM_VALUE | 4 | contig | 0 |
| DATA_SOURCE | 0 | inode | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | &sbi->s_lock |
fs/exfat/file.c exfat_cont_expand() -> exfat_alloc_cluster()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_mapping->host->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | inode->i_mapping->host->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | inode->i_mapping->host->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 0 | inode->i_mapping->i_mmap_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | inode->i_mapping->i_mmap_rwsem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | inode->i_mapping->i_mmap_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_size | s64min-9223372036854775806 |
| PARAM_VALUE | 2 | p_chain | 6354229986043822080 |
| PARAM_VALUE | 2 | p_chain->size | 0 |
| PARAM_VALUE | 4 | contig | 0 |
| CAPPED_DATA | 0 | inode->i_mapping | 1 |
| CAPPED_DATA | 0 | inode->i_mapping->i_pages.xa_head | 1 |
| CAPPED_DATA | 0 | inode->i_size | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-(-4),0-9223372036854775806[c] |
| HALF_LOCKED2 | 0 | &inode->i_rwsem |