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_main.c drbd_bmio_set_n_write() -> drbd_md_set_flag()

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.osq.tail.counter 0-s32max
PARAM_VALUE 1 flag 8
BUF_SIZE 0 device->p_uuid (-1),8
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)
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_worker.c go_diskless() -> drbd_md_set_flag()

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->list.prev->prev 5159360019465732096
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,16-4294967295
PARAM_VALUE 0 device->bitmap->bm_task 0
PARAM_VALUE 0 device->bitmap->bm_why 0
PARAM_VALUE 0 device->ldev 1-u64max
PARAM_VALUE 0 device->md_sync_timer->entry.pprev 4096-ptr_max
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
PARAM_VALUE 1 flag 8
DATA_SOURCE 0 device $0
NOCHECK_CALL