Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c uld_attach() -> (struct cxgb4_uld_info)->state_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 0,4096-ptr_max |
| PARAM_VALUE | 1 | state | 0 |
| BUF_SIZE | 0 | handle | (-1),216,304,312,344-s32max |
| BUF_SIZE | 0 | handle | (-1),216,304,312,344-s32max |
| LOCK2 | global &uld_mutex |
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c detach_ulds() -> (struct cxgb4_uld_info)->state_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 1-u64max |
| PARAM_VALUE | 1 | state | 3 |
| BUF_SIZE | 0 | handle | 216,304,312,344-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &uld_mutex | ||
| HALF_LOCKED2 | &dev->mutex |
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c notify_ulds() -> (struct cxgb4_uld_info)->state_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 1-u64max |
| PARAM_VALUE | 1 | state | 0-2,4 |
| BUF_SIZE | 0 | handle | 216,304,312,344-s32max |
| DATA_SOURCE | 1 | state | $1 |
| HARD_MAX | 1 | state | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &uld_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |