Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/block/drbd/drbd_bitmap.c bm_change_bits_to() -> __bm_print_lock_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap->bm_pages | 0-9223372036854775807 |
| 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 | func | 5667172724041617408 |
| BUF_SIZE | 1 | func | 18 |
| DATA_SOURCE | 0 | device | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &b->bm_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &device->resource->req_lock | ||
| HALF_LOCKED2 | &resource->req_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct drbd_bitmap)->bm_lock |
drivers/block/drbd/drbd_bitmap.c bm_find_next() -> __bm_print_lock_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap->bm_bits | 0-9223372036854775807 |
| PARAM_VALUE | 0 | device->bitmap->bm_flags | 4-u32max |
| PARAM_VALUE | 0 | device->bitmap->bm_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->bitmap->bm_pages | 0-9223372036854775807 |
| PARAM_VALUE | 0 | device->rq_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | device->rs_total | 1-u64max |
| 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 | func | 1706008070718021632 |
| BUF_SIZE | 1 | func | 13 |
| DATA_SOURCE | 0 | device | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &b->bm_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct drbd_bitmap)->bm_lock |
drivers/block/drbd/drbd_bitmap.c drbd_bm_count_bits() -> __bm_print_lock_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap->bm_flags | 4-u32max |
| 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 | func | 6582813160754106368 |
| BUF_SIZE | 0 | device | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | device | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | func | 19 |
| DATA_SOURCE | 0 | device | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | device | unit_byte |
| LOCK2 | &b->bm_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &resource->req_lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct drbd_bitmap)->bm_lock |
drivers/block/drbd/drbd_bitmap.c drbd_bm_e_weight() -> __bm_print_lock_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap->bm_flags | 4-u32max |
| PARAM_VALUE | 0 | device->resync | 4096-ptr_max |
| PARAM_VALUE | 0 | device->resync->nr_elements | 1-u32max |
| PARAM_VALUE | 0 | device->vdisk | 4096-ptr_max |
| PARAM_VALUE | 1 | func | 4492356418514083840 |
| BUF_SIZE | 1 | func | 17 |
| DATA_SOURCE | 0 | device | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &b->bm_lock | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &device->al_lock | |
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct drbd_bitmap)->bm_lock | ||
| TYPE_LOCK | (struct drbd_device)->al_lock |
drivers/block/drbd/drbd_bitmap.c drbd_bm_test_bit() -> __bm_print_lock_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap->bm_bits | 1-9223372036854775807 |
| PARAM_VALUE | 0 | device->bitmap->bm_flags | 4-u32max |
| PARAM_VALUE | 0 | device->bitmap->bm_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->bm_resync_fo | 1-65,32769-18446744073709518913 |
| PARAM_VALUE | 0 | device->rq_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | device->rs_total | 1-u64max |
| 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 | func | 6544307720959909888 |
| BUF_SIZE | 1 | func | 17 |
| CAPPED_DATA | 0 | device->bitmap->bm_bits | 1 |
| CAPPED_DATA | 0 | device->bm_resync_fo | 1 |
| DATA_SOURCE | 0 | device | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &b->bm_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct drbd_bitmap)->bm_lock |