Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
block/sed-opal.c add_bytestring_header() -> can_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | 314779856063705088,1768564871375634432,2309169575240384512,2403400630916698112,2543923311080988672,6228089738695458816,7364185631022759936,7778380771779555328 |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->dev_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cmd->dev_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | cmd->dev_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | cmd->dev_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | cmd->dev_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | cmd->parsed.toks->len | 1-16777219 |
| PARAM_VALUE | 1 | cmd->parsed.toks->type | 224-227 |
| PARAM_VALUE | 1 | cmd->parsed.toks->width | 0-4 |
| PARAM_VALUE | 2 | len | 1-16 |
| BUF_SIZE | 1 | cmd->cmd | (-1),2048 |
| BUF_SIZE | 1 | cmd->data | (-1),1768 |
| BUF_SIZE | 1 | cmd->resp | (-1),2048 |
| DATA_SOURCE | 0 | err | $0 |
| DATA_SOURCE | 1 | cmd | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | len | 1-16[c] |
| UNITS | 2 | len | unit_byte |
| LOCK2 | 1 | &cmd->dev_lock | |
| TYPE_LOCK | (struct opal_dev)->dev_lock |
block/sed-opal.c add_token_u64() -> can_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->dev_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cmd->dev_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | cmd->dev_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | cmd->dev_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | cmd->dev_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | cmd->parsed.toks->len | 1-16777219 |
| PARAM_VALUE | 1 | cmd->parsed.toks->type | 224-227 |
| PARAM_VALUE | 1 | cmd->parsed.toks->width | 0-4 |
| PARAM_VALUE | 2 | len | 1-5 |
| BUF_SIZE | 1 | cmd->cmd | (-1),2048 |
| BUF_SIZE | 1 | cmd->data | (-1),1768 |
| BUF_SIZE | 1 | cmd->resp | (-1),2048 |
| DATA_SOURCE | 0 | err | $0 |
| DATA_SOURCE | 1 | cmd | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &cmd->dev_lock | |
| TYPE_LOCK | (struct opal_dev)->dev_lock |
block/sed-opal.c add_token_u8() -> can_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->dev_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cmd->dev_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | cmd->dev_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | cmd->dev_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | cmd->dev_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | cmd->parsed.toks->len | 1-16777219 |
| PARAM_VALUE | 1 | cmd->parsed.toks->type | 224-227 |
| PARAM_VALUE | 1 | cmd->parsed.toks->width | 0-4 |
| PARAM_VALUE | 2 | len | 1 |
| BUF_SIZE | 1 | cmd | (-1),4,24,64,168-s32max |
| BUF_SIZE | 1 | cmd | (-1),4,24,64,168-s32max |
| BUF_SIZE | 1 | cmd->cmd | (-1),4,24,64,168-s32max |
| BUF_SIZE | 1 | cmd->data | (-1),1768 |
| BUF_SIZE | 1 | cmd->resp | (-1),4,24,64,168-s32max |
| DATA_SOURCE | 0 | err | $0 |
| DATA_SOURCE | 1 | cmd | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &cmd->dev_lock | |
| TYPE_LOCK | (struct opal_dev)->dev_lock |