Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/block/nbd.c nbd_send_cmd() -> nbd_sched_pending_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nbd | 4096-ptr_max |
| PARAM_VALUE | 0 | nbd->config | 4096-ptr_max |
| PARAM_VALUE | 0 | nbd->config->socks | 4096-ptr_max |
| PARAM_VALUE | 0 | nbd->disk->part0->bd_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 1 | nsock | 4096-ptr_max |
| PARAM_VALUE | 1 | nsock->sent | 0-27 |
| PARAM_VALUE | 2 | cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | cmd->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 2 | cmd->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 2 | cmd->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | cmd->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | cmd->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 2 | cmd->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | cmd->nbd->disk->part0->bd_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 2 | cmd->retries | 0 |
| PARAM_VALUE | 3 | sent | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | nbd | $0 |
| DATA_SOURCE | 2 | cmd | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | sent | unit_byte |
| LOCK2 | &nsock->tx_lock | ||
| LOCK2 | 2 | &cmd->lock | |
| TYPE_LOCK | (struct nbd_cmd)->lock | ||
| TYPE_LOCK | (struct nbd_sock)->tx_lock |
drivers/block/nbd.c nbd_send_cmd() -> nbd_sched_pending_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nbd | 4096-ptr_max |
| PARAM_VALUE | 0 | nbd->config | 4096-ptr_max |
| PARAM_VALUE | 0 | nbd->config->socks | 4096-ptr_max |
| PARAM_VALUE | 0 | nbd->disk->part0->bd_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 1 | nsock | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | cmd->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 2 | cmd->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 2 | cmd->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | cmd->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | cmd->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 2 | cmd->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | cmd->nbd->disk->part0->bd_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 2 | cmd->retries | 0 |
| DATA_SOURCE | 0 | nbd | $0 |
| DATA_SOURCE | 2 | cmd | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | sent | unit_byte |
| LOCK2 | &nsock->tx_lock | ||
| LOCK2 | 2 | &cmd->lock | |
| TYPE_LOCK | (struct nbd_cmd)->lock | ||
| TYPE_LOCK | (struct nbd_sock)->tx_lock |