Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/block/drbd/drbd_nl.c drbd_nl_attach_doit() -> disk_conf_from_attrs()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->al_extents 1237
PARAM_VALUE 0 s->al_updates 1
PARAM_VALUE 0 s->c_delay_target 10
PARAM_VALUE 0 s->c_fill_target 100
PARAM_VALUE 0 s->c_max_rate 102400
PARAM_VALUE 0 s->c_min_rate 250
PARAM_VALUE 0 s->c_plan_ahead 20
PARAM_VALUE 0 s->disable_write_same 0
PARAM_VALUE 0 s->discard_zeroes_if_aligned 1
PARAM_VALUE 0 s->disk_barrier 0
PARAM_VALUE 0 s->disk_drain 1
PARAM_VALUE 0 s->disk_flushes 1
PARAM_VALUE 0 s->disk_timeout 0
PARAM_VALUE 0 s->fencing 0
PARAM_VALUE 0 s->md_flushes 1
PARAM_VALUE 0 s->on_io_error 2
PARAM_VALUE 0 s->read_balancing 0
PARAM_VALUE 0 s->resync_after (-1)
PARAM_VALUE 0 s->resync_rate 250
PARAM_VALUE 0 s->rs_discard_granularity 0
PARAM_VALUE 1 info 4201664097468477440
PARAM_VALUE 1 info->attrs 0,16,4096-ptr_max
PARAM_VALUE 1 info->extack 4971238048455385088
PARAM_VALUE 1 info->family 4096-ptr_max
PARAM_VALUE 1 info->nlhdr 4096-ptr_max
PARAM_VALUE 1 info->user_ptr 4096-ptr_max
BUF_SIZE 0 s 352
DATA_SOURCE 0 s r _kzalloc_noprof
DATA_SOURCE 1 info $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 info->snd_seq 0-u32max[u]
USER_PTR 1 info->genlhdr
USER_PTR 1 info->nlhdr
LOCK2 &adm_ctx->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_nl.c drbd_nl_chg_disk_opts_doit() -> disk_conf_from_attrs()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 info 4201664097468477440
PARAM_VALUE 1 info->attrs 0,16,4096-ptr_max
PARAM_VALUE 1 info->extack 4971238048455385088
PARAM_VALUE 1 info->family 4096-ptr_max
PARAM_VALUE 1 info->nlhdr 4096-ptr_max
PARAM_VALUE 1 info->user_ptr 4096-ptr_max
BUF_SIZE 0 s 352
DATA_SOURCE 0 s r _kmalloc_noprof
DATA_SOURCE 1 info $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 info->snd_seq 0-u32max[u]
USER_PTR 1 info->genlhdr
USER_PTR 1 info->nlhdr
LOCK2 &adm_ctx->resource->adm_mutex
LOCK2 &device->resource->conf_update
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
TYPE_LOCK (struct drbd_resource)->conf_update