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_resource_state_change() -> notify_resource_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 resource_info 6230211148641800192
PARAM_VALUE 3 resource_info->res_susp 0-1
PARAM_VALUE 3 resource_info->res_susp_fen 0-1
PARAM_VALUE 3 resource_info->res_susp_nod 0-1
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_resource() -> notify_resource_state()

Type Parameter Key Value
PARAM_VALUE 0 skb 0
PARAM_VALUE 1 seq 0
PARAM_VALUE 2 resource 4096-ptr_max
PARAM_VALUE 2 resource->adm_mutex.dep_map->name 0-255
PARAM_VALUE 2 resource->adm_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 2 resource->adm_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 2 resource->adm_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 2 resource->adm_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 2 resource->adm_mutex.wait_lock.owner (-1)
PARAM_VALUE 2 resource->adm_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 2 resource->devices.idr_rt.xa_head 0
PARAM_VALUE 3 resource_info 0
PARAM_VALUE 4 type 3
CAPPED_DATA 2 &resource->connections 1
DATA_SOURCE 2 resource $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &notification_mutex
LOCK2 2 &resource->adm_mutex
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_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_resource_doit() -> notify_resource_state()

Type Parameter Key Value
PARAM_VALUE 0 skb 0
PARAM_VALUE 1 seq 0
PARAM_VALUE 2 resource 4096-ptr_max
PARAM_VALUE 2 resource->adm_mutex.magic 4096-ptr_max
PARAM_VALUE 2 resource->conf_update.magic 4096-ptr_max
PARAM_VALUE 2 resource->connections.next 4096-ptr_max
PARAM_VALUE 2 resource->connections.prev 4096-ptr_max
PARAM_VALUE 2 resource->cpu_mask 1-u64max
PARAM_VALUE 2 resource->debugfs_res 4096-u64max
PARAM_VALUE 2 resource->debugfs_res_connections 4096-u64max
PARAM_VALUE 2 resource->debugfs_res_connections->d_children.first 4096-ptr_max
PARAM_VALUE 2 resource->debugfs_res_connections->d_sb 4096-ptr_max
PARAM_VALUE 2 resource->debugfs_res_connections->d_sb->s_fs_info->s_bmap_bits 0-4294967295
PARAM_VALUE 2 resource->debugfs_res_connections->d_sb->s_fs_info->s_bmap_count 0-4294967295
PARAM_VALUE 2 resource->debugfs_res_connections->d_sb->s_fs_info->s_data_blksize 0-4294967295
PARAM_VALUE 2 resource->debugfs_res_connections->d_sb->s_fs_info->s_hashsize s32min-s32max
PARAM_VALUE 2 resource->debugfs_res_connections->d_sb->s_fs_info->s_last_bmap 0-4294967295
PARAM_VALUE 2 resource->debugfs_res_connections->d_sb->s_fs_info->s_mode 0-u16max
PARAM_VALUE 2 resource->debugfs_res_connections->d_sb->s_fs_info->s_partition_size s32min-s32max
PARAM_VALUE 2 resource->debugfs_res_connections->d_sb->s_fs_info->s_reserved s32min-s32max
PARAM_VALUE 2 resource->debugfs_res_connections->d_sb->s_fs_info->s_root_block 0-4294967295
PARAM_VALUE 2 resource->debugfs_res_connections->d_sb->s_fs_info->work_queued s32min-s32max
PARAM_VALUE 2 resource->debugfs_res_in_flight_summary 4096-u64max
PARAM_VALUE 2 resource->debugfs_res_volumes 4096-u64max
PARAM_VALUE 2 resource->devices.idr_base 0
PARAM_VALUE 2 resource->devices.idr_next 0
PARAM_VALUE 2 resource->devices.idr_rt.xa_flags 33554436
PARAM_VALUE 2 resource->kref.refcount.refs.counter 1
PARAM_VALUE 2 resource->name 4096-ptr_max
PARAM_VALUE 2 resource->resources.next 6993994165933027328
PARAM_VALUE 2 resource->resources.prev 0,4096-ptr_max
PARAM_VALUE 2 resource->write_ordering 2
PARAM_VALUE 2 *resource->debugfs_res_connections->d_children.first->pprev 1-u64max
PARAM_VALUE 3 resource_info 5936980902840266752
PARAM_VALUE 3 resource_info->res_role 1-2
PARAM_VALUE 3 resource_info->res_susp 0-1
PARAM_VALUE 3 resource_info->res_susp_fen 0-1
PARAM_VALUE 3 resource_info->res_susp_nod 0-1
PARAM_VALUE 4 type 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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