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 _bme_get() -> lc_committed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lc | 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.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->nr_elements | 1-u32max |
| 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.next->prev | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &device->al_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct drbd_device)->al_lock |
drivers/block/drbd/drbd_actlog.c drbd_al_begin_io_commit() -> lc_committed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lc | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->pending_changes | 1-u32max |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &device->al_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct drbd_device)->al_lock |
drivers/block/drbd/drbd_actlog.c drbd_al_initialize() -> lc_committed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lc | 4096-ptr_max |
| 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 | ||
| TYPE_LOCK | (struct drbd_device)->al_lock |
drivers/block/drbd/drbd_actlog.c drbd_try_rs_begin_io() -> lc_committed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lc | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->nr_elements | 1-u32max |
| 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.next->prev | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &device->al_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct drbd_device)->al_lock |
drivers/block/drbd/drbd_actlog.c update_rs_extent() -> lc_committed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lc | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->nr_elements | 1-u32max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &device->al_lock | ||
| HALF_LOCKED2 | &device->resource->req_lock | ||
| HALF_LOCKED2 | &resource->req_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct drbd_device)->al_lock |