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_state.c notify_device_state_change() -> notify_device_state()

Type Parameter Key Value
PARAM_VALUE 0 skb 0,4096-ptr_max
PARAM_VALUE 0 skb->data 4096-ptr_max
PARAM_VALUE 0 skb->data_len 0-1
PARAM_VALUE 0 skb->destructor 172217845709488128
PARAM_VALUE 0 skb->sk 4096-ptr_max
PARAM_VALUE 3 device_info 4872977450736291840
PARAM_VALUE 4 type 0,2,32768,32770
BUF_SIZE 0 skb (-1)-s32max
BUF_SIZE 0 skb (-1)-s32max
DATA_SOURCE 0 skb $0
DATA_SOURCE 1 seq $1
DATA_SOURCE 4 type $3
BIT_INFO 4 type 0x0,0x8002
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &notification_mutex

drivers/block/drbd/drbd_nl.c adm_del_minor() -> notify_device_state()

Type Parameter Key Value
PARAM_VALUE 0 skb 0
PARAM_VALUE 1 seq 0
PARAM_VALUE 2 device 4096-ptr_max
PARAM_VALUE 2 device->resource 4096-ptr_max
PARAM_VALUE 2 device->resource->req_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 device->state.disk 0
PARAM_VALUE 2 device->state.role 2
PARAM_VALUE 2 device->state_mutex->first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 2 device->vdisk->part0->bd_device.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 2 device->vdisk->part0->bd_device.power.wakeirq->status 0-4294967295
PARAM_VALUE 2 device->vdisk->queue->mq_kobj->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 2 device->vdisk->queue_kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 3 device_info 0
PARAM_VALUE 4 type 3
CAPPED_DATA 2 &device->peer_devices 1
DATA_SOURCE 2 device $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &notification_mutex
HALF_LOCKED2 &adm_ctx->resource->adm_mutex
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &resource->adm_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct drbd_resource)->adm_mutex

drivers/block/drbd/drbd_nl.c drbd_nl_new_minor_doit() -> notify_device_state()

Type Parameter Key Value
PARAM_VALUE 0 skb 0
PARAM_VALUE 1 seq 0
PARAM_VALUE 2 device 4096-ptr_max
PARAM_VALUE 3 device_info 2597552211632406528
PARAM_VALUE 3 device_info->dev_disk_state 0-15
PARAM_VALUE 4 type 1,32769
CAPPED_DATA 2 &device->peer_devices 1
DATA_SOURCE 2 device r minor_to_device
BIT_INFO 4 type 0x1,0x8001
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &adm_ctx->resource->adm_mutex
LOCK2 global &notification_mutex
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct drbd_resource)->adm_mutex