Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/infiniband/hw/mthca/mthca_mr.c mthca_alloc_mtt_range() -> mthca_buddy_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buddy | 4096-ptr_max |
| PARAM_VALUE | 0 | buddy->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | buddy->max_order | 0-s32max |
| PARAM_VALUE | 1 | seg | 0-4294967294 |
| PARAM_VALUE | 2 | order | 0-s32max |
| BUF_SIZE | 0 | buddy | (-1),96 |
| BUF_SIZE | 0 | buddy | (-1),96 |
| CAPPED_DATA | 0 | buddy->max_order | 1 |
| CAPPED_DATA | 1 | seg | 1 |
| CAPPED_DATA | 2 | order | 1 |
| DATA_SOURCE | 0 | buddy | $2 |
| DATA_SOURCE | 1 | seg | r mthca_buddy_alloc |
| DATA_SOURCE | 2 | order | $1 |
| PARAM_COMPARE | 0 | buddy->max_order | >= $2 |
| PARAM_COMPARE | 2 | order | <= $0->max_order |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &mthca_device_mutex |
drivers/infiniband/hw/mthca/mthca_mr.c mthca_free_mtt() -> mthca_buddy_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |