Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/cachefiles/cache.c cachefiles_has_space() -> cachefiles_state_changed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->bcull | 0-9223372036854775807 |
| PARAM_VALUE | 0 | cache->brun | 0-9223372036854775807 |
| PARAM_VALUE | 0 | cache->bstop | 0-9223372036854775807 |
| PARAM_VALUE | 0 | cache->mnt | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->mnt->mnt_root | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->mnt->mnt_root->d_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->mnt->mnt_root->d_sb->s_op | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->store->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | cache->store->d_inode->i_rwsem.first_waiter->type | 0-1 |
| BUF_SIZE | 0 | cache | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cache | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cache->cache | (-1),64 |
| BUF_SIZE | 0 | cache->graveyard | (-1),1-s32max |
| BUF_SIZE | 0 | cache->store | (-1),1-s32max |
| CAPPED_DATA | 0 | cache->bcull | 1 |
| CAPPED_DATA | 0 | cache->brun | 1 |
| CAPPED_DATA | 0 | cache->bstop | 1 |
| CAPPED_DATA | 0 | cache->fcull | 1 |
| CAPPED_DATA | 0 | cache->frun | 1 |
| CAPPED_DATA | 0 | cache->fstop | 1 |
| DATA_SOURCE | 0 | cache | $0 |
| STR_LEN | 0 | cache | (-1),5,9 |
| STR_LEN | 0 | cache | (-1),5,9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &cache->daemon_mutex | |
| HALF_LOCKED2 | 0 | &cache->store->d_inode->i_rwsem |
fs/cachefiles/cache.c cachefiles_has_space() -> cachefiles_state_changed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->mnt | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->mnt->mnt_root | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->mnt->mnt_root->d_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->mnt->mnt_root->d_sb->s_op | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->store->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | cache->store->d_inode->i_rwsem.first_waiter->type | 0-1 |
| BUF_SIZE | 0 | cache | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cache | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cache->store | (-1),1-s32max |
| CAPPED_DATA | 0 | cache->fstop | 1 |
| DATA_SOURCE | 0 | cache | $0 |
| STR_LEN | 0 | cache | (-1),5,9 |
| STR_LEN | 0 | cache | (-1),5,9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &cache->daemon_mutex | |
| HALF_LOCKED2 | 0 | &cache->store->d_inode->i_rwsem |
fs/cachefiles/namei.c cachefiles_unmark_inode_in_use() -> cachefiles_state_changed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock |