Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/block/drbd/drbd_actlog.c drbd_al_begin_io_nonblock() -> lc_find()

Type Parameter Key Value
CAPPED_DATA 1 enr 1
PREEMPT_ADD
LOCK2 &device->al_lock
LOCK2 irq
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct drbd_device)->al_lock

drivers/block/drbd/drbd_actlog.c drbd_al_complete_io() -> lc_find()

Type Parameter Key Value
CAPPED_DATA 1 enr 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &device->al_lock
LOCK2 flags
TYPE_LOCK (struct drbd_device)->al_lock

drivers/block/drbd/drbd_actlog.c drbd_rs_complete_io() -> lc_find()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &device->al_lock
LOCK2 flags
TYPE_LOCK (struct drbd_device)->al_lock

drivers/block/drbd/drbd_actlog.c drbd_try_rs_begin_io() -> lc_find()

Type Parameter Key Value
PARAM_VALUE 1 enr 0-4294967294
PREEMPT_ADD <- disables preempt
LOCK2 &device->al_lock
LOCK2 irq
TYPE_LOCK (struct drbd_device)->al_lock

drivers/block/drbd/drbd_actlog.c find_active_resync_extent() -> lc_find()

Type Parameter Key Value
CAPPED_DATA 1 enr 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &device->al_lock
LOCK2 irq
TYPE_LOCK (struct drbd_device)->al_lock

drivers/block/drbd/drbd_actlog.c update_rs_extent() -> lc_find()

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

drivers/block/drbd/drbd_receiver.c drbd_rs_should_slow_down() -> lc_find()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
LOCK2 &device->al_lock
LOCK2 irq
TYPE_LOCK (struct drbd_device)->al_lock