Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/netfs/fscache_cache.c fscache_acquire_cache() -> fscache_set_cache_state_maybe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 1 | old_state | 0 |
| PARAM_VALUE | 2 | new_state | 1 |
| BUF_SIZE | 0 | cache | (-1),64 |
| BUF_SIZE | 0 | cache | (-1),64 |
| DATA_SOURCE | 0 | cache | r fscache_lookup_cache |
| LOCK2 | &cache->daemon_mutex | ||
| TYPE_LOCK | (struct cachefiles_cache)->daemon_mutex |
fs/netfs/fscache_cache.c fscache_io_error() -> fscache_set_cache_state_maybe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | old_state | 2 |
| PARAM_VALUE | 2 | new_state | 3 |
| BUF_SIZE | 0 | cache | (-1),64 |
| BUF_SIZE | 0 | cache | (-1),64 |
| DATA_SOURCE | 0 | cache | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cache->daemon_mutex | ||
| HALF_LOCKED2 | &pool->lock |