Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-clone-target.c __find_or_insert_region_hydration() -> __insert_region_hydration()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bucket | 4096-ptr_max |
| PARAM_VALUE | 1 | hd | 4096-ptr_max |
| PARAM_VALUE | 1 | hd->h.next | 0 |
| PARAM_VALUE | 1 | hd->h.pprev | 0 |
| BUF_SIZE | 1 | hd->clone | 16,40-s32max |
| DATA_SOURCE | 0 | bucket | $0 |
| DATA_SOURCE | 1 | hd | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &md->io_barrier | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &bucket->lock | |
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->swap_bios_semaphore | ||
| TYPE_LOCK | (struct hash_table_bucket)->lock | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-clone-target.c __start_next_hydration() -> __insert_region_hydration()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bucket | 4096-ptr_max |
| PARAM_VALUE | 1 | hd | 4096-ptr_max |
| PARAM_VALUE | 1 | hd->h.next | 0 |
| PARAM_VALUE | 1 | hd->h.pprev | 0 |
| DATA_SOURCE | 0 | bucket | r get_hash_table_bucket |
| DATA_SOURCE | 1 | hd | r alloc_hydration |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &bucket->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hash_table_bucket)->lock |