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_alloc_netdev() -> rdma_alloc_netdev()

Type Parameter Key Value
PARAM_VALUE 0 device->client_data_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 device->client_data_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 device->coredev.ports_kobj->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 device->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 device->driver_def->needs_fn_offset 0,35,40,48,72,88,96,112,136,232,240,264,272,288,296,312,336,344,352,360,368,376,384,392,400,408,416,424,432,440,448,472,480,488,496,520,536,544,552,560,568,576,584,592,600,608,616,624,632,640,648,656,664,672,680-s64max
PARAM_VALUE 0 device->port_data->cache.last_port_state 1,4
PARAM_VALUE 0 device->port_data->immutable.pkey_tbl_len 0-u16max
PARAM_VALUE 2 type 0
PARAM_VALUE 3 name 7140890127272357888,9161931820918804480
PARAM_VALUE 4 name_assign_type 0
BUF_SIZE 0 device->driver_def (-1),32,112
BUF_SIZE 3 name 5,16
BUF_SIZE 3 name 5,16
DATA_SOURCE 0 device $0
DATA_SOURCE 1 port_num $1
DATA_SOURCE 3 name $2
STR_LEN 0 device (-1),6-9,11-12,15
STR_LEN 0 device (-1),6-9,11-12,15
STR_LEN 1 port_num (-1),4
STR_LEN 2 type (-1),4
STR_LEN 3 name (-1),4
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 device->cc_dma_bounce 0-1
HOST_DATA 0 device->client_data.xa_flags 0-u32max
HOST_DATA 0 device->client_data_rwsem.osq.tail.counter 0-s32max
HOST_DATA 0 device->compat_devs.xa_flags 0-u32max
HOST_DATA 0 device->compat_devs_mutex.osq.tail.counter s32min-s32max
HOST_DATA 0 device->compat_devs_mutex.owner.counter s64min-s64max
HOST_DATA 0 device->coredev.dev.bus_dma_limit 0-u64max
HOST_DATA 0 device->coredev.dev.coherent_dma_mask 0-u64max
HOST_DATA 0 device->coredev.dev.devt 0-u32max
HOST_DATA 0 device->coredev.dev.dma_uses_io_tlb 0-1
HOST_DATA 0 device->coredev.dev.id 0-u32max
HOST_DATA 0 device->coredev.dev.kobj.kref.refcount.refs.counter s32min-s32max
HOST_DATA 0 device->coredev.dev.kobj.release.cpu s32min-s32max
HOST_DATA 0 device->coredev.dev.kobj.release.timer.expires 0-u64max
HOST_DATA 0 device->coredev.dev.kobj.release.timer.flags 0-u32max
HOST_DATA 0 device->coredev.dev.kobj.release.work.data.counter s64min-s64max
HOST_DATA 0 device->coredev.dev.kobj.state_add_uevent_sent 0-1
HOST_DATA 0 device->coredev.dev.kobj.state_in_sysfs 0-1
HOST_DATA 0 device->coredev.dev.kobj.state_initialized 0-1
HOST_DATA 0 device->coredev.dev.kobj.state_remove_uevent_sent 0-1
HOST_DATA 0 device->coredev.dev.kobj.uevent_suppress 0-1
HOST_DATA 0 device->coredev.dev.links.status 0-u32max
HOST_DATA 0 device->coredev.dev.mutex.osq.tail.counter s32min-s32max
HOST_DATA 0 device->coredev.dev.mutex.owner.counter s64min-s64max
HOST_DATA 0 device->coredev.dev.numa_node s32min-s32max
HOST_DATA 0 device->coredev.dev.power.accounting_timestamp 0-u64max
HOST_DATA 0 device->coredev.dev.power.active_time 0-u64max
HOST_DATA 0 device->coredev.dev.power.async_suspend 0-1
HOST_DATA 0 device->coredev.dev.power.autosuspend_delay s32min-s32max
HOST_DATA 0 device->coredev.dev.power.can_wakeup 0-1
HOST_DATA 0 device->coredev.dev.power.child_count.counter s32min-s32max
HOST_DATA 0 device->coredev.dev.power.completion.done 0-u32max
HOST_DATA 0 device->coredev.dev.power.deferred_resume 0-1
HOST_DATA 0 device->coredev.dev.power.detach_power_off 0-1
HOST_DATA 0 device->coredev.dev.power.direct_complete 0-1
HOST_DATA 0 device->coredev.dev.power.disable_depth 0-7
HOST_DATA 0 device->coredev.dev.power.driver_flags 0-u32max
HOST_DATA 0 device->coredev.dev.power.early_init 0-1
HOST_DATA 0 device->coredev.dev.power.idle_notification 0-1
HOST_DATA 0 device->coredev.dev.power.ignore_children 0-1
HOST_DATA 0 device->coredev.dev.power.in_dpm_list 0-1
HOST_DATA 0 device->coredev.dev.power.irq_safe 0-1
HOST_DATA 0 device->coredev.dev.power.is_late_suspended 0-1
HOST_DATA 0 device->coredev.dev.power.is_noirq_suspended 0-1
HOST_DATA 0 device->coredev.dev.power.is_prepared 0-1
HOST_DATA 0 device->coredev.dev.power.is_suspended 0-1
HOST_DATA 0 device->coredev.dev.power.last_busy 0-u64max
HOST_DATA 0 device->coredev.dev.power.last_status s32min-s32max
HOST_DATA 0 device->coredev.dev.power.links_count 0-u32max
HOST_DATA 0 device->coredev.dev.power.may_skip_resume 0-1
HOST_DATA 0 device->coredev.dev.power.memalloc_noio 0-1
HOST_DATA 0 device->coredev.dev.power.must_resume 0-1
HOST_DATA 0 device->coredev.dev.power.needs_force_resume 0-1
HOST_DATA 0 device->coredev.dev.power.no_callbacks 0-1
HOST_DATA 0 device->coredev.dev.power.no_pm 0-1
HOST_DATA 0 device->coredev.dev.power.no_pm_callbacks 0-1
HOST_DATA 0 device->coredev.dev.power.out_band_wakeup 0-1
HOST_DATA 0 device->coredev.dev.power.power_state.event s32min-s32max
HOST_DATA 0 device->coredev.dev.power.request 0-u32max
HOST_DATA 0 device->coredev.dev.power.request_pending 0-1
HOST_DATA 0 device->coredev.dev.power.runtime_auto 0-1
HOST_DATA 0 device->coredev.dev.power.runtime_error s32min-s32max
HOST_DATA 0 device->coredev.dev.power.runtime_status s32min-s32max
HOST_DATA 0 device->coredev.dev.power.smart_suspend 0-1
HOST_DATA 0 device->coredev.dev.power.strict_midlayer 0-1
HOST_DATA 0 device->coredev.dev.power.suspended_time 0-u64max
HOST_DATA 0 device->coredev.dev.power.syscore 0-1
HOST_DATA 0 device->coredev.dev.power.timer_autosuspends 0-1
HOST_DATA 0 device->coredev.dev.power.timer_expires 0-u64max
HOST_DATA 0 device->coredev.dev.power.usage_count.counter s32min-s32max
HOST_DATA 0 device->coredev.dev.power.use_autosuspend 0-1
HOST_DATA 0 device->coredev.dev.power.work_in_progress 0-1
HOST_DATA 0 device->coredev.dev.removable 0-u32max
HOST_DATA 0 device->event_handler_rwsem.count.counter s64min-s64max
HOST_DATA 0 device->event_handler_rwsem.osq.tail.counter s32min-s32max
HOST_DATA 0 device->event_handler_rwsem.owner.counter s64min-s64max
HOST_DATA 0 device->hw_stats_attr_index 0-255
HOST_DATA 0 device->is_switch 0-1
HOST_DATA 0 device->iw_driver_flags 0-u32max
HOST_DATA 0 device->lag_flags 0-u32max
HOST_DATA 0 device->local_dma_lkey 0-u32max
HOST_DATA 0 device->name_assign_type 0-u32max
HOST_DATA 0 device->node_guid 0-u64max
HOST_DATA 0 device->num_comp_vectors s32min-(-1),1-s32max
HOST_DATA 0 device->ops.driver_id 0-u32max
HOST_DATA 0 device->ops.size_ib_ah 0-u64max
HOST_DATA 0 device->ops.size_ib_counters 0-u64max
HOST_DATA 0 device->ops.size_ib_cq 0-u64max
HOST_DATA 0 device->ops.size_ib_dmah 0-u64max
HOST_DATA 0 device->ops.size_ib_mw 0-u64max
HOST_DATA 0 device->ops.size_ib_pd 0-u64max
HOST_DATA 0 device->ops.size_ib_qp 0-u64max
HOST_DATA 0 device->ops.size_ib_rwq_ind_table 0-u64max
HOST_DATA 0 device->ops.size_ib_srq 0-u64max
HOST_DATA 0 device->ops.size_ib_ucontext 0-u64max
HOST_DATA 0 device->ops.size_ib_xrcd 0-u64max
HOST_DATA 0 device->ops.size_rdma_counter 0-u64max
HOST_DATA 0 device->ops.uverbs_abi_ver 0-u32max
HOST_DATA 0 device->ops.uverbs_no_driver_id_binding 0-1
HOST_DATA 0 device->ops.uverbs_robust_udata 0-1
HOST_DATA 0 device->phys_port_cnt 0-u32max
HOST_DATA 0 device->subdev_lock.osq.tail.counter s32min-s32max
HOST_DATA 0 device->subdev_lock.owner.counter s64min-s64max
HOST_DATA 0 device->type 0-u32max
HOST_DATA 0 device->unreg_completion.done 0-u32max
HOST_DATA 0 device->unreg_completion.wait.lock.magic 0-u32max
HOST_DATA 0 device->unreg_completion.wait.lock.owner_cpu 0-u32max
HOST_DATA 0 device->unreg_completion.wait.lock.raw_lock.locked 0-255
HOST_DATA 0 device->unreg_completion.wait.lock.raw_lock.locked_pending 0-u16max
HOST_DATA 0 device->unreg_completion.wait.lock.raw_lock.pending 0-255
HOST_DATA 0 device->unreg_completion.wait.lock.raw_lock.tail 0-u16max
HOST_DATA 0 device->unreg_completion.wait.lock.raw_lock.val.counter s32min-s32max
HOST_DATA 0 device->unregistration_lock.osq.tail.counter s32min-s32max
HOST_DATA 0 device->unregistration_lock.owner.counter s64min-s64max
HOST_DATA 0 device->unregistration_work.data.counter s64min-s64max
HOST_DATA 0 device->use_cq_dim 0-1
HOST_DATA 0 device->uverbs_cmd_mask 0,2097152-u64max
NO_OVERFLOW_SIMPLE 0 device->hw_stats_attr_index
NO_OVERFLOW_SIMPLE 0 device->num_comp_vectors
UNITS 1 port_num unit_array_size
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &clients_rwsem
HALF_LOCKED2 global &devices_rwsem
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 0 &device->client_data_rwsem
HALF_LOCKED2 0 &device->unregistration_lock