Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/infiniband/ulp/ipoib/ipoib_main.c ipoib_add_port() -> ipoib_intf_alloc()

Type Parameter Key Value
PARAM_VALUE 0 hca 4096-ptr_max
PARAM_VALUE 0 hca->client_data.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hca->client_data_rwsem.dep_map->name 0-255
PARAM_VALUE 0 hca->client_data_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 hca->client_data_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 hca->client_data_rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 hca->client_data_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 hca->client_data_rwsem.osq.tail.counter 0-s32max
PARAM_VALUE 0 hca->client_data_rwsem.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 hca->coredev.ports_kobj->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 hca->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 hca->dev.parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 hca->dev.parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 hca->dev.parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 hca->port_data 4096-ptr_max
PARAM_VALUE 0 hca->port_data->cache.last_port_state 1,4
PARAM_VALUE 0 hca->port_data->immutable.pkey_tbl_len 0-u16max
PARAM_VALUE 0 hca->port_data->port_counter.mode.mode 0-2
PARAM_VALUE 2 name 7140890127272357888
BUF_SIZE 0 hca->driver_def (-1),32,112
BUF_SIZE 2 name 5
BUF_SIZE 2 name 5
CAPPED_DATA 1 port 1
DATA_SOURCE 0 hca $1
DATA_SOURCE 1 port $2
DATA_SOURCE 2 name $0
STR_LEN 0 hca (-1),6-9,11-12
STR_LEN 0 hca (-1),6-9,11-12
STR_LEN 1 port 4
STR_LEN 2 name 4
TERMINATED 2 name 1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 hca->cc_dma_bounce 0-1
HOST_DATA 0 hca->client_data.xa_flags 0-u32max
HOST_DATA 0 hca->client_data_rwsem.osq.tail.counter 0-s32max
HOST_DATA 0 hca->compat_devs.xa_flags 0-u32max
HOST_DATA 0 hca->compat_devs_mutex.osq.tail.counter s32min-s32max
HOST_DATA 0 hca->compat_devs_mutex.owner.counter s64min-s64max
HOST_DATA 0 hca->coredev.dev.bus_dma_limit 0-u64max
HOST_DATA 0 hca->coredev.dev.coherent_dma_mask 0-u64max
HOST_DATA 0 hca->coredev.dev.devt 0-u32max
HOST_DATA 0 hca->coredev.dev.dma_uses_io_tlb 0-1
HOST_DATA 0 hca->coredev.dev.id 0-u32max
HOST_DATA 0 hca->coredev.dev.kobj.kref.refcount.refs.counter s32min-s32max
HOST_DATA 0 hca->coredev.dev.kobj.release.cpu s32min-s32max
HOST_DATA 0 hca->coredev.dev.kobj.release.timer.expires 0-u64max
HOST_DATA 0 hca->coredev.dev.kobj.release.timer.flags 0-u32max
HOST_DATA 0 hca->coredev.dev.kobj.release.work.data.counter s64min-s64max
HOST_DATA 0 hca->coredev.dev.kobj.state_add_uevent_sent 0-1
HOST_DATA 0 hca->coredev.dev.kobj.state_in_sysfs 0-1
HOST_DATA 0 hca->coredev.dev.kobj.state_initialized 0-1
HOST_DATA 0 hca->coredev.dev.kobj.state_remove_uevent_sent 0-1
HOST_DATA 0 hca->coredev.dev.kobj.uevent_suppress 0-1
HOST_DATA 0 hca->coredev.dev.links.status 0-u32max
HOST_DATA 0 hca->coredev.dev.mutex.osq.tail.counter s32min-s32max
HOST_DATA 0 hca->coredev.dev.mutex.owner.counter s64min-s64max
HOST_DATA 0 hca->coredev.dev.numa_node s32min-s32max
HOST_DATA 0 hca->coredev.dev.power.accounting_timestamp 0-u64max
HOST_DATA 0 hca->coredev.dev.power.active_time 0-u64max
HOST_DATA 0 hca->coredev.dev.power.async_suspend 0-1
HOST_DATA 0 hca->coredev.dev.power.autosuspend_delay s32min-s32max
HOST_DATA 0 hca->coredev.dev.power.can_wakeup 0-1
HOST_DATA 0 hca->coredev.dev.power.child_count.counter s32min-s32max
HOST_DATA 0 hca->coredev.dev.power.completion.done 0-u32max
HOST_DATA 0 hca->coredev.dev.power.deferred_resume 0-1
HOST_DATA 0 hca->coredev.dev.power.detach_power_off 0-1
HOST_DATA 0 hca->coredev.dev.power.direct_complete 0-1
HOST_DATA 0 hca->coredev.dev.power.disable_depth 0-7
HOST_DATA 0 hca->coredev.dev.power.driver_flags 0-u32max
HOST_DATA 0 hca->coredev.dev.power.early_init 0-1
HOST_DATA 0 hca->coredev.dev.power.idle_notification 0-1
HOST_DATA 0 hca->coredev.dev.power.ignore_children 0-1
HOST_DATA 0 hca->coredev.dev.power.in_dpm_list 0-1
HOST_DATA 0 hca->coredev.dev.power.irq_safe 0-1
HOST_DATA 0 hca->coredev.dev.power.is_late_suspended 0-1
HOST_DATA 0 hca->coredev.dev.power.is_noirq_suspended 0-1
HOST_DATA 0 hca->coredev.dev.power.is_prepared 0-1
HOST_DATA 0 hca->coredev.dev.power.is_suspended 0-1
HOST_DATA 0 hca->coredev.dev.power.last_busy 0-u64max
HOST_DATA 0 hca->coredev.dev.power.last_status s32min-s32max
HOST_DATA 0 hca->coredev.dev.power.links_count 0-u32max
HOST_DATA 0 hca->coredev.dev.power.may_skip_resume 0-1
HOST_DATA 0 hca->coredev.dev.power.memalloc_noio 0-1
HOST_DATA 0 hca->coredev.dev.power.must_resume 0-1
HOST_DATA 0 hca->coredev.dev.power.needs_force_resume 0-1
HOST_DATA 0 hca->coredev.dev.power.no_callbacks 0-1
HOST_DATA 0 hca->coredev.dev.power.no_pm 0-1
HOST_DATA 0 hca->coredev.dev.power.no_pm_callbacks 0-1
HOST_DATA 0 hca->coredev.dev.power.out_band_wakeup 0-1
HOST_DATA 0 hca->coredev.dev.power.power_state.event s32min-s32max
HOST_DATA 0 hca->coredev.dev.power.request 0-u32max
HOST_DATA 0 hca->coredev.dev.power.request_pending 0-1
HOST_DATA 0 hca->coredev.dev.power.runtime_auto 0-1
HOST_DATA 0 hca->coredev.dev.power.runtime_error s32min-s32max
HOST_DATA 0 hca->coredev.dev.power.runtime_status s32min-s32max
HOST_DATA 0 hca->coredev.dev.power.smart_suspend 0-1
HOST_DATA 0 hca->coredev.dev.power.strict_midlayer 0-1
HOST_DATA 0 hca->coredev.dev.power.suspended_time 0-u64max
HOST_DATA 0 hca->coredev.dev.power.syscore 0-1
HOST_DATA 0 hca->coredev.dev.power.timer_autosuspends 0-1
HOST_DATA 0 hca->coredev.dev.power.timer_expires 0-u64max
HOST_DATA 0 hca->coredev.dev.power.usage_count.counter s32min-s32max
HOST_DATA 0 hca->coredev.dev.power.use_autosuspend 0-1
HOST_DATA 0 hca->coredev.dev.power.work_in_progress 0-1
HOST_DATA 0 hca->coredev.dev.removable 0-u32max
HOST_DATA 0 hca->event_handler_rwsem.count.counter s64min-s64max
HOST_DATA 0 hca->event_handler_rwsem.osq.tail.counter s32min-s32max
HOST_DATA 0 hca->event_handler_rwsem.owner.counter s64min-s64max
HOST_DATA 0 hca->hw_stats_attr_index 0-255
HOST_DATA 0 hca->is_switch 0-1
HOST_DATA 0 hca->iw_driver_flags 0-u32max
HOST_DATA 0 hca->lag_flags 0-u32max
HOST_DATA 0 hca->local_dma_lkey 0-u32max
HOST_DATA 0 hca->name_assign_type 0-u32max
HOST_DATA 0 hca->node_guid 0-u64max
HOST_DATA 0 hca->ops.driver_id 0-u32max
HOST_DATA 0 hca->ops.size_ib_ah 0-u64max
HOST_DATA 0 hca->ops.size_ib_counters 0-u64max
HOST_DATA 0 hca->ops.size_ib_cq 0-u64max
HOST_DATA 0 hca->ops.size_ib_dmah 0-u64max
HOST_DATA 0 hca->ops.size_ib_mw 0-u64max
HOST_DATA 0 hca->ops.size_ib_pd 0-u64max
HOST_DATA 0 hca->ops.size_ib_qp 0-u64max
HOST_DATA 0 hca->ops.size_ib_rwq_ind_table 0-u64max
HOST_DATA 0 hca->ops.size_ib_srq 0-u64max
HOST_DATA 0 hca->ops.size_ib_ucontext 0-u64max
HOST_DATA 0 hca->ops.size_ib_xrcd 0-u64max
HOST_DATA 0 hca->ops.size_rdma_counter 0-u64max
HOST_DATA 0 hca->ops.uverbs_abi_ver 0-u32max
HOST_DATA 0 hca->ops.uverbs_no_driver_id_binding 0-1
HOST_DATA 0 hca->ops.uverbs_robust_udata 0-1
HOST_DATA 0 hca->phys_port_cnt 0-u32max
HOST_DATA 0 hca->subdev_lock.osq.tail.counter s32min-s32max
HOST_DATA 0 hca->subdev_lock.owner.counter s64min-s64max
HOST_DATA 0 hca->type 0-u32max
HOST_DATA 0 hca->unreg_completion.done 0-u32max
HOST_DATA 0 hca->unreg_completion.wait.lock.magic 0-u32max
HOST_DATA 0 hca->unreg_completion.wait.lock.owner_cpu 0-u32max
HOST_DATA 0 hca->unreg_completion.wait.lock.raw_lock.locked 0-255
HOST_DATA 0 hca->unreg_completion.wait.lock.raw_lock.locked_pending 0-u16max
HOST_DATA 0 hca->unreg_completion.wait.lock.raw_lock.pending 0-255
HOST_DATA 0 hca->unreg_completion.wait.lock.raw_lock.tail 0-u16max
HOST_DATA 0 hca->unreg_completion.wait.lock.raw_lock.val.counter s32min-s32max
HOST_DATA 0 hca->unregistration_lock.osq.tail.counter s32min-s32max
HOST_DATA 0 hca->unregistration_lock.owner.counter s64min-s64max
HOST_DATA 0 hca->unregistration_work.data.counter s64min-s64max
HOST_DATA 0 hca->use_cq_dim 0-1
HOST_DATA 0 hca->uverbs_cmd_mask 0,2097152-u64max
NO_OVERFLOW_SIMPLE 0 hca->hw_stats_attr_index
NO_OVERFLOW_SIMPLE 0 hca->num_comp_vectors
LOCK2 global &clients_rwsem
LOCK2 global &devices_rwsem
LOCK2 0 &hca->client_data_rwsem
HALF_LOCKED2 0 &hca->unregistration_lock
TYPE_LOCK (struct ib_device)->client_data_rwsem

drivers/infiniband/ulp/ipoib/ipoib_vlan.c ipoib_vlan_add() -> ipoib_intf_alloc()

Type Parameter Key Value
PARAM_VALUE 2 name 9161931820918804480
BUF_SIZE 2 name 16
STR_LEN 0 hca 15
CAPABLE 0 12
RX_PATH
TASK_NOT_RUNNING
UNITS 1 port unit_array_size
LOCK2 &of->mutex
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex