Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-pcache/cache_segment.c cache_seg_init() -> cache_seg_info_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache_seg | 4096-ptr_max |
| PARAM_VALUE | 0 | cache_seg->cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache_seg->cache->cache_ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | cache_seg->cache->cache_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cache_seg->cache->cache_info.n_segs | 1-u32max |
| PARAM_VALUE | 0 | cache_seg->cache->cache_info_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | cache_seg->cache->segments | 4096-ptr_max |
| PARAM_VALUE | 0 | cache_seg->cache_seg_ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | cache_seg->gen | 0 |
| PARAM_VALUE | 0 | cache_seg->info_index | 0 |
| PARAM_VALUE | 0 | cache_seg->info_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cache_seg->info_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | cache_seg->info_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | cache_seg->info_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | cache_seg->info_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | cache_seg->refs.counter | 0 |
| PARAM_VALUE | 0 | cache_seg->segment.data | 4096-ptr_max |
| PARAM_VALUE | 0 | cache_seg->segment.data_size | 16764928 |
| BUF_SIZE | 0 | cache_seg->cache | 12160 |
| CAPPED_DATA | 0 | cache_seg->cache_seg_id | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-pcache/cache_segment.c cache_seg_set_next_seg() -> cache_seg_info_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache_seg | 4096-ptr_max |
| PARAM_VALUE | 0 | cache_seg->cache_seg_info.next_seg | 0-64 |
| PARAM_VALUE | 0 | cache_seg->info_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cache_seg->info_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cache_seg->info_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | cache_seg->info_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cache_seg->info_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | cache_seg->info_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | cache_seg->info_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | cache_seg->info_lock.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | cache_seg->info_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| DATA_SOURCE | 0 | cache_seg | $0 |
| BIT_INFO | 0 | cache_seg->cache_seg_info.flags | 0x1,0xffffffff |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->type_lock |