Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/infiniband/hw/mlx5/fs.c _create_flow_rule() -> is_valid_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev | 4096-ptr_max |
| PARAM_VALUE | 1 | flow_attr | 4096-ptr_max |
| PARAM_VALUE | 1 | flow_attr->flags | 0-6 |
| PARAM_VALUE | 1 | flow_attr->num_of_specs | 0-10 |
| PARAM_VALUE | 1 | flow_attr->port | 0-255 |
| PARAM_VALUE | 1 | flow_attr->priority | 0-15 |
| PARAM_VALUE | 1 | flow_attr->type | 0,3 |
| BUF_SIZE | 1 | flow_attr | (-1),24-904 |
| BUF_SIZE | 1 | flow_attr | (-1),24-904 |
| CAPPED_DATA | 1 | flow_attr->num_of_specs | 1 |
| DATA_SOURCE | 1 | flow_attr | $2 |
| FUZZY_MAX | 1 | flow_attr->priority | 15 |
| BIT_INFO | 1 | flow_attr->flags | 0x0,0x6 |
| HARD_MAX | 1 | flow_attr->priority | 15 |
| HARD_MAX | 1 | flow_attr->type | 3 |
| USER_DATA | 1 | flow_attr->flags | 0-6 |
| USER_DATA | 1 | flow_attr->port | 0-255 |
| USER_DATA | 1 | flow_attr->priority | 0-15 |
| USER_DATA | 1 | flow_attr->type | 0 |
| UNITS | 0 | mdev | unit_byte |
| LOCK2 | &dev->flow_db->lock | ||
| HALF_LOCKED2 | &file->device->disassociate_srcu | ||
| TYPE_LOCK | (struct mlx5_ib_flow_db)->lock |