Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/block/drbd/drbd_bitmap.c drbd_chk_io_error_() -> __drbd_chk_io_error_()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->bitmap 4096-ptr_max
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 4096-ptr_max
PARAM_VALUE 0 device->resource->req_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 device->state.disk 1-15
PARAM_VALUE 1 df 2
PARAM_VALUE 2 where 1352182889816522752
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
BUF_SIZE 2 where 6
BUF_SIZE 2 where 6
DATA_SOURCE 0 device $0
DATA_SOURCE 1 df $2
DATA_SOURCE 2 where $3
STR_LEN 0 device (-1),6,12,19,23,26-27,29,31-32
STR_LEN 0 device (-1),6,12,19,23,26-27,29,31-32
STR_LEN 0 device->resync->name (-1),6
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 device->act_log->nr_elements
NO_OVERFLOW_SIMPLE 0 device->resync->nr_elements
UNITS 0 device unit_byte
LOCK2 flags
LOCK2 0 &device->resource->req_lock
HALF_LOCKED2 0 device->state_mutex
TYPE_LOCK (struct drbd_resource)->req_lock

drivers/block/drbd/drbd_actlog.c drbd_chk_io_error_() -> __drbd_chk_io_error_()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 1 df 2-3
PARAM_VALUE 2 where 2161112022469652480,4880687688036601856
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
BUF_SIZE 2 where 23,34
BUF_SIZE 2 where 23,34
DATA_SOURCE 0 device $0
DATA_SOURCE 1 df $2
DATA_SOURCE 2 where $3
STR_LEN 0 device (-1),6,8,11-12,17,19-20,23,26-27,29,31-32
STR_LEN 0 device (-1),6,8,11-12,17,19-20,23,26-27,29,31-32
STR_LEN 0 device->resync->name (-1),6
HARD_MAX 1 df 3
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 device->act_log->lc_cache->sheaf_capacity
NO_OVERFLOW_SIMPLE 0 device->act_log->nr_elements
NO_OVERFLOW_SIMPLE 0 device->resync->lc_cache->sheaf_capacity
NO_OVERFLOW_SIMPLE 0 device->resync->nr_elements
UNITS 0 device unit_byte
LOCK2 flags
LOCK2 0 &device->resource->req_lock
HALF_LOCKED2 0 device->state_mutex
TYPE_LOCK (struct drbd_resource)->req_lock

drivers/block/drbd/drbd_main.c drbd_chk_io_error_() -> __drbd_chk_io_error_()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->act_log 4096-ptr_max
PARAM_VALUE 0 device->bitmap->bm_bits 0-s64max
PARAM_VALUE 0 device->bitmap->bm_flags 0-4294967295
PARAM_VALUE 0 device->bitmap->bm_number_of_pages 0-s64max
PARAM_VALUE 0 device->bitmap->bm_task 0-s64max
PARAM_VALUE 0 device->bitmap->bm_why 0-s64max
PARAM_VALUE 0 device->bitmap->bm_words 0-s64max
PARAM_VALUE 0 device->ldev 4096-ptr_max
PARAM_VALUE 0 device->ldev->md.meta_dev_idx (-3)-(-1)
PARAM_VALUE 0 device->ldev->md.uuid 4096-ptr_max
PARAM_VALUE 0 device->ldev->md_bdev 1-u64max
PARAM_VALUE 0 device->md_io.done 0
PARAM_VALUE 0 device->md_io.error (-19)
PARAM_VALUE 0 device->md_sync_timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 device->misc_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 device->misc_wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 device->resource 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->vdisk 4096-ptr_max
PARAM_VALUE 0 device->vdisk->part0 4096-ptr_max
PARAM_VALUE 1 df 2
PARAM_VALUE 2 where 4759746365326442496
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
BUF_SIZE 2 where 14
BUF_SIZE 2 where 14
DATA_SOURCE 0 device $0
DATA_SOURCE 1 df $2
DATA_SOURCE 2 where $3
STR_LEN 0 device (-1),8,11-12,17,19-20,23,26-27,29,31-32
STR_LEN 0 device (-1),8,11-12,17,19-20,23,26-27,29,31-32
STR_LEN 0 device->resync->name (-1),6
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 device->act_log->nr_elements
NO_OVERFLOW_SIMPLE 0 device->resync->nr_elements
LOCK2 flags
LOCK2 0 &device->resource->req_lock
HALF_LOCKED2 &adm_ctx->resource->adm_mutex
HALF_LOCKED2 0 device->state_mutex
TYPE_LOCK (struct drbd_resource)->req_lock

drivers/block/drbd/drbd_req.c __req_mod() -> __drbd_chk_io_error_()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 1 df 1
PARAM_VALUE 2 where 658561240360693760
BUF_SIZE 0 device s32min-(-1),1-s32max
BUF_SIZE 0 device s32min-(-1),1-s32max
BUF_SIZE 2 where 10
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 device unit_byte
LOCK2 &device->resource->req_lock
LOCK2 flags
TYPE_LOCK (struct drbd_resource)->req_lock

drivers/block/drbd/drbd_req.c __req_mod() -> __drbd_chk_io_error_()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 1 df 0
PARAM_VALUE 2 where 658561240360693760
BUF_SIZE 0 device s32min-(-1),1-s32max
BUF_SIZE 0 device s32min-(-1),1-s32max
BUF_SIZE 2 where 10
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 device unit_byte
LOCK2 &device->resource->req_lock
LOCK2 flags
TYPE_LOCK (struct drbd_resource)->req_lock

drivers/block/drbd/drbd_req.c request_timer_fn() -> __drbd_chk_io_error_()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->ldev 4096-ptr_max
PARAM_VALUE 0 device->pending_completion 4096-ptr_max
PARAM_VALUE 0 device->resource 4096-ptr_max
PARAM_VALUE 0 device->resource->req_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 device->state.disk 1-15
PARAM_VALUE 1 df 3
PARAM_VALUE 2 where 4334390791040229376
BUF_SIZE 2 where 17
CAPPED_DATA 0 device 1
CAPPED_DATA 0 device->state.disk 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 device unit_byte
LOCK2 irq
LOCK2 0 &device->resource->req_lock
TYPE_LOCK (struct drbd_resource)->req_lock

drivers/block/drbd/drbd_worker.c drbd_endio_read_sec_final() -> __drbd_chk_io_error_()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 1 df 0
PARAM_VALUE 2 where 3264516890976800768
BUF_SIZE 2 where 26
CAPPED_DATA 0 &device->read_ee 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &device->resource->req_lock
TYPE_LOCK (struct drbd_resource)->req_lock

drivers/block/drbd/drbd_worker.c drbd_endio_write_sec_final() -> __drbd_chk_io_error_()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->done_ee.prev 4096-ptr_max
PARAM_VALUE 0 device->done_ee.prev->next 4096-ptr_max
PARAM_VALUE 0 device->done_ee.prev->next->next 4096-ptr_max
PARAM_VALUE 1 df 1
PARAM_VALUE 2 where 5461370995724447744
BUF_SIZE 2 where 27
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &device->resource->req_lock
TYPE_LOCK (struct drbd_resource)->req_lock