Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/md/dm-pcache/cache_segment.c cache_seg_ctrl_load() -> pcache_meta_find_latest()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | meta_size | 16 |
| PARAM_VALUE | 2 | meta_max_size | 16 |
| PARAM_VALUE | 3 | meta_ret | 2268268751496953856 |
| BUF_SIZE | 3 | meta_ret | 16 |
| UNITS | 1 | meta_size | unit_byte |
| UNITS | 2 | meta_max_size | unit_byte |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-pcache/cache_segment.c cache_seg_info_load() -> pcache_meta_find_latest()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | meta_size | 16 |
| PARAM_VALUE | 2 | meta_max_size | 4096 |
| PARAM_VALUE | 3 | meta_ret | 4096-ptr_max |
| BUF_SIZE | 3 | meta_ret | 16 |
| UNITS | 1 | meta_size | unit_byte |
| LOCK2 | &cache_seg->info_lock | ||
| HALF_LOCKED2 | &md->type_lock | ||
| TYPE_LOCK | (struct pcache_cache_segment)->info_lock |
drivers/md/dm-pcache/cache.c cache_info_init() -> pcache_meta_find_latest()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | header | 4096-ptr_max |
| PARAM_VALUE | 1 | meta_size | 24 |
| PARAM_VALUE | 2 | meta_max_size | 4096 |
| PARAM_VALUE | 3 | meta_ret | 4096-ptr_max |
| BUF_SIZE | 3 | meta_ret | 24 |
| UNITS | 1 | meta_size | unit_byte |
drivers/md/dm-pcache/cache.c cache_pos_decode() -> pcache_meta_find_latest()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | meta_size | 16 |
| PARAM_VALUE | 2 | meta_max_size | 16 |
| PARAM_VALUE | 3 | meta_ret | 4374350015573835776 |
| BUF_SIZE | 3 | meta_ret | 16 |
| UNITS | 1 | meta_size | unit_byte |
| UNITS | 2 | meta_max_size | unit_byte |
| HALF_LOCKED2 | &md->type_lock |