Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/block/drbd/drbd_main.c
- drivers/block/drbd/drbd_nl.c
- drivers/block/drbd/drbd_worker.c
- lib/lru_cache.c, line 610
Smatch caller information:
drivers/block/drbd/drbd_nl.c drbd_check_al_size() -> lc_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lc | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->element_off | 0 |
| PARAM_VALUE | 0 | lc->element_size | 48 |
| PARAM_VALUE | 0 | lc->free.next | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->free.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->free.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->free.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->free.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->in_use.next | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->in_use.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->in_use.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->in_use.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->in_use.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->lc_cache | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->lc_element | 16,4096-ptr_max |
| PARAM_VALUE | 0 | lc->lc_slot | 16,4096-ptr_max |
| PARAM_VALUE | 0 | lc->lru.next | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->lru.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->lru.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->lru.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->lru.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->max_pending_changes | 64 |
| PARAM_VALUE | 0 | lc->name | 1295643500801425408 |
| PARAM_VALUE | 0 | lc->nr_elements | 0-16777216 |
| PARAM_VALUE | 0 | lc->to_be_changed.next | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->to_be_changed.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->to_be_changed.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->to_be_changed.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->to_be_changed.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | lc | 176 |
| BUF_SIZE | 0 | lc->name | 8 |
| DATA_SOURCE | 0 | lc | r lc_create |
| STR_LEN | 0 | lc->name | 7 |
| TERMINATED | 0 | lc->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | lc->nr_elements | |
| LOCK2 | &adm_ctx->resource->adm_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &device->resource->conf_update | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| TYPE_LOCK | (struct drbd_resource)->adm_mutex |
drivers/block/drbd/drbd_nl.c drbd_check_al_size() -> lc_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lc | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adm_ctx->resource->adm_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &device->resource->conf_update | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| TYPE_LOCK | (struct drbd_resource)->adm_mutex |
drivers/block/drbd/drbd_nl.c drbd_nl_attach_doit() -> lc_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | lc->element_off | 16 |
| PARAM_VALUE | 0 | lc->element_size | 64 |
| PARAM_VALUE | 0 | lc->free.next | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->free.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->free.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->free.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->free.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->in_use.next | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->in_use.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->in_use.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->in_use.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->in_use.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->lc_cache | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->lc_element | 16,4096-ptr_max |
| PARAM_VALUE | 0 | lc->lc_slot | 16,4096-ptr_max |
| PARAM_VALUE | 0 | lc->lru.next | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->lru.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->lru.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->lru.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->lru.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->max_pending_changes | 1 |
| PARAM_VALUE | 0 | lc->name | 8809228851761344512 |
| PARAM_VALUE | 0 | lc->nr_elements | 61 |
| PARAM_VALUE | 0 | lc->to_be_changed.next | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->to_be_changed.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->to_be_changed.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->to_be_changed.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->to_be_changed.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | lc | (-1)-0,176 |
| BUF_SIZE | 0 | lc | (-1)-0,176 |
| BUF_SIZE | 0 | lc->name | (-1),7 |
| STR_LEN | 0 | lc->name | (-1),6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | lc->nr_elements | |
| LOCK2 | &adm_ctx->resource->adm_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| TYPE_LOCK | (struct drbd_resource)->adm_mutex |
drivers/block/drbd/drbd_main.c drbd_destroy_device() -> lc_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/block/drbd/drbd_main.c drbd_destroy_device() -> lc_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/block/drbd/drbd_worker.c drbd_ldev_destroy() -> lc_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
drivers/block/drbd/drbd_worker.c drbd_ldev_destroy() -> lc_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |