Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/md/dm-zoned-reclaim.c dmz_reclaim_rnd_data() -> dmz_alloc_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zmd | 4096-ptr_max |
| PARAM_VALUE | 0 | zmd->map_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | zmd->map_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | zmd->map_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | flags | 17,20 |
| BIT_INFO | 2 | flags | 0x10,0x15 |
| UNITS | 1 | dev_idx | unit_array_size |
| LOCK2 | 0 | &zmd->map_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dmz_metadata)->map_lock |
drivers/md/dm-zoned-metadata.c dmz_get_chunk_buffer() -> dmz_alloc_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zmd | 4096-ptr_max |
| PARAM_VALUE | 0 | zmd->map_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | zmd->map_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | zmd->map_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | zmd->map_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | zmd->mblk_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | zmd->mblk_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dev_idx | 0 |
| PARAM_VALUE | 2 | flags | 1-2 |
| DATA_SOURCE | 0 | zmd | $0 |
| LOCK2 | &pool->lock | ||
| LOCK2 | &zmd->mblk_sem | ||
| LOCK2 | 0 | &zmd->map_lock | |
| TYPE_LOCK | (struct dmz_metadata)->map_lock | ||
| TYPE_LOCK | (struct dmz_metadata)->mblk_sem |
drivers/md/dm-zoned-metadata.c dmz_get_chunk_mapping() -> dmz_alloc_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zmd | 4096-ptr_max |
| PARAM_VALUE | 0 | zmd->map_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | zmd->map_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | zmd->map_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | zmd->map_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | zmd->map_mblk | 4096-ptr_max |
| PARAM_VALUE | 0 | zmd->mblk_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | zmd->mblk_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dev_idx | 0 |
| PARAM_VALUE | 2 | flags | 1-2 |
| DATA_SOURCE | 0 | zmd | $0 |
| LOCK2 | 0 | &zmd->map_lock | |
| LOCK2 | 0 | &zmd->mblk_sem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dmz_metadata)->map_lock | ||
| TYPE_LOCK | (struct dmz_metadata)->mblk_sem |