Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/infiniband/core/mad.c ib_register_mad_agent() -> add_oui_reg_req()

Type Parameter Key Value
PARAM_VALUE 0 mad_reg_req 1976131128809517056,5196683269649178624,5254152691206615040,8909414470950113280
PARAM_VALUE 0 mad_reg_req->mgmt_class 1-79,129
PARAM_VALUE 0 mad_reg_req->mgmt_class_version 0-130
PARAM_VALUE 1 agent_priv 4096-ptr_max
PARAM_VALUE 1 agent_priv->agent.context 4096-ptr_max
PARAM_VALUE 1 agent_priv->agent.device 4096-ptr_max
PARAM_VALUE 1 agent_priv->agent.device->port_data 4096-ptr_max
PARAM_VALUE 1 agent_priv->agent.flags 0
PARAM_VALUE 1 agent_priv->agent.qp 1-u64max
PARAM_VALUE 1 agent_priv->agent.recv_handler 1-u64max
PARAM_VALUE 1 agent_priv->agent.rmpp_version 0-1
PARAM_VALUE 1 agent_priv->backlog_list.next 4096-ptr_max
PARAM_VALUE 1 agent_priv->backlog_list.next->next 4096-ptr_max
PARAM_VALUE 1 agent_priv->backlog_list.prev 4096-ptr_max
PARAM_VALUE 1 agent_priv->backlog_list.prev->next 4096-ptr_max
PARAM_VALUE 1 agent_priv->backlog_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 agent_priv->comp.done 0
PARAM_VALUE 1 agent_priv->comp.wait.lock.magic 3735899821
PARAM_VALUE 1 agent_priv->comp.wait.lock.owner (-1)
PARAM_VALUE 1 agent_priv->comp.wait.lock.owner_cpu u32max
PARAM_VALUE 1 agent_priv->comp.wait.task_list.next 4096-ptr_max
PARAM_VALUE 1 agent_priv->comp.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 1 agent_priv->comp.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 1 agent_priv->comp.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 1 agent_priv->comp.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 agent_priv->local_list.next 4096-ptr_max
PARAM_VALUE 1 agent_priv->local_list.next->next 4096-ptr_max
PARAM_VALUE 1 agent_priv->local_list.prev 4096-ptr_max
PARAM_VALUE 1 agent_priv->local_list.prev->next 4096-ptr_max
PARAM_VALUE 1 agent_priv->local_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 agent_priv->qp_info 4096-ptr_max
PARAM_VALUE 1 agent_priv->qp_info->qp 1-u64max
PARAM_VALUE 1 agent_priv->refcount.refs.counter 1
PARAM_VALUE 1 agent_priv->reg_req 1-u64max
PARAM_VALUE 1 agent_priv->rmpp_list.next 4096-ptr_max
PARAM_VALUE 1 agent_priv->rmpp_list.next->next 4096-ptr_max
PARAM_VALUE 1 agent_priv->rmpp_list.prev 4096-ptr_max
PARAM_VALUE 1 agent_priv->rmpp_list.prev->next 4096-ptr_max
PARAM_VALUE 1 agent_priv->rmpp_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 agent_priv->send_list.next 4096-ptr_max
PARAM_VALUE 1 agent_priv->send_list.next->next 4096-ptr_max
PARAM_VALUE 1 agent_priv->send_list.prev 4096-ptr_max
PARAM_VALUE 1 agent_priv->send_list.prev->next 4096-ptr_max
PARAM_VALUE 1 agent_priv->send_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 agent_priv->sol_fc_send_count 0
PARAM_VALUE 1 agent_priv->sol_fc_wait_count 0
PARAM_VALUE 1 agent_priv->wait_list.next 4096-ptr_max
PARAM_VALUE 1 agent_priv->wait_list.next->next 4096-ptr_max
PARAM_VALUE 1 agent_priv->wait_list.prev 4096-ptr_max
PARAM_VALUE 1 agent_priv->wait_list.prev->next 4096-ptr_max
PARAM_VALUE 1 agent_priv->wait_list.prev->prev 4096-ptr_max
BUF_SIZE 0 mad_reg_req (-1)-0,24
BUF_SIZE 0 mad_reg_req (-1)-0,24
BUF_SIZE 1 agent_priv 648
BUF_SIZE 1 agent_priv->agent.context s32min-(-1),1-s32max
BUF_SIZE 1 agent_priv->reg_req 0,24
CAPPED_DATA 1 agent_priv 1
CAPPED_DATA 1 agent_priv->agent.port_num 1
DATA_SOURCE 0 mad_reg_req $3
DATA_SOURCE 1 agent_priv r _kzalloc_noprof
STR_LEN 1 agent_priv->agent.device (-1),6-9,11-12
BIT_INFO 0 mad_reg_req->mgmt_class 0x0,0x7f
BIT_INFO 1 agent_priv->sol_fc_max 0x0,0x7fffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 agent_priv->agent.device->cc_dma_bounce 0-1
HOST_DATA 1 agent_priv->agent.device->client_data.xa_flags 0-u32max
HOST_DATA 1 agent_priv->agent.device->client_data_rwsem.osq.tail.counter 0-s32max
HOST_DATA 1 agent_priv->agent.device->compat_devs.xa_flags 0-u32max
HOST_DATA 1 agent_priv->agent.device->compat_devs_mutex.osq.tail.counter s32min-s32max
HOST_DATA 1 agent_priv->agent.device->compat_devs_mutex.owner.counter s64min-s64max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.bus_dma_limit 0-u64max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.coherent_dma_mask 0-u64max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.devt 0-u32max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.dma_uses_io_tlb 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.id 0-u32max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.kobj.kref.refcount.refs.counter s32min-s32max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.kobj.release.cpu s32min-s32max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.kobj.release.timer.expires 0-u64max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.kobj.release.timer.flags 0-u32max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.kobj.release.work.data.counter s64min-s64max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.kobj.state_add_uevent_sent 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.kobj.state_in_sysfs 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.kobj.state_initialized 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.kobj.state_remove_uevent_sent 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.kobj.uevent_suppress 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.links.status 0-u32max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.mutex.osq.tail.counter s32min-s32max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.mutex.owner.counter s64min-s64max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.numa_node s32min-s32max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.accounting_timestamp 0-u64max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.active_time 0-u64max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.async_suspend 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.autosuspend_delay s32min-s32max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.can_wakeup 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.child_count.counter s32min-s32max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.completion.done 0-u32max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.deferred_resume 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.detach_power_off 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.direct_complete 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.disable_depth 0-7
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.driver_flags 0-u32max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.early_init 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.idle_notification 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.ignore_children 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.in_dpm_list 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.irq_safe 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.is_late_suspended 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.is_noirq_suspended 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.is_prepared 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.is_suspended 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.last_busy 0-u64max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.last_status s32min-s32max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.links_count 0-u32max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.may_skip_resume 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.memalloc_noio 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.must_resume 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.needs_force_resume 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.no_callbacks 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.no_pm 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.no_pm_callbacks 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.out_band_wakeup 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.power_state.event s32min-s32max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.request 0-u32max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.request_pending 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.runtime_auto 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.runtime_error s32min-s32max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.runtime_status s32min-s32max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.smart_suspend 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.strict_midlayer 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.suspended_time 0-u64max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.syscore 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.timer_autosuspends 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.timer_expires 0-u64max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.usage_count.counter s32min-s32max
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.use_autosuspend 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.power.work_in_progress 0-1
HOST_DATA 1 agent_priv->agent.device->coredev.dev.removable 0-u32max
HOST_DATA 1 agent_priv->agent.device->event_handler_rwsem.count.counter s64min-s64max
HOST_DATA 1 agent_priv->agent.device->event_handler_rwsem.osq.tail.counter s32min-s32max
HOST_DATA 1 agent_priv->agent.device->event_handler_rwsem.owner.counter s64min-s64max
HOST_DATA 1 agent_priv->agent.device->hw_stats_attr_index 0-255
HOST_DATA 1 agent_priv->agent.device->is_switch 0-1
HOST_DATA 1 agent_priv->agent.device->iw_driver_flags 0-u32max
HOST_DATA 1 agent_priv->agent.device->lag_flags 0-u32max
HOST_DATA 1 agent_priv->agent.device->local_dma_lkey 0-u32max
HOST_DATA 1 agent_priv->agent.device->name_assign_type 0-u32max
HOST_DATA 1 agent_priv->agent.device->node_guid 0-u64max
HOST_DATA 1 agent_priv->agent.device->ops.driver_id 0-u32max
HOST_DATA 1 agent_priv->agent.device->ops.size_ib_ah 0-u64max
HOST_DATA 1 agent_priv->agent.device->ops.size_ib_counters 0-u64max
HOST_DATA 1 agent_priv->agent.device->ops.size_ib_cq 0-u64max
HOST_DATA 1 agent_priv->agent.device->ops.size_ib_dmah 0-u64max
HOST_DATA 1 agent_priv->agent.device->ops.size_ib_mw 0-u64max
HOST_DATA 1 agent_priv->agent.device->ops.size_ib_pd 0-u64max
HOST_DATA 1 agent_priv->agent.device->ops.size_ib_qp 0-u64max
HOST_DATA 1 agent_priv->agent.device->ops.size_ib_rwq_ind_table 0-u64max
HOST_DATA 1 agent_priv->agent.device->ops.size_ib_srq 0-u64max
HOST_DATA 1 agent_priv->agent.device->ops.size_ib_ucontext 0-u64max
HOST_DATA 1 agent_priv->agent.device->ops.size_ib_xrcd 0-u64max
HOST_DATA 1 agent_priv->agent.device->ops.size_rdma_counter 0-u64max
HOST_DATA 1 agent_priv->agent.device->ops.uverbs_abi_ver 0-u32max
HOST_DATA 1 agent_priv->agent.device->ops.uverbs_no_driver_id_binding 0-1
HOST_DATA 1 agent_priv->agent.device->ops.uverbs_robust_udata 0-1
HOST_DATA 1 agent_priv->agent.device->phys_port_cnt 0-u32max
HOST_DATA 1 agent_priv->agent.device->subdev_lock.osq.tail.counter s32min-s32max
HOST_DATA 1 agent_priv->agent.device->subdev_lock.owner.counter s64min-s64max
HOST_DATA 1 agent_priv->agent.device->type 0-u32max
HOST_DATA 1 agent_priv->agent.device->unreg_completion.done 0-u32max
HOST_DATA 1 agent_priv->agent.device->unreg_completion.wait.lock.magic 0-u32max
HOST_DATA 1 agent_priv->agent.device->unreg_completion.wait.lock.owner_cpu 0-u32max
HOST_DATA 1 agent_priv->agent.device->unreg_completion.wait.lock.raw_lock.locked 0-255
HOST_DATA 1 agent_priv->agent.device->unreg_completion.wait.lock.raw_lock.locked_pending 0-u16max
HOST_DATA 1 agent_priv->agent.device->unreg_completion.wait.lock.raw_lock.pending 0-255
HOST_DATA 1 agent_priv->agent.device->unreg_completion.wait.lock.raw_lock.tail 0-u16max
HOST_DATA 1 agent_priv->agent.device->unreg_completion.wait.lock.raw_lock.val.counter s32min-s32max
HOST_DATA 1 agent_priv->agent.device->unregistration_lock.osq.tail.counter s32min-s32max
HOST_DATA 1 agent_priv->agent.device->unregistration_lock.owner.counter s64min-s64max
HOST_DATA 1 agent_priv->agent.device->unregistration_work.data.counter s64min-s64max
HOST_DATA 1 agent_priv->agent.device->use_cq_dim 0-1
HOST_DATA 1 agent_priv->agent.device->uverbs_cmd_mask 0,2097152-u64max
USER_DATA 0 mad_reg_req->mgmt_class 2-79
USER_DATA 0 mad_reg_req->mgmt_class_version 0-130
USER_DATA 1 agent_priv->agent.flags 0
USER_DATA 1 agent_priv->agent.rmpp_version 0
NO_OVERFLOW_SIMPLE 1 agent_priv->agent.device->hw_stats_attr_index
NO_OVERFLOW_SIMPLE 1 agent_priv->agent.device->num_comp_vectors
USER_PTR 0 mad_reg_req->method_mask
USER_PTR 0 mad_reg_req->oui
LOCK2 &port_priv->reg_lock
LOCK2 irq
HALF_LOCKED2 &device->client_data_rwsem
HALF_LOCKED2 &file->mutex
HALF_LOCKED2 &file->port->file_mutex
HALF_LOCKED2 global &clients_rwsem
HALF_LOCKED2 global &devices_rwsem
TYPE_LOCK (struct ib_mad_port_private)->reg_lock