Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/block/drbd/drbd_actlog.c _try_lc_del() -> lc_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lc | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->lc_element | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->nr_elements | 1-u32max |
| PARAM_VALUE | 1 | e | 4096-ptr_max |
| PARAM_VALUE | 1 | e->lc_number | 0-4294967294 |
| PARAM_VALUE | 1 | e->refcnt | 0 |
| DATA_SOURCE | 1 | e | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | lc->nr_elements | |
| LOCK2 | &device->al_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &adm_ctx->resource->adm_mutex | ||
| HALF_LOCKED2 | &device->resource->conf_update | ||
| HALF_LOCKED2 | device->state_mutex | ||
| TYPE_LOCK | (struct drbd_device)->al_lock |
drivers/block/drbd/drbd_actlog.c drbd_rs_del_all() -> lc_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lc | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->lc_element | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->nr_elements | 1-u32max |
| PARAM_VALUE | 1 | e | 4096-ptr_max |
| PARAM_VALUE | 1 | e->lc_number | 0-4294967294 |
| PARAM_VALUE | 1 | e->refcnt | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &device->al_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | device->state_mutex | ||
| TYPE_LOCK | (struct drbd_device)->al_lock |