Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/block/drbd/drbd_bitmap.c, line 742
- drivers/block/drbd/drbd_main.c
- drivers/block/drbd/drbd_receiver.c, line 4718
- drivers/block/drbd/drbd_state.c, line 1536
Smatch caller information:
drivers/block/drbd/drbd_bitmap.c drbd_bm_resize() -> drbd_bm_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap | 0,4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap->bm_change.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | device->bitmap->bm_change.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | device->resource | 4096-ptr_max |
| PARAM_VALUE | 0 | device->vdisk | 4096-ptr_max |
| PARAM_VALUE | 0 | device->vdisk->part0 | 4096-ptr_max |
| BUF_SIZE | 0 | device->ldev | (-1),208 |
| BUF_SIZE | 0 | device->resync | (-1),176 |
| BUF_SIZE | 0 | device->rs_plan_s | (-1),12-s32max |
| CAPPED_DATA | 0 | device | 1 |
| DATA_SOURCE | 0 | device | $0 |
| STR_LEN | 0 | device->resync->name | (-1),6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | device->act_log->nr_elements | |
| NO_OVERFLOW_SIMPLE | 0 | device->resync->nr_elements |
drivers/block/drbd/drbd_state.c drbd_bitmap_io_from_worker() -> drbd_bm_unlock()
| 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_change.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | device->bitmap->bm_change.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | device->bitmap->bm_flags | 0-4294967295 |
| PARAM_VALUE | 0 | device->ldev | 1-u64max |
| PARAM_VALUE | 0 | device->ov_last_oos_size | 0 |
| PARAM_VALUE | 0 | device->ov_last_oos_start | 0 |
| PARAM_VALUE | 0 | device->ov_start_sector | 0,8-18446744073709551608 |
| PARAM_VALUE | 0 | device->pending_bitmap_io.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->pending_bitmap_io.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->pending_bitmap_io.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->resource->req_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->resync_timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->resync_timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->resync_timer.entry.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | device->rs_last_sect_ev | 0 |
| PARAM_VALUE | 0 | *device->bitmap->bm_why | 0-255 |
| DATA_SOURCE | 0 | device | $0 |
| STR_LEN | 0 | device | 6 |
| STR_LEN | 0 | device | 6 |
| NOCHECK_CALL |
drivers/block/drbd/drbd_main.c drbd_bitmap_io() -> drbd_bm_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap | 0,4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | device->bitmap->bm_change.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | device->ldev | (-1),208 |
| BUF_SIZE | 0 | device->p_uuid | (-1),8 |
| BUF_SIZE | 0 | device->resync | (-1),176 |
| BUF_SIZE | 0 | device->rs_plan_s | (-1),12-s32max |
| CAPPED_DATA | 0 | device | 1 |
| DATA_SOURCE | 0 | device | $0 |
| STR_LEN | 0 | device | 12,19,23,26-27,29,31-32 |
| STR_LEN | 0 | device | 12,19,23,26-27,29,31-32 |
| STR_LEN | 0 | device->resync->name | (-1),6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | device->act_log->nr_elements | |
| NO_OVERFLOW_SIMPLE | 0 | device->resync->nr_elements | |
| HALF_LOCKED2 | &adm_ctx->resource->adm_mutex | ||
| HALF_LOCKED2 | 0 | device->state_mutex |
drivers/block/drbd/drbd_main.c w_bitmap_io() -> drbd_bm_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap | 0,4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap->bm_change.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | device->bitmap->bm_change.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | device->bitmap->bm_flags | 0-4294967295 |
| PARAM_VALUE | 0 | device->state.disk | 4-15 |
| NOCHECK_CALL |
drivers/block/drbd/drbd_receiver.c receive_bitmap() -> drbd_bm_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap | 0 |
| PARAM_VALUE | 0 | device->bitmap->bm_pages | 0-s64max |
| NOCHECK_CALL |