Defined in 2 files as a function:
- drivers/char/ipmi/ipmi_msghandler.c, line 5259 (as a function)
- drivers/net/ethernet/huawei/hinic3/hinic3_mgmt.c, line 204 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/huawei/hinic3/hinic3_mgmt.c alloc_msg_buf() -> free_recv_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | recv_msg | 4096-ptr_max |
| PARAM_VALUE | 0 | recv_msg->msg | 4096-ptr_max |
| PARAM_VALUE | 0 | recv_msg->seq_id | 43 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/huawei/hinic3/hinic3_mgmt.c alloc_msg_buf() -> free_recv_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | recv_msg | 4096-ptr_max |
| PARAM_VALUE | 0 | recv_msg->msg | 4096-ptr_max |
| PARAM_VALUE | 0 | recv_msg->seq_id | 43 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/huawei/hinic3/hinic3_mgmt.c free_msg_buf() -> free_recv_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | recv_msg | 4096-ptr_max |
| PARAM_VALUE | 0 | recv_msg->msg_len | 0-2048 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/huawei/hinic3/hinic3_mgmt.c free_msg_buf() -> free_recv_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | recv_msg | 4096-ptr_max |
| PARAM_VALUE | 0 | recv_msg->msg_len | 0-2048 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/char/ipmi/ipmi_msghandler.c ipmi_free_recv_msg() -> (struct ipmi_recv_msg)->done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | recv_msg | 4096-ptr_max |
| BUF_SIZE | 0 | recv_msg | (-1),384 |
| BUF_SIZE | 0 | recv_msg | (-1),384 |
| BUF_SIZE | 0 | recv_msg->msg.data | (-1),272 |
| BUF_SIZE | 0 | recv_msg->user_msg_data | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | recv_msg | $0 |
| STR_LEN | 0 | recv_msg->msg.data | (-1),3 |
| CONTAINER | 0 | -104+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | recv_msg->msg.cmd | 0-255 |
| USER_DATA | 0 | recv_msg->msg.data_len | 0-65534 |
| USER_DATA | 0 | recv_msg->msg.netfn | 0-255 |
| USER_DATA | 0 | recv_msg->msgid | s64min-s64max |
| USER_DATA | 0 | recv_msg->user->gets_events | 1 |
| USER_PTR | 0 | recv_msg->msg.data | |
| HALF_LOCKED2 | &intf->events_mutex | ||
| HALF_LOCKED2 | &intf->seq_lock | ||
| HALF_LOCKED2 | &intf->user_msgs_mutex | ||
| HALF_LOCKED2 | &intf->users_mutex |