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 _al_get() -> lc_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 1 | enr | 1 |
| DATA_SOURCE | 1 | enr | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &device->al_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct drbd_device)->al_lock |
drivers/block/drbd/drbd_actlog.c _bme_get() -> lc_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lc | 4096-ptr_max |
| DATA_SOURCE | 1 | enr | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| TASK_NOT_RUNNING | |||
| LOCK2 | &device->al_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct drbd_device)->al_lock |
drivers/block/drbd/drbd_actlog.c drbd_try_rs_begin_io() -> lc_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lc | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->nr_elements | 1-u32max |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &device->al_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct drbd_device)->al_lock |
drivers/block/drbd/drbd_actlog.c update_rs_extent() -> lc_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 1 | enr | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | enr | 0-65537[c] |
| USER_DATA | 1 | enr | 0-65537[c] |
| 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 |