Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-pcache/cache.c cache_info_init_default() -> cache_info_set_gc_percent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache_info | 4096-ptr_max |
| PARAM_VALUE | 1 | percent | 70 |
| BUF_SIZE | 0 | cache_info | 24 |
| MEM_ZERO | 0 | cache_info | |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-pcache/cache.c pcache_cache_set_gc_percent() -> cache_info_set_gc_percent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache_info | 4096-ptr_max |
| PARAM_VALUE | 1 | percent | 0-90 |
| DATA_SOURCE | 1 | percent | $1 |
| FUZZY_MAX | 1 | percent | 90 |
| HARD_MAX | 1 | percent | 90 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | percent | 0-90 |
| LOCK2 | &cache->cache_info_lock | ||
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier | ||
| TYPE_LOCK | (struct pcache_cache)->cache_info_lock |