Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-writecache.c __writeback_throttle() -> wc_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | wc->max_writeback_jobs | 1-u32max |
| CAPPED_DATA | 0 | wc->max_writeback_jobs | 1 |
| CAPPED_DATA | 0 | wc->pause | 1 |
| DATA_SOURCE | 0 | wc | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-writecache.c __writecache_endio_pmem() -> wc_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->endio_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->endio_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->endio_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->endio_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->endio_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->endio_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->endio_list_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wc->endio_list_lock.owner | (-1) |
| PARAM_VALUE | 0 | wc->endio_list_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | wc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | wc->pmem_mode | 1 |
| BUF_SIZE | 0 | wc | 128 |
| BUF_SIZE | 0 | wc | 128 |
| DATA_SOURCE | 0 | wc | $0 |
| NOCHECK_CALL |
drivers/md/dm-writecache.c process_cleaner_mesg() -> wc_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | wc | 16,40-s32max |
| BUF_SIZE | 0 | wc | 16,40-s32max |
| DATA_SOURCE | 0 | wc | $2 |
| NOCHECK_CALL | |||
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-writecache.c process_clear_stats_mesg() -> wc_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | wc | 16,40-s32max |
| BUF_SIZE | 0 | wc | 16,40-s32max |
| DATA_SOURCE | 0 | wc | $2 |
| NOCHECK_CALL | |||
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-writecache.c process_flush_mesg() -> wc_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | wc | 16,40-s32max |
| BUF_SIZE | 0 | wc | 16,40-s32max |
| DATA_SOURCE | 0 | wc | $2 |
| NOCHECK_CALL | |||
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-writecache.c process_flush_mesg() -> wc_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->autocommit_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | wc->autocommit_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | wc->autocommit_timer.function | 0 |
| PARAM_VALUE | 0 | wc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | wc->ti | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->ti->table | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->ti->table->md | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->uncommitted_blocks | 0 |
| BUF_SIZE | 0 | wc | 16,40-s32max |
| BUF_SIZE | 0 | wc | 16,40-s32max |
| CAPPED_DATA | 0 | &wc->writeback_work | 1 |
| DATA_SOURCE | 0 | wc | $2 |
| NOCHECK_CALL | |||
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-writecache.c process_flush_on_suspend_mesg() -> wc_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | wc | 16,40-s32max |
| BUF_SIZE | 0 | wc | 16,40-s32max |
| DATA_SOURCE | 0 | wc | $2 |
| NOCHECK_CALL | |||
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-writecache.c writecache_endio_thread() -> wc_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->endio_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->endio_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->endio_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->endio_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->endio_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->endio_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->endio_list_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wc->endio_list_lock.owner | (-1) |
| PARAM_VALUE | 0 | wc->endio_list_lock.owner_cpu | u32max |
| BUF_SIZE | 0 | wc | 128 |
| BUF_SIZE | 0 | wc | 128 |
| CAPPED_DATA | 0 | &wc->endio_list | 1 |
| DATA_SOURCE | 0 | wc | $0 |
| NOCHECK_CALL |
drivers/md/dm-writecache.c writecache_flush_thread() -> wc_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | wc | $0 |
| NOCHECK_CALL |
drivers/md/dm-writecache.c writecache_flush_work() -> wc_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-writecache.c writecache_map() -> wc_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | wc | 16,40-s32max |
| BUF_SIZE | 0 | wc | 16,40-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &md->io_barrier | ||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->swap_bios_semaphore | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-writecache.c writecache_resume() -> wc_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | wc | 16,40-s32max |
| BUF_SIZE | 0 | wc | 16,40-s32max |
| NOCHECK_CALL | |||
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-writecache.c writecache_suspend() -> wc_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->autocommit_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | wc->autocommit_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | wc->autocommit_timer.function | 0 |
| PARAM_VALUE | 0 | wc->max_age_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | wc->max_age_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | wc->max_age_timer.function | 0 |
| BUF_SIZE | 0 | wc | 16,40-s32max |
| BUF_SIZE | 0 | wc | 16,40-s32max |
| CAPPED_DATA | 0 | &wc->autocommit_timer | 1 |
| CAPPED_DATA | 0 | &wc->max_age_timer | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-writecache.c writecache_suspend() -> wc_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->autocommit_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | wc->autocommit_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | wc->autocommit_timer.function | 0 |
| PARAM_VALUE | 0 | wc->flush_on_suspend | 0 |
| PARAM_VALUE | 0 | wc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | wc->max_age_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | wc->max_age_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | wc->max_age_timer.function | 0 |
| PARAM_VALUE | 0 | wc->uncommitted_blocks | 0 |
| PARAM_VALUE | 0 | wc->writeback_wq | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->writeback_wq->flags | 0-4294967295 |
| PARAM_VALUE | 0 | wc->writeback_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | wc->writeback_wq->nr_drainers | s32min-s32max |
| PARAM_VALUE | 0 | wc->writeback_wq->nr_pwqs_to_flush.counter | s32min-s32max |
| PARAM_VALUE | 0 | wc->writeback_wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | *wc->writeback_wq->lockdep_map->name | 0-255 |
| BUF_SIZE | 0 | wc | 16,40-s32max |
| BUF_SIZE | 0 | wc | 16,40-s32max |
| CAPPED_DATA | 0 | &wc->autocommit_timer | 1 |
| CAPPED_DATA | 0 | &wc->max_age_timer | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-writecache.c writecache_wait_on_freelist() -> wc_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->freelist_wait.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| BUF_SIZE | 0 | wc | (-1),16,40-s32max |
| BUF_SIZE | 0 | wc | (-1),16,40-s32max |
| DATA_SOURCE | 0 | wc | $0 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->io_barrier |
drivers/md/dm-writecache.c writecache_writeback() -> wc_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| CAPPED_DATA | 0 | wc->pause | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-writecache.c writecache_writeback() -> wc_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->dm_kcopyd->job_pool.curr_nr | s32min-s32max |
| PARAM_VALUE | 0 | wc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | wc->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | wc->writeback_all | 1-u32max |
| CAPPED_DATA | 0 | wc->pause | 1 |
| CAPPED_DATA | 0 | &wc->lru | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |