Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-region-hash.c __rh_recovery_prepare() -> __rh_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rh | 4096-ptr_max |
| PARAM_VALUE | 0 | rh->hash_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rh->log | 4096-ptr_max |
| PARAM_VALUE | 0 | rh->log->context->flush_failed | 1 |
| PARAM_VALUE | 0 | rh->log->context->flush_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rh->log->context->flush_log_work.cpu | s32min-s32max |
| PARAM_VALUE | 0 | rh->log->context->flush_log_work.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | rh->log->context->io_req.bi_opf | 1,262145 |
| PARAM_VALUE | 0 | rh->log->context->io_req.client->pool.curr_nr | s32min-s32max |
| PARAM_VALUE | 0 | rh->log->context->log_dev_failed | 1 |
| PARAM_VALUE | 0 | rh->log->context->log_dev_flush_failed | 1 |
| PARAM_VALUE | 0 | rh->log->context->touched_dirtied | 0-1 |
| PARAM_VALUE | 0 | rh->log->type | 4096-ptr_max |
| PARAM_VALUE | 0 | rh->log->type->get_resync_work | 4096-ptr_max |
| PARAM_VALUE | 0 | rh->recovery_count.count | 0-2147483646 |
| PARAM_VALUE | 0 | rh->recovery_count.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rh->recovery_count.lock.owner | (-1) |
| PARAM_VALUE | 0 | rh->recovery_count.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | rh->region_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | rh | $0 |
| LOCK2 | 0 | &rh->hash_lock | |
| LOCK2 | 0 | &rh->recovery_count | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dm_region_hash)->hash_lock | ||
| TYPE_LOCK | (struct dm_region_hash)->recovery_count |
drivers/md/dm-region-hash.c dm_rh_delay() -> __rh_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rh | 4096-ptr_max |
| PARAM_VALUE | 0 | rh->hash_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rh->log | 4096-ptr_max |
| PARAM_VALUE | 0 | rh->log->context->flush_entry_pool.curr_nr | s32min-s32max |
| PARAM_VALUE | 0 | rh->log->context->flush_failed | 1 |
| PARAM_VALUE | 0 | rh->log->context->flush_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rh->log->context->flush_log_work.cpu | s32min-s32max |
| PARAM_VALUE | 0 | rh->log->context->flush_log_work.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | rh->log->context->io_req.bi_opf | 1,262145 |
| PARAM_VALUE | 0 | rh->log->context->io_req.client->pool.curr_nr | s32min-s32max |
| PARAM_VALUE | 0 | rh->log->context->log_dev_failed | 1 |
| PARAM_VALUE | 0 | rh->log->context->log_dev_flush_failed | 1 |
| PARAM_VALUE | 0 | rh->log->context->touched_dirtied | 0-1 |
| PARAM_VALUE | 0 | rh->log->type | 4096-ptr_max |
| PARAM_VALUE | 0 | rh->log->type->flush | 4096-ptr_max |
| PARAM_VALUE | 0 | rh->recovery_count.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | rh->recovery_count.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rh->recovery_count.lock.owner | (-1) |
| PARAM_VALUE | 0 | rh->recovery_count.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | rh->region_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | rh | $0 |
| LOCK2 | 0 | &rh->hash_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dm_region_hash)->hash_lock |
drivers/md/dm-region-hash.c dm_rh_mark_nosync() -> __rh_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rh | 4096-ptr_max |
| PARAM_VALUE | 0 | rh->hash_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rh->log | 4096-ptr_max |
| PARAM_VALUE | 0 | rh->log->context->flush_failed | 1 |
| PARAM_VALUE | 0 | rh->log->context->flush_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rh->log->context->flush_log_work.cpu | s32min-s32max |
| PARAM_VALUE | 0 | rh->log->context->flush_log_work.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | rh->log->context->io_req.bi_opf | 1,262145 |
| PARAM_VALUE | 0 | rh->log->context->io_req.client->pool.curr_nr | s32min-s32max |
| PARAM_VALUE | 0 | rh->log->context->log_dev_failed | 1 |
| PARAM_VALUE | 0 | rh->log->context->log_dev_flush_failed | 1 |
| PARAM_VALUE | 0 | rh->log->context->touched_dirtied | 0-1 |
| PARAM_VALUE | 0 | rh->log->type | 4096-ptr_max |
| PARAM_VALUE | 0 | rh->recovery_count.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | rh->recovery_count.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rh->recovery_count.lock.owner | (-1) |
| PARAM_VALUE | 0 | rh->recovery_count.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | rh->region_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | rh | $0 |
| DATA_SOURCE | 1 | region | r dm_rh_bio_to_region |
| LOCK2 | 0 | &rh->hash_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dm_region_hash)->hash_lock |
drivers/md/dm-region-hash.c rh_inc() -> __rh_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rh | 4096-ptr_max |
| PARAM_VALUE | 0 | rh->hash_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rh->log->context->flush_failed | 1 |
| PARAM_VALUE | 0 | rh->log->context->flush_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rh->log->context->flush_log_work.cpu | s32min-s32max |
| PARAM_VALUE | 0 | rh->log->context->flush_log_work.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | rh->log->context->io_req.bi_opf | 1,262145 |
| PARAM_VALUE | 0 | rh->log->context->io_req.client->pool.curr_nr | s32min-s32max |
| PARAM_VALUE | 0 | rh->log->context->log_dev_failed | 1 |
| PARAM_VALUE | 0 | rh->log->context->log_dev_flush_failed | 1 |
| PARAM_VALUE | 0 | rh->log->context->touched_dirtied | 0-1 |
| PARAM_VALUE | 0 | rh->recovery_count.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | rh->recovery_count.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rh->recovery_count.lock.owner | (-1) |
| PARAM_VALUE | 0 | rh->recovery_count.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | rh->recovery_count.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | rh->region_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | rh | $0 |
| DATA_SOURCE | 1 | region | $1 |
| LOCK2 | 0 | &rh->hash_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dm_region_hash)->hash_lock |