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_nl.c drbd_determine_dev_size() -> drbd_md_write()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->act_log 4096-ptr_max
PARAM_VALUE 0 device->al_wait.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 device->bitmap 0-1,4096-ptr_max
PARAM_VALUE 0 device->ldev 4096-ptr_max
PARAM_VALUE 0 device->ldev->backing_bdev 0,4096-ptr_max
PARAM_VALUE 0 device->ldev->md.flags 0,8-u32max
PARAM_VALUE 0 device->md_io.current_use 2322461615860039680
PARAM_VALUE 0 device->md_io.in_use.counter 0-s32max
PARAM_VALUE 0 device->md_sync_timer.entry.pprev 0
PARAM_VALUE 0 device->md_sync_timer.flags 0-4194302
PARAM_VALUE 0 device->md_sync_timer.function 0
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
PARAM_VALUE 1 b 18379471554275704832,18446612682070032384
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
CAPPED_DATA 0 device->state.disk 1
DATA_SOURCE 0 device $0
DATA_SOURCE 1 b r drbd_md_get_buffer
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

drivers/block/drbd/drbd_nl.c drbd_determine_dev_size() -> drbd_md_write()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->act_log->free.next 4096-ptr_max
PARAM_VALUE 0 device->act_log->free.next->next 4096-ptr_max
PARAM_VALUE 0 device->act_log->in_use.next 4096-ptr_max
PARAM_VALUE 0 device->act_log->in_use.next->next 4096-ptr_max
PARAM_VALUE 0 device->act_log->in_use.next->prev 4096-ptr_max
PARAM_VALUE 0 device->act_log->nr_elements 1-u32max
PARAM_VALUE 0 device->act_log->pending_changes 0
PARAM_VALUE 0 device->al_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 device->al_wait.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 device->bitmap->bm_change.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 device->bitmap->bm_change.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 device->bitmap->bm_change.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 device->bitmap->bm_change.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 device->bitmap->bm_change.first_waiter->task->usage.refs.counter s32min-s32max
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->bitmap->n_bitmap_hints 0-64
PARAM_VALUE 0 device->ldev->backing_bdev 0,4096-ptr_max
PARAM_VALUE 0 device->ldev->md.md_offset 0,18446744073709551608
PARAM_VALUE 0 device->ldev->md.meta_dev_idx (-3)-(-1)
PARAM_VALUE 0 device->ldev->md_bdev 1-u64max
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->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->vdisk->part0 4096-ptr_max
PARAM_VALUE 1 b 18379471554275704832,18446612682070032384
PARAM_VALUE 1 b->al_nr_extents 0-4294967295
PARAM_VALUE 1 b->al_offset 0-4294967295
PARAM_VALUE 1 b->al_stripe_size_4k 0-4294967295
PARAM_VALUE 1 b->al_stripes 0-4294967295
PARAM_VALUE 1 b->bm_bytes_per_bit 4096
PARAM_VALUE 1 b->bm_offset 0-4294967295
PARAM_VALUE 1 b->flags 0-4294967295
PARAM_VALUE 1 b->la_peer_max_bio_size 0-4294967295
PARAM_VALUE 1 b->magic 2205418092
PARAM_VALUE 1 b->md_size_sect 0-4294967295
PARAM_VALUE 1 b->n_updates 0-64
PARAM_VALUE 1 b->reserved_u64_1 0
PARAM_VALUE 1 b->transaction_type 0
PARAM_VALUE 1 *b->context 0-4294967295
PARAM_VALUE 1 *b->update_extent_nr 0-4294967295
PARAM_VALUE 1 *b->update_slot_nr 0-u16max
CAPPED_DATA 0 device 1
DATA_SOURCE 0 device $0
DATA_SOURCE 1 b r drbd_md_get_buffer
STR_LEN 0 device->resync->name (-1)
MEM_ZERO 1 b
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

drivers/block/drbd/drbd_main.c drbd_md_sync() -> drbd_md_write()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->md_io.current_use 8169742862456565760
PARAM_VALUE 0 device->md_io.in_use.counter 0-s32max
PARAM_VALUE 0 device->md_sync_timer.entry.pprev 0
PARAM_VALUE 0 device->md_sync_timer.flags 0-4194302
PARAM_VALUE 0 device->md_sync_timer.function 0
PARAM_VALUE 0 device->state.disk 2-15
PARAM_VALUE 1 b 18379471554275704832,18446612682070032384
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
DATA_SOURCE 1 b r drbd_md_get_buffer
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
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 &sock->mutex
HALF_LOCKED2 device->state_mutex
HALF_LOCKED2 0 device->state_mutex