Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/infiniband/core/cma.c cma_set_default_gid_type() -> rdma_protocol_roce_eth_encap()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
CAPPED_DATA 1 port_num 1
DATA_SOURCE 1 port_num $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

fs/smb/smbdirect/devices.c smbdirect_ib_client_add() -> rdma_protocol_roce_eth_encap()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->port_data 4096-ptr_max
BUF_SIZE 0 device->driver_def (-1),32,112
CAPPED_DATA 0 device 1
CAPPED_DATA 1 port_num 1
DATA_SOURCE 0 device $0
STR_LEN 0 device (-1),6-9,11-12
STR_LEN 0 device (-1),6-9,11-12
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 device->hw_stats_attr_index
NO_OVERFLOW_SIMPLE 0 device->num_comp_vectors
LOCK2 global &clients_rwsem
LOCK2 global &devices_rwsem
LOCK2 0 &device->client_data_rwsem
HALF_LOCKED2 0 &device->unregistration_lock
TYPE_LOCK (struct ib_device)->client_data_rwsem

drivers/infiniband/core/roce_gid_mgmt.c roce_gid_type_mask_support() -> (array PORT_CAP_TO_GID_TYPE[])->is_supported()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
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->func_is_supported 0,2061711892763897856,4352497276761534464,6161766412640710656,8123334563837440000
PARAM_VALUE 0 device->driver_def->kind 0-6
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->driver_def->scope 0-2
PARAM_VALUE 0 device->port_data 4096-ptr_max
PARAM_VALUE 0 device->port_data->cache.last_port_state 1,4
PARAM_VALUE 0 device->port_data->immutable.pkey_tbl_len 0-u16max
BUF_SIZE 0 device->dev.parent (-1),1616
BUF_SIZE 0 device->driver_def (-1),32,112
DATA_SOURCE 0 device $0
DATA_SOURCE 1 port_num $1
STR_LEN 0 device (-1),6-9,11-12
STR_LEN 0 device (-1),6-9,11-12
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.count.counter s64min-s64max
HOST_DATA 0 device->client_data_rwsem.osq.tail.counter s32min-s32max
HOST_DATA 0 device->client_data_rwsem.owner.counter s64min-s64max
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->dev.bus_dma_limit 0-u64max
HOST_DATA 0 device->dev.coherent_dma_mask 0-u64max
HOST_DATA 0 device->dev.devt 0-u32max
HOST_DATA 0 device->dev.dma_uses_io_tlb 0-1
HOST_DATA 0 device->dev.id 0-u32max
HOST_DATA 0 device->dev.kobj.kref.refcount.refs.counter s32min-s32max
HOST_DATA 0 device->dev.kobj.release.cpu s32min-s32max
HOST_DATA 0 device->dev.kobj.release.timer.expires 0-u64max
HOST_DATA 0 device->dev.kobj.release.timer.flags 0-u32max
HOST_DATA 0 device->dev.kobj.release.work.data.counter s64min-s64max
HOST_DATA 0 device->dev.kobj.state_add_uevent_sent 0-1
HOST_DATA 0 device->dev.kobj.state_in_sysfs 0-1
HOST_DATA 0 device->dev.kobj.state_initialized 0-1
HOST_DATA 0 device->dev.kobj.state_remove_uevent_sent 0-1
HOST_DATA 0 device->dev.kobj.uevent_suppress 0-1
HOST_DATA 0 device->dev.links.status 0-u32max
HOST_DATA 0 device->dev.mutex.osq.tail.counter s32min-s32max
HOST_DATA 0 device->dev.mutex.owner.counter s64min-s64max
HOST_DATA 0 device->dev.numa_node s32min-s32max
HOST_DATA 0 device->dev.power.accounting_timestamp 0-u64max
HOST_DATA 0 device->dev.power.active_time 0-u64max
HOST_DATA 0 device->dev.power.async_suspend 0-1
HOST_DATA 0 device->dev.power.autosuspend_delay s32min-s32max
HOST_DATA 0 device->dev.power.can_wakeup 0-1
HOST_DATA 0 device->dev.power.child_count.counter s32min-s32max
HOST_DATA 0 device->dev.power.completion.done 0-u32max
HOST_DATA 0 device->dev.power.deferred_resume 0-1
HOST_DATA 0 device->dev.power.detach_power_off 0-1
HOST_DATA 0 device->dev.power.direct_complete 0-1
HOST_DATA 0 device->dev.power.disable_depth 0-7
HOST_DATA 0 device->dev.power.driver_flags 0-u32max
HOST_DATA 0 device->dev.power.early_init 0-1
HOST_DATA 0 device->dev.power.idle_notification 0-1
HOST_DATA 0 device->dev.power.ignore_children 0-1
HOST_DATA 0 device->dev.power.in_dpm_list 0-1
HOST_DATA 0 device->dev.power.irq_safe 0-1
HOST_DATA 0 device->dev.power.is_late_suspended 0-1
HOST_DATA 0 device->dev.power.is_noirq_suspended 0-1
HOST_DATA 0 device->dev.power.is_prepared 0-1
HOST_DATA 0 device->dev.power.is_suspended 0-1
HOST_DATA 0 device->dev.power.last_busy 0-u64max
HOST_DATA 0 device->dev.power.last_status s32min-s32max
HOST_DATA 0 device->dev.power.links_count 0-u32max
HOST_DATA 0 device->dev.power.may_skip_resume 0-1
HOST_DATA 0 device->dev.power.memalloc_noio 0-1
HOST_DATA 0 device->dev.power.must_resume 0-1
HOST_DATA 0 device->dev.power.needs_force_resume 0-1
HOST_DATA 0 device->dev.power.no_callbacks 0-1
HOST_DATA 0 device->dev.power.no_pm 0-1
HOST_DATA 0 device->dev.power.no_pm_callbacks 0-1
HOST_DATA 0 device->dev.power.out_band_wakeup 0-1
HOST_DATA 0 device->dev.power.power_state.event s32min-s32max
HOST_DATA 0 device->dev.power.request 0-u32max
HOST_DATA 0 device->dev.power.request_pending 0-1
HOST_DATA 0 device->dev.power.runtime_auto 0-1
HOST_DATA 0 device->dev.power.runtime_error s32min-s32max
HOST_DATA 0 device->dev.power.runtime_status s32min-s32max
HOST_DATA 0 device->dev.power.smart_suspend 0-1
HOST_DATA 0 device->dev.power.strict_midlayer 0-1
HOST_DATA 0 device->dev.power.suspended_time 0-u64max
HOST_DATA 0 device->dev.power.syscore 0-1
HOST_DATA 0 device->dev.power.timer_autosuspends 0-1
HOST_DATA 0 device->dev.power.timer_expires 0-u64max
HOST_DATA 0 device->dev.power.usage_count.counter s32min-s32max
HOST_DATA 0 device->dev.power.use_autosuspend 0-1
HOST_DATA 0 device->dev.power.work_in_progress 0-1
HOST_DATA 0 device->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->refcount.refs.counter s32min-s32max
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
NO_OVERFLOW_SIMPLE 0 device->phys_port_cnt
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 global &clients_rwsem
HALF_LOCKED2 global &devices_rwsem
HALF_LOCKED2 0 &device->client_data_rwsem
HALF_LOCKED2 0 &device->unregistration_lock