Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/block/nbd.c nbd_handle_reply() -> sock_xmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nbd | 4096-ptr_max |
| PARAM_VALUE | 0 | nbd->disk | 4096-ptr_max |
| PARAM_VALUE | 0 | nbd->disk->queue->q_usage_counter.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 0 | nbd->tag_set.nr_hw_queues | 1-u32max |
| PARAM_VALUE | 0 | nbd->tag_set.tags | 4096-ptr_max |
| PARAM_VALUE | 2 | send | 0 |
| PARAM_VALUE | 3 | iter | 661347089842446336 |
| PARAM_VALUE | 4 | msg_flags | 256 |
| PARAM_VALUE | 5 | sent | 0 |
| CAPPED_DATA | 0 | nbd->tag_set.nr_hw_queues | 1 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | nbd | $0 |
| DATA_SOURCE | 1 | index | $1 |
| UNITS | 0 | nbd | unit_byte |
| UNITS | 1 | index | unit_array_size |
| LOCK2 | &cmd->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct nbd_cmd)->lock |
drivers/block/nbd.c nbd_send_cmd() -> sock_xmit()
| 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 | 2 | send | 1 |
| PARAM_VALUE | 3 | iter | 6169911749447102464 |
| PARAM_VALUE | 4 | msg_flags | 0,32768 |
| PARAM_VALUE | 5 | sent | 2644237662254559232 |
| PARAM_VALUE | 5 | *sent | 0-27 |
| DATA_SOURCE | 0 | nbd | $0 |
| DATA_SOURCE | 1 | index | $2 |
| FUZZY_MAX | 4 | msg_flags | 32768 |
| BIT_INFO | 4 | msg_flags | 0x0,0x8000 |
| HARD_MAX | 4 | msg_flags | 32768 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | index | unit_array_size |
| LOCK2 | &cmd->lock | ||
| LOCK2 | &nsock->tx_lock | ||
| TYPE_LOCK | (struct nbd_cmd)->lock | ||
| TYPE_LOCK | (struct nbd_sock)->tx_lock |
drivers/block/nbd.c nbd_send_cmd() -> sock_xmit()
| 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 | 2 | send | 1 |
| PARAM_VALUE | 3 | iter | 6169911749447102464 |
| PARAM_VALUE | 4 | msg_flags | 0,32768 |
| PARAM_VALUE | 5 | sent | 2644237662254559232 |
| DATA_SOURCE | 0 | nbd | $0 |
| DATA_SOURCE | 1 | index | $2 |
| FUZZY_MAX | 4 | msg_flags | 32768 |
| BIT_INFO | 4 | msg_flags | 0x0,0x8000 |
| HARD_MAX | 4 | msg_flags | 32768 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | index | unit_array_size |
| LOCK2 | &cmd->lock | ||
| LOCK2 | &nsock->tx_lock | ||
| TYPE_LOCK | (struct nbd_cmd)->lock | ||
| TYPE_LOCK | (struct nbd_sock)->tx_lock |
drivers/block/nbd.c send_disconnects() -> sock_xmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nbd | 4096-ptr_max |
| PARAM_VALUE | 0 | nbd->config | 4096-ptr_max |
| PARAM_VALUE | 0 | nbd->config->num_connections | 1-s32max |
| PARAM_VALUE | 0 | nbd->config->socks | 4096-ptr_max |
| PARAM_VALUE | 0 | nbd->config_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nbd->config_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | nbd->config_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | nbd->config_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | nbd->config_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | nbd->config_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nbd->config_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | nbd->config_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | nbd->disk | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0-s32max |
| PARAM_VALUE | 2 | send | 1 |
| PARAM_VALUE | 3 | iter | 4044973423471632384 |
| PARAM_VALUE | 4 | msg_flags | 0 |
| PARAM_VALUE | 5 | sent | 0 |
| BUF_SIZE | 0 | nbd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | nbd | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | nbd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | nbd | unit_byte |
| UNITS | 1 | index | unit_array_size |
| LOCK2 | &nsock->tx_lock | ||
| LOCK2 | 0 | &nbd->config_lock | |
| TYPE_LOCK | (struct nbd_device)->config_lock | ||
| TYPE_LOCK | (struct nbd_sock)->tx_lock |