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 update_sync_bits() -> drbd_bm_count_bits()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->state.disk 1-15
PARAM_VALUE 0 device->vdisk 4096-ptr_max
PARAM_VALUE 0 device->vdisk->part0 4096-ptr_max
PARAM_VALUE 1 s 0-2305843009213693951
PARAM_VALUE 2 e 0-2305843009213693951
CAPPED_DATA 1 s 1
CAPPED_DATA 1 s 1
CAPPED_DATA 2 e 1
CAPPED_DATA 2 e 1
DATA_SOURCE 0 device $0
DATA_SOURCE 1 s $1 [m]
PARAM_COMPARE 1 s >= $2
BIT_INFO 1 s 0x0,0x3fffffffffffffff
NOSPEC 1 s
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 s 0-268439552[c]
HOST_DATA 2 e 4095-268443647[c]
USER_DATA 1 s 0-268439552[c]
USER_DATA 2 e 4095-268443647[c]
HALF_LOCKED2 &device->resource->req_lock
HALF_LOCKED2 &resource->req_lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

drivers/block/drbd/drbd_req.c drbd_may_do_local_read() -> drbd_bm_count_bits()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->state.disk 4
PARAM_VALUE 0 device->vdisk 4096-ptr_max
PARAM_VALUE 0 device->vdisk->part0 4096-ptr_max
PARAM_VALUE 1 s 0-2305843009213693951
PARAM_VALUE 2 e 0-2305843009213693951
BUF_SIZE 0 device s32min-(-1),1-s32max
BUF_SIZE 0 device s32min-(-1),1-s32max
DATA_SOURCE 0 device $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 s 0-2305843009213693951
USER_DATA 1 s 0-2305843009213693951
UNITS 0 device unit_byte
LOCK2 &resource->req_lock
LOCK2 irq
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct drbd_resource)->req_lock