Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/infiniband/core/sa_query.c ib_sa_classport_info_rec_query() -> alloc_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | query | 4096-ptr_max |
| PARAM_VALUE | 0 | query->port | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_mask | 3264 |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/core/sa_query.c ib_sa_guid_info_rec_query() -> alloc_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | query | 4096-ptr_max |
| PARAM_VALUE | 0 | query->port | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_mask | 3264 |
| DATA_SOURCE | 1 | gfp_mask | $7 |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/core/sa_query.c ib_sa_mcmember_rec_query() -> alloc_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | query | 4096-ptr_max |
| PARAM_VALUE | 0 | query->port | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_mask | 3264 |
| DATA_SOURCE | 1 | gfp_mask | $7 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/core/sa_query.c ib_sa_path_rec_get() -> alloc_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | query | 4096-ptr_max |
| PARAM_VALUE | 0 | query->port | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_mask | 2080,3264 |
| DATA_SOURCE | 1 | gfp_mask | $6 |
| HARD_MAX | 1 | gfp_mask | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &priv->lock |
drivers/infiniband/core/sa_query.c ib_sa_service_rec_get() -> alloc_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | query | 4096-ptr_max |
| PARAM_VALUE | 0 | query->port | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_mask | 3264 |
| DATA_SOURCE | 1 | gfp_mask | $6 |
| LOCK2 | &ctx->mutex | ||
| TYPE_LOCK | (struct ucma_context)->mutex |