Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/raid5.c raid5_cache_scan() -> drop_one_stripe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->max_nr_stripes | (-2147483647)-s32max |
| PARAM_VALUE | 0 | conf->min_nr_stripes | s32min-2147483646 |
| BUF_SIZE | 0 | conf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | conf | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | conf->min_nr_stripes | 1 |
| CAPPED_DATA | 0 | &conf->cache_size_mutex | 1 |
| PARAM_COMPARE | 0 | conf->max_nr_stripes | > $0->min_nr_stripes |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | conf | unit_byte |
| LOCK2 | 0 | &conf->cache_size_mutex | |
| HALF_LOCKED2 | global &bch_register_lock | ||
| TYPE_LOCK | (struct r5conf)->cache_size_mutex |
drivers/md/raid5.c raid5_set_cache_size() -> drop_one_stripe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->cache_size_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | conf->cache_size_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | conf->cache_size_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | conf->cache_size_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | conf->cache_size_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | conf->cache_size_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | conf->cache_size_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | conf->max_nr_stripes | 18-s32max |
| PARAM_VALUE | 0 | conf->min_nr_stripes | 17-32768 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| CAPPED_DATA | 0 | &conf->cache_size_mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | conf->min_nr_stripes | 17-32768 |
| NO_OVERFLOW_SIMPLE | 0 | conf->min_nr_stripes | |
| LOCK2 | 0 | &conf->cache_size_mutex | |
| HALF_LOCKED2 | &mddev->reconfig_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &rs->md.reconfig_mutex | ||
| TYPE_LOCK | (struct r5conf)->cache_size_mutex |
drivers/md/raid5.c raid5_set_cache_size() -> drop_one_stripe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->cache_size_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | conf->cache_size_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | conf->cache_size_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | conf->cache_size_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | conf->cache_size_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | conf->cache_size_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | conf->cache_size_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | conf->max_nr_stripes | 18-2147483646 |
| PARAM_VALUE | 0 | conf->min_nr_stripes | 17-32768 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| CAPPED_DATA | 0 | &conf->cache_size_mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | conf->min_nr_stripes | 17-32768 |
| NO_OVERFLOW_SIMPLE | 0 | conf->min_nr_stripes | |
| LOCK2 | 0 | &conf->cache_size_mutex | |
| HALF_LOCKED2 | &mddev->reconfig_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &rs->md.reconfig_mutex | ||
| TYPE_LOCK | (struct r5conf)->cache_size_mutex |
drivers/md/raid5.c shrink_stripes() -> drop_one_stripe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->log | 0 |
| PARAM_VALUE | 0 | conf->log_private | 0 |
| PARAM_VALUE | 0 | conf->log_private->bs->rescue_workqueue->lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | conf->log_private->bs->rescue_workqueue->rescuer->task->delays->lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | conf->log_private->bs->rescue_workqueue->rescuer->task->pi_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | conf->log_private->flush_bs->rescue_workqueue->lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | conf->log_private->flush_bs->rescue_workqueue->rescuer->task->delays->lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | conf->log_private->flush_bs->rescue_workqueue->rescuer->task->pi_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | conf->log_private->io_kc->kobj.kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | conf->log_private->io_kc->kobj.release.cpu | s32min-s32max |
| PARAM_VALUE | 0 | conf->log_private->io_kc->kobj.release.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | conf->log_private->io_kc->kobj.state_add_uevent_sent | 0-1 |
| PARAM_VALUE | 0 | conf->log_private->io_kc->kobj.state_initialized | 0-1 |
| PARAM_VALUE | 0 | conf->log_private->io_kc->kobj.state_remove_uevent_sent | 0-1 |
| PARAM_VALUE | 0 | conf->log_private->io_kc->kobj.uevent_suppress | 0-1 |
| PARAM_VALUE | 0 | conf->log_private->io_kc->refcount | s32min-s32max |
| PARAM_VALUE | 0 | conf->max_nr_stripes | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | conf->mddev | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->shrinker | 0,4096-ptr_max |
| PARAM_VALUE | 0 | conf->shrinker->debugfs_entry | 0 |
| PARAM_VALUE | 0 | conf->shrinker->done.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | conf->shrinker->done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | conf->shrinker->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | conf->shrinker->done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | conf->shrinker->done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->shrinker->done.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->shrinker->flags | 0,2-4294967294 |
| PARAM_VALUE | 0 | conf->shrinker->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->shrinker->name | 0 |
| PARAM_VALUE | 0 | conf->shrinker->rcu.func | 1-u64max |
| PARAM_VALUE | 0 | conf->shrinker->rcu.next | 0 |
| PARAM_VALUE | 0 | conf->worker_groups | 0 |
| PARAM_VALUE | 0 | *conf->log->reclaim_thread->tsk->delays->lock.owner | (-4611686018427387904)-4611686018427387903 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| DATA_SOURCE | 0 | conf | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mddev->reconfig_mutex | ||
| HALF_LOCKED2 | &rs->md.reconfig_mutex |
drivers/md/raid5.c shrink_stripes() -> drop_one_stripe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->log | 0 |
| PARAM_VALUE | 0 | conf->log_private | 0 |
| PARAM_VALUE | 0 | conf->log_private->bs->rescue_workqueue->lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | conf->log_private->bs->rescue_workqueue->rescuer->task->delays->lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | conf->log_private->bs->rescue_workqueue->rescuer->task->pi_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | conf->log_private->flush_bs->rescue_workqueue->lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | conf->log_private->flush_bs->rescue_workqueue->rescuer->task->delays->lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | conf->log_private->flush_bs->rescue_workqueue->rescuer->task->pi_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | conf->log_private->io_kc->kobj.kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | conf->log_private->io_kc->kobj.release.cpu | s32min-s32max |
| PARAM_VALUE | 0 | conf->log_private->io_kc->kobj.release.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | conf->log_private->io_kc->kobj.state_add_uevent_sent | 0-1 |
| PARAM_VALUE | 0 | conf->log_private->io_kc->kobj.state_initialized | 0-1 |
| PARAM_VALUE | 0 | conf->log_private->io_kc->kobj.state_remove_uevent_sent | 0-1 |
| PARAM_VALUE | 0 | conf->log_private->io_kc->kobj.uevent_suppress | 0-1 |
| PARAM_VALUE | 0 | conf->log_private->io_kc->refcount | s32min-s32max |
| PARAM_VALUE | 0 | conf->max_nr_stripes | s32min-(-1),1-2147483646 |
| PARAM_VALUE | 0 | conf->mddev | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->shrinker | 0,4096-ptr_max |
| PARAM_VALUE | 0 | conf->shrinker->debugfs_entry | 0 |
| PARAM_VALUE | 0 | conf->shrinker->done.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | conf->shrinker->done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | conf->shrinker->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | conf->shrinker->done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | conf->shrinker->done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->shrinker->done.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->shrinker->flags | 0,2-4294967294 |
| PARAM_VALUE | 0 | conf->shrinker->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->shrinker->name | 0 |
| PARAM_VALUE | 0 | conf->shrinker->rcu.func | 1-u64max |
| PARAM_VALUE | 0 | conf->shrinker->rcu.next | 0 |
| PARAM_VALUE | 0 | conf->worker_groups | 0 |
| PARAM_VALUE | 0 | *conf->log->reclaim_thread->tsk->delays->lock.owner | (-4611686018427387904)-4611686018427387903 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| DATA_SOURCE | 0 | conf | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mddev->reconfig_mutex | ||
| HALF_LOCKED2 | &rs->md.reconfig_mutex |