Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/block/nbd.c nbd_handle_cmd() -> nbd_send_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nbd | 4096-ptr_max |
| PARAM_VALUE | 0 | nbd->config->num_connections | (-2147483647)-s32max |
| PARAM_VALUE | 0 | nbd->config->socks | 4096-ptr_max |
| PARAM_VALUE | 0 | nbd->config_refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | cmd->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cmd->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | cmd->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | cmd->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | cmd->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | cmd->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | cmd->nbd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->nbd->config_refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | cmd->status | 0 |
| CAPPED_DATA | 0 | nbd->config->num_connections | 1 |
| CAPPED_DATA | 2 | index | 1 |
| DATA_SOURCE | 1 | cmd | $0 |
| DATA_SOURCE | 2 | index | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | nbd | unit_byte |
| UNITS | 2 | index | unit_array_size |
| LOCK2 | &nsock->tx_lock | ||
| LOCK2 | 1 | &cmd->lock | |
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct nbd_cmd)->lock | ||
| TYPE_LOCK | (struct nbd_sock)->tx_lock |
drivers/block/nbd.c nbd_pending_cmd_work() -> nbd_send_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nbd->disk->part0->bd_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | cmd->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cmd->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | cmd->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | cmd->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | cmd->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | cmd->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | cmd->nbd->disk->part0->bd_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| CAPPED_DATA | 1 | &cmd->lock | 1 |
| DATA_SOURCE | 1 | cmd | r blk_mq_rq_to_pdu |
| NOCHECK_CALL | |||
| UNITS | 0 | nbd | unit_byte |
| UNITS | 2 | index | unit_array_size |
| LOCK2 | &nsock->tx_lock | ||
| LOCK2 | 1 | &cmd->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct nbd_cmd)->lock | ||
| TYPE_LOCK | (struct nbd_sock)->tx_lock |