Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/wireless/marvell/libertas/cmd.c, line 968
- drivers/net/wireless/marvell/libertas/cmdresp.c
Smatch caller information:
drivers/net/wireless/marvell/libertas/cmd.c lbs_complete_command() -> __lbs_complete_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cur_cmd | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->cur_cmd->cmdbuf | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->driver_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *priv->dev->name | 0-255 |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cmdbuf | 4096-ptr_max |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 1 | cmd | $1 |
| DATA_SOURCE | 2 | result | $2 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &priv->driver_lock | |
| TYPE_LOCK | (struct lbs_private)->driver_lock |
drivers/net/wireless/marvell/libertas/cmdresp.c lbs_process_command_response() -> __lbs_complete_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cmd_timed_out | 0 |
| PARAM_VALUE | 0 | priv->command_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | priv->command_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | priv->command_timer.function | 0 |
| PARAM_VALUE | 0 | priv->cur_cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cur_cmd->cmdbuf | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->driver_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | priv->resp_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->resp_len | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->surpriseremoved | 0 |
| PARAM_VALUE | 0 | priv->waitq.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cmdbuf | 4096-ptr_max |
| PARAM_VALUE | 2 | result | 0-3,5-u16max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | priv->cur_cmd->cmdbuf->seqnum | 1 |
| CAPPED_DATA | 0 | &priv->lock | 1 |
| CAPPED_DATA | 1 | cmd->cmdbuf->seqnum | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &priv->driver_lock | |
| LOCK2 | 0 | &priv->lock | |
| TYPE_LOCK | (struct lbs_private)->driver_lock | ||
| TYPE_LOCK | (struct lbs_private)->lock |
drivers/net/wireless/marvell/libertas/cmdresp.c lbs_process_command_response() -> __lbs_complete_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cmd_timed_out | 0 |
| PARAM_VALUE | 0 | priv->command_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | priv->command_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | priv->command_timer.function | 0 |
| PARAM_VALUE | 0 | priv->cur_cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cur_cmd->cmdbuf | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->driver_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | priv->resp_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->resp_len | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->surpriseremoved | 0 |
| PARAM_VALUE | 0 | priv->waitq.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cmdbuf | 4096-ptr_max |
| PARAM_VALUE | 2 | result | 0-3,5-u16max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | priv->cur_cmd->cmdbuf->seqnum | 1 |
| CAPPED_DATA | 0 | &priv->lock | 1 |
| CAPPED_DATA | 1 | cmd->cmdbuf->seqnum | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &priv->driver_lock | |
| LOCK2 | 0 | &priv->lock | |
| TYPE_LOCK | (struct lbs_private)->driver_lock | ||
| TYPE_LOCK | (struct lbs_private)->lock |
drivers/net/wireless/marvell/libertas/cmdresp.c lbs_process_command_response() -> __lbs_complete_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cmd_timed_out | 0 |
| PARAM_VALUE | 0 | priv->command_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | priv->command_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | priv->command_timer.function | 0 |
| PARAM_VALUE | 0 | priv->cur_cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cur_cmd->cmdbuf | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->driver_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | priv->resp_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->resp_len | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->surpriseremoved | 0 |
| PARAM_VALUE | 0 | priv->waitq.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cmdbuf | 4096-ptr_max |
| PARAM_VALUE | 2 | result | 0 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | priv->cur_cmd->cmdbuf->seqnum | 1 |
| CAPPED_DATA | 0 | &priv->lock | 1 |
| CAPPED_DATA | 1 | cmd->cmdbuf->seqnum | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &priv->driver_lock | |
| LOCK2 | 0 | &priv->lock | |
| TYPE_LOCK | (struct lbs_private)->driver_lock | ||
| TYPE_LOCK | (struct lbs_private)->lock |