Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/infiniband/core/device.c add_all_compat_devs() -> add_one_compat_dev()

Type Parameter Key Value
PARAM_VALUE 0 device 1-u64max
PARAM_VALUE 1 rnet 1-u64max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &devices_rwsem
LOCK2 global &rdma_nets_rwsem
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

drivers/infiniband/core/device.c add_compat_devs() -> add_one_compat_dev()

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.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 device->dev.kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 device->dev.kobj.sd->attr.notify_next 0,426918848001064960
PARAM_VALUE 0 device->driver_def->kind 0-6
PARAM_VALUE 0 device->driver_def->scope 0-2
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 1 rnet 1-u64max
BUF_SIZE 0 device->driver_def (-1),32,112
CAPPED_DATA 0 device 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
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->num_comp_vectors 1-s32max
HOST_DATA 0 device->phys_port_cnt 0-u32max
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
LOCK2 global &devices_rwsem
LOCK2 global &rdma_nets_rwsem
HALF_LOCKED2 0 &device->unregistration_lock

drivers/infiniband/core/device.c rdma_dev_init_net() -> add_one_compat_dev()

Type Parameter Key Value
PARAM_VALUE 0 device 1-u64max
PARAM_VALUE 1 rnet 4096-ptr_max
PARAM_VALUE 1 rnet->net.net 4096-1824583183996030975,1824583183996030977-ptr_max
PARAM_VALUE 1 rnet->net.net->notrefcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 1 rnet->net.net->notrefcnt_tracker.list.next->prev 4096-ptr_max
PARAM_VALUE 1 rnet->net.net->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 1 rnet->net.net->refcnt_tracker.list.next->prev 4096-ptr_max
PARAM_VALUE 1 rnet->nl_sock 4096-ptr_max
PARAM_VALUE 1 rnet->nl_sock->sk_sndtimeo 2500
CAPPED_DATA 1 rnet 1
CAPPED_DATA 1 rnet->net.net 1
DATA_SOURCE 1 rnet r rdma_net_to_dev_net
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &devices_rwsem
LOCK2 global &pernet_ops_rwsem
LOCK2 global &rdma_nets_rwsem