Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/netfs/fscache_cache.c fscache_lookup_cache() -> fscache_get_cache_maybe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->name | 1-u64max |
| PARAM_VALUE | 1 | where | 1 |
| CAPPED_DATA | 0 | &cache->cache_link | 1 |
| RX_PATH | |||
| LOCK2 | &cache->daemon_mutex | ||
| LOCK2 | global &fscache_addremove_sem | ||
| TYPE_LOCK | (struct cachefiles_cache)->daemon_mutex |
fs/netfs/fscache_cache.c fscache_lookup_cache() -> fscache_get_cache_maybe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->name | 0 |
| PARAM_VALUE | 1 | where | 1 |
| CAPPED_DATA | 0 | &cache->cache_link | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &fscache_addremove_sem | ||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &fsc->client->mount_mutex | ||
| HALF_LOCKED2 | &tcon->fscache_lock | ||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/netfs/fscache_cache.c fscache_lookup_cache() -> fscache_get_cache_maybe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->name | 1-u64max |
| PARAM_VALUE | 1 | where | 1 |
| CAPPED_DATA | 0 | &cache->cache_link | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &fscache_addremove_sem | ||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &fsc->client->mount_mutex | ||
| HALF_LOCKED2 | &tcon->fscache_lock | ||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/netfs/fscache_cache.c fscache_lookup_cache() -> fscache_get_cache_maybe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->name | 1-u64max |
| PARAM_VALUE | 1 | where | 1 |
| CAPPED_DATA | 0 | &cache->cache_link | 1 |
| RX_PATH | |||
| LOCK2 | &cache->daemon_mutex | ||
| LOCK2 | global &fscache_addremove_sem | ||
| TYPE_LOCK | (struct cachefiles_cache)->daemon_mutex |
fs/netfs/fscache_cache.c fscache_lookup_cache() -> fscache_get_cache_maybe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->name | 0 |
| PARAM_VALUE | 1 | where | 1 |
| CAPPED_DATA | 0 | &cache->cache_link | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &fscache_addremove_sem | ||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &fsc->client->mount_mutex | ||
| HALF_LOCKED2 | &tcon->fscache_lock | ||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/netfs/fscache_cache.c fscache_lookup_cache() -> fscache_get_cache_maybe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->name | 0 |
| PARAM_VALUE | 1 | where | 1 |
| RX_PATH | |||
| LOCK2 | &cache->daemon_mutex | ||
| LOCK2 | global &fscache_addremove_sem | ||
| TYPE_LOCK | (struct cachefiles_cache)->daemon_mutex |
fs/netfs/fscache_cache.c fscache_lookup_cache() -> fscache_get_cache_maybe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->name | 1-u64max |
| PARAM_VALUE | 1 | where | 1 |
| CAPPED_DATA | 0 | &cache->cache_link | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &fscache_addremove_sem | ||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &fsc->client->mount_mutex | ||
| HALF_LOCKED2 | &tcon->fscache_lock | ||
| HALF_LOCKED2 | global &cifs_mount_mutex |