Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/lru_cache.c btrfs_lru_cache_clear() -> btrfs_lru_cache_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 1 | entry | 4096-ptr_max |
| CAPPED_DATA | 0 | &cache->lru_list | 1 |
| CAPPED_DATA | 1 | &entry->lru_list | 1 |
| DATA_SOURCE | 0 | cache | $0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctx->fs_info->commit_root_sem |
fs/btrfs/lru_cache.c btrfs_lru_cache_store() -> btrfs_lru_cache_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->entries.ma_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cache->max_size | 1-u32max |
| PARAM_VALUE | 0 | cache->size | 1-u32max |
| CAPPED_DATA | 0 | cache->max_size | 1 |
| CAPPED_DATA | 0 | cache->size | 1 |
| DATA_SOURCE | 0 | cache | $0 |
| FUZZY_MAX | 0 | cache->max_size | 1 |
| PARAM_COMPARE | 0 | cache->max_size | == $0->size |
| NOCHECK_CALL |
fs/btrfs/send.c __get_cur_name_and_parent() -> btrfs_lru_cache_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->lru_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | entry | 4096-ptr_max |
| NOCHECK_CALL |
fs/btrfs/send.c trim_dir_utimes_cache() -> btrfs_lru_cache_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->size | 65-u32max |
| PARAM_VALUE | 1 | entry | 4096-ptr_max |
| DATA_SOURCE | 1 | entry | r btrfs_lru_cache_lru_entry |
| NOCHECK_CALL |