Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/mellanox/mlx4/alloc.c mlx4_db_alloc() -> mlx4_alloc_db_from_pgdir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | db | 4096-ptr_max |
| PARAM_VALUE | 2 | order | 0-1 |
| DATA_SOURCE | 1 | db | $1 |
| DATA_SOURCE | 2 | order | $2 |
| HARD_MAX | 2 | order | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &priv->pgdir_mutex | ||
| TYPE_LOCK | (struct mlx4_priv)->pgdir_mutex |
drivers/net/ethernet/mellanox/mlx4/alloc.c mlx4_db_alloc() -> mlx4_alloc_db_from_pgdir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pgdir | 4096-ptr_max |
| PARAM_VALUE | 0 | pgdir->bits | 4096-ptr_max |
| PARAM_VALUE | 0 | pgdir->db_page | 1-ptr_max |
| PARAM_VALUE | 1 | db | 4096-ptr_max |
| PARAM_VALUE | 2 | order | 0-1 |
| BUF_SIZE | 0 | pgdir | 240 |
| DATA_SOURCE | 0 | pgdir | r mlx4_alloc_db_pgdir |
| DATA_SOURCE | 1 | db | $1 |
| DATA_SOURCE | 2 | order | $2 |
| HARD_MAX | 2 | order | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &priv->pgdir_mutex | ||
| TYPE_LOCK | (struct mlx4_priv)->pgdir_mutex |