Documented in 1 files:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/infiniband/hw/mlx4/main.c
- drivers/infiniband/hw/mlx5/mad.c
- drivers/infiniband/hw/mthca/mthca_provider.c
Smatch caller information:
drivers/infiniband/hw/mthca/mthca_provider.c mthca_init_node_data() -> ib_init_query_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad | 4096-ptr_max |
| BUF_SIZE | 0 | mad | 256 |
| DATA_SOURCE | 0 | mad | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->cmd.poll_sem | ||
| LOCK2 | global &mthca_device_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mthca_cmd)->poll_sem |
drivers/infiniband/hw/mthca/mthca_provider.c mthca_query_device() -> ib_init_query_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad | 4096-ptr_max |
| BUF_SIZE | 0 | mad | 256 |
| DATA_SOURCE | 0 | mad | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/hw/mthca/mthca_provider.c mthca_query_gid() -> ib_init_query_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad | 4096-ptr_max |
| BUF_SIZE | 0 | mad | 256 |
| DATA_SOURCE | 0 | mad | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &table->lock |
drivers/infiniband/hw/mthca/mthca_provider.c mthca_query_gid() -> ib_init_query_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad | 4096-ptr_max |
| PARAM_VALUE | 0 | mad->base_version | 1 |
| PARAM_VALUE | 0 | mad->class_version | 1 |
| PARAM_VALUE | 0 | mad->method | 1 |
| PARAM_VALUE | 0 | mad->mgmt_class | 1 |
| BUF_SIZE | 0 | mad | 256 |
| CAPPED_DATA | 0 | mad->attr_mod | 1 |
| DATA_SOURCE | 0 | mad | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &table->lock |
drivers/infiniband/hw/mthca/mthca_provider.c mthca_query_pkey() -> ib_init_query_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad | 4096-ptr_max |
| BUF_SIZE | 0 | mad | 256 |
| DATA_SOURCE | 0 | mad | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ibdev->client_data_rwsem | ||
| HALF_LOCKED2 | &ibdev->unregistration_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/infiniband/hw/mthca/mthca_provider.c mthca_query_port() -> ib_init_query_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad | 4096-ptr_max |
| BUF_SIZE | 0 | mad | 256 |
| DATA_SOURCE | 0 | mad | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/hw/mlx5/mad.c mlx5_query_ext_port_caps() -> ib_init_query_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad | 4096-ptr_max |
| BUF_SIZE | 0 | mad | 256 |
| DATA_SOURCE | 0 | mad | r _kzalloc_noprof |
| NOCHECK_CALL |
drivers/infiniband/hw/mlx5/mad.c mlx5_query_mad_ifc_gids() -> ib_init_query_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad | 4096-ptr_max |
| BUF_SIZE | 0 | mad | 256 |
| DATA_SOURCE | 0 | mad | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &table->lock |
drivers/infiniband/hw/mlx5/mad.c mlx5_query_mad_ifc_gids() -> ib_init_query_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad | 4096-ptr_max |
| PARAM_VALUE | 0 | mad->base_version | 1 |
| PARAM_VALUE | 0 | mad->class_version | 1 |
| PARAM_VALUE | 0 | mad->method | 1 |
| PARAM_VALUE | 0 | mad->mgmt_class | 1 |
| BUF_SIZE | 0 | mad | 256 |
| CAPPED_DATA | 0 | mad->attr_mod | 1 |
| DATA_SOURCE | 0 | mad | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &table->lock |
drivers/infiniband/hw/mlx5/mad.c mlx5_query_mad_ifc_node_desc() -> ib_init_query_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad | 4096-ptr_max |
| BUF_SIZE | 0 | mad | 256 |
| DATA_SOURCE | 0 | mad | r _kzalloc_noprof |
| NOCHECK_CALL |
drivers/infiniband/hw/mlx5/mad.c mlx5_query_mad_ifc_node_guid() -> ib_init_query_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad | 4096-ptr_max |
| BUF_SIZE | 0 | mad | 256 |
| DATA_SOURCE | 0 | mad | r _kzalloc_noprof |
| NOCHECK_CALL |
drivers/infiniband/hw/mlx5/mad.c mlx5_query_mad_ifc_pkey() -> ib_init_query_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad | 4096-ptr_max |
| BUF_SIZE | 0 | mad | 256 |
| DATA_SOURCE | 0 | mad | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ibdev->client_data_rwsem | ||
| HALF_LOCKED2 | &ibdev->unregistration_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/infiniband/hw/mlx5/mad.c mlx5_query_mad_ifc_port() -> ib_init_query_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad | 4096-ptr_max |
| BUF_SIZE | 0 | mad | 256 |
| DATA_SOURCE | 0 | mad | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ibdev->client_data_rwsem | ||
| HALF_LOCKED2 | &ibdev->unregistration_lock |
drivers/infiniband/hw/mlx5/mad.c mlx5_query_mad_ifc_port() -> ib_init_query_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad | 4096-ptr_max |
| PARAM_VALUE | 0 | mad->base_version | 1 |
| PARAM_VALUE | 0 | mad->class_version | 1 |
| PARAM_VALUE | 0 | mad->method | 1 |
| PARAM_VALUE | 0 | mad->mgmt_class | 1 |
| BUF_SIZE | 0 | mad | 256 |
| CAPPED_DATA | 0 | mad->attr_mod | 1 |
| DATA_SOURCE | 0 | mad | r _kzalloc_noprof |
| NOSPEC | 0 | mad->attr_mod | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | mad->attr_mod | 0-255[c] |
| HALF_LOCKED2 | &ibdev->client_data_rwsem | ||
| HALF_LOCKED2 | &ibdev->unregistration_lock |
drivers/infiniband/hw/mlx5/mad.c mlx5_query_mad_ifc_smp_attr_node_info() -> ib_init_query_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad | 4096-ptr_max |
| BUF_SIZE | 0 | mad | 256 |
| DATA_SOURCE | 0 | mad | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/hw/mlx4/main.c __mlx4_ib_query_gid() -> ib_init_query_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad | 4096-ptr_max |
| BUF_SIZE | 0 | mad | 256 |
| DATA_SOURCE | 0 | mad | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex |
drivers/infiniband/hw/mlx4/main.c __mlx4_ib_query_gid() -> ib_init_query_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad | 4096-ptr_max |
| PARAM_VALUE | 0 | mad->base_version | 1 |
| PARAM_VALUE | 0 | mad->class_version | 1 |
| PARAM_VALUE | 0 | mad->method | 1 |
| PARAM_VALUE | 0 | mad->mgmt_class | 1 |
| BUF_SIZE | 0 | mad | 256 |
| DATA_SOURCE | 0 | mad | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex |
drivers/infiniband/hw/mlx4/main.c __mlx4_ib_query_pkey() -> ib_init_query_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad | 4096-ptr_max |
| BUF_SIZE | 0 | mad | 256 |
| DATA_SOURCE | 0 | mad | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/hw/mlx4/main.c ib_link_query_port() -> ib_init_query_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad | 4096-ptr_max |
| BUF_SIZE | 0 | mad | 256 |
| DATA_SOURCE | 0 | mad | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ibdev->client_data_rwsem | ||
| HALF_LOCKED2 | &ibdev->unregistration_lock |
drivers/infiniband/hw/mlx4/main.c ib_link_query_port() -> ib_init_query_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad | 4096-ptr_max |
| PARAM_VALUE | 0 | mad->base_version | 1 |
| PARAM_VALUE | 0 | mad->class_version | 1 |
| PARAM_VALUE | 0 | mad->method | 1 |
| PARAM_VALUE | 0 | mad->mgmt_class | 1 |
| BUF_SIZE | 0 | mad | 256 |
| DATA_SOURCE | 0 | mad | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | mad->attr_mod | 0-255[c] |
| HALF_LOCKED2 | &ibdev->client_data_rwsem | ||
| HALF_LOCKED2 | &ibdev->unregistration_lock |
drivers/infiniband/hw/mlx4/main.c init_node_data() -> ib_init_query_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad | 4096-ptr_max |
| BUF_SIZE | 0 | mad | 256 |
| DATA_SOURCE | 0 | mad | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/hw/mlx4/main.c mlx4_ib_query_device() -> ib_init_query_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad | 4096-ptr_max |
| BUF_SIZE | 0 | mad | 256 |
| DATA_SOURCE | 0 | mad | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/hw/mlx4/main.c mlx4_ib_query_sl2vl() -> ib_init_query_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad | 4096-ptr_max |
| BUF_SIZE | 0 | mad | 256 |
| DATA_SOURCE | 0 | mad | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |