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_nl_resource_opts_doit() -> set_resource_options()

Type Parameter Key Value
PARAM_VALUE 0 resource 4096-ptr_max
PARAM_VALUE 0 resource->adm_mutex.dep_map->name 0-255
PARAM_VALUE 0 resource->adm_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 resource->adm_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 resource->adm_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 resource->adm_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 resource->adm_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 res_opts 4915172394791616512
CAPPED_DATA 0 &resource->adm_mutex 1
RX_PATH
TASK_NOT_RUNNING
USER_PTR 1 res_opts->cpu_mask
LOCK2 0 &resource->adm_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

drivers/block/drbd/drbd_main.c conn_create() -> set_resource_options()

Type Parameter Key Value
PARAM_VALUE 0 resource 4096-ptr_max
PARAM_VALUE 0 resource->adm_mutex.dep_map->name 0-255
PARAM_VALUE 0 resource->adm_mutex.first_waiter 0
PARAM_VALUE 0 resource->adm_mutex.magic 4096-ptr_max
PARAM_VALUE 0 resource->adm_mutex.osq.tail.counter 0
PARAM_VALUE 0 resource->adm_mutex.owner.counter 0
PARAM_VALUE 0 resource->conf_update.dep_map->name 0-255
PARAM_VALUE 0 resource->conf_update.first_waiter 0
PARAM_VALUE 0 resource->conf_update.magic 4096-ptr_max
PARAM_VALUE 0 resource->conf_update.osq.tail.counter 0
PARAM_VALUE 0 resource->conf_update.owner.counter 0
PARAM_VALUE 0 resource->connections.next 4096-ptr_max
PARAM_VALUE 0 resource->connections.next->next 4096-ptr_max
PARAM_VALUE 0 resource->connections.prev 4096-ptr_max
PARAM_VALUE 0 resource->connections.prev->next 4096-ptr_max
PARAM_VALUE 0 resource->connections.prev->prev 4096-ptr_max
PARAM_VALUE 0 resource->cpu_mask 1-u64max
PARAM_VALUE 0 resource->debugfs_res 4096-u64max
PARAM_VALUE 0 resource->debugfs_res->d_children.first 4096-ptr_max
PARAM_VALUE 0 resource->debugfs_res->d_sb 4096-ptr_max
PARAM_VALUE 0 resource->debugfs_res->d_sb->s_fs_info->s_bmap_bits 0-4294967295
PARAM_VALUE 0 resource->debugfs_res->d_sb->s_fs_info->s_bmap_count 0-4294967295
PARAM_VALUE 0 resource->debugfs_res->d_sb->s_fs_info->s_data_blksize 0-4294967295
PARAM_VALUE 0 resource->debugfs_res->d_sb->s_fs_info->s_hashsize s32min-s32max
PARAM_VALUE 0 resource->debugfs_res->d_sb->s_fs_info->s_last_bmap 0-4294967295
PARAM_VALUE 0 resource->debugfs_res->d_sb->s_fs_info->s_mode 0-u16max
PARAM_VALUE 0 resource->debugfs_res->d_sb->s_fs_info->s_partition_size s32min-s32max
PARAM_VALUE 0 resource->debugfs_res->d_sb->s_fs_info->s_reserved s32min-s32max
PARAM_VALUE 0 resource->debugfs_res->d_sb->s_fs_info->s_root_block 0-4294967295
PARAM_VALUE 0 resource->debugfs_res->d_sb->s_fs_info->work_queued s32min-s32max
PARAM_VALUE 0 resource->debugfs_res_connections 4096-u64max
PARAM_VALUE 0 resource->debugfs_res_in_flight_summary 4096-u64max
PARAM_VALUE 0 resource->debugfs_res_volumes 4096-u64max
PARAM_VALUE 0 resource->devices.idr_base 0
PARAM_VALUE 0 resource->devices.idr_next 0
PARAM_VALUE 0 resource->devices.idr_rt.xa_flags 33554436
PARAM_VALUE 0 resource->devices.idr_rt.xa_head 0
PARAM_VALUE 0 resource->kref.refcount.refs.counter 1
PARAM_VALUE 0 resource->name 4096-ptr_max
PARAM_VALUE 0 resource->resources.next 6993994165933027328
PARAM_VALUE 0 resource->resources.prev 0,4096-ptr_max
PARAM_VALUE 0 resource->write_ordering 2
PARAM_VALUE 0 *resource->debugfs_res->d_children.first->pprev 1-u64max
PARAM_VALUE 1 res_opts 2838206598129045504
BUF_SIZE 0 resource 608
DATA_SOURCE 0 resource r drbd_create_resource
DATA_SOURCE 1 res_opts $1
RX_PATH
TASK_NOT_RUNNING
USER_PTR 1 res_opts->cpu_mask
LOCK2 global &resources_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