Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/smb/smbdirect/connection.c smbdirect_connection_send_iter() -> smbdirect_connection_send_batch_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 1 | batch | 1052424282780246016 |
| PARAM_VALUE | 2 | is_last | 1 |
| DATA_SOURCE | 0 | sc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sc->first_error | |
| LOCK2 | &conn->srv_mutex | ||
| TYPE_LOCK | (struct ksmbd_conn)->srv_mutex |
fs/smb/smbdirect/connection.c smbdirect_connection_send_single_iter() -> smbdirect_connection_send_batch_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ib.dev->dma_device->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->ib.dev->dma_device->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ib.dev->dma_device->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ib.dev->dma_device->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ib.dev->dma_device->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | sc->ib.dev->dma_device->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | sc->ib.pd | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->idle.keepalive | 0,2-u32max |
| PARAM_VALUE | 0 | sc->send_io.mem.pool | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->send_io.mem.pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->status | 14 |
| PARAM_VALUE | 1 | batch | 7625195018899824640 |
| PARAM_VALUE | 1 | batch->msg_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | batch->msg_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | batch->msg_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | batch->msg_list.prev->next->next | 1052424282780246016,1938179208591712256,7625195018899824640 |
| PARAM_VALUE | 2 | is_last | 1 |
| BUF_SIZE | 1 | batch | 40 |
| CAPPED_DATA | 0 | sc->send_io.mem.gfp_mask | 1 |
| DATA_SOURCE | 0 | sc | $0 |
| RX_PATH | |||
| NO_OVERFLOW_SIMPLE | 0 | sc->first_error | |
| HALF_LOCKED2 | &pool->lock |
fs/smb/smbdirect/connection.c smbdirect_connection_wait_for_send_credits() -> smbdirect_connection_send_batch_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->status | 14 |
| PARAM_VALUE | 1 | batch | 1052424282780246016,1938179208591712256,7625195018899824640 |
| PARAM_VALUE | 1 | batch->msg_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | batch->msg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | batch->msg_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | is_last | 0 |
| BUF_SIZE | 1 | batch | (-1),40 |
| BUF_SIZE | 1 | batch | (-1),40 |
| DATA_SOURCE | 0 | sc | $0 |
| DATA_SOURCE | 1 | batch | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sc->first_error | |
| HALF_LOCKED2 | &conn->srv_mutex | ||
| HALF_LOCKED2 | &server->_srv_mutex |
fs/smb/smbdirect/connection.c smbdirect_connection_wait_for_send_lcredit() -> smbdirect_connection_send_batch_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->send_io.lcredits.count.counter | s32min-1 |
| PARAM_VALUE | 0 | sc->status | 14 |
| PARAM_VALUE | 1 | batch | 1052424282780246016,1938179208591712256,7625195018899824640 |
| PARAM_VALUE | 1 | batch->credit | s32min-(-1),1-s32max |
| PARAM_VALUE | 2 | is_last | 0 |
| BUF_SIZE | 1 | batch | (-1),40 |
| BUF_SIZE | 1 | batch | (-1),40 |
| DATA_SOURCE | 0 | sc | $0 |
| DATA_SOURCE | 1 | batch | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &conn->srv_mutex | ||
| HALF_LOCKED2 | &server->_srv_mutex |
fs/smb/client/smbdirect.c smbd_send() -> smbdirect_connection_send_batch_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->first_error | s32min-s32max |
| PARAM_VALUE | 0 | sc->status | 0-4294967295 |
| PARAM_VALUE | 1 | batch | 1938179208591712256 |
| PARAM_VALUE | 1 | batch->credit | 0 |
| PARAM_VALUE | 1 | batch->need_invalidate_rkey | 0 |
| PARAM_VALUE | 1 | batch->remote_key | 0 |
| PARAM_VALUE | 1 | batch->wr_cnt | 0-1 |
| PARAM_VALUE | 2 | is_last | 1 |
| DATA_SOURCE | 1 | batch | r smbdirect_init_send_batch_storage |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sc->first_error | |
| LOCK2 | &server->_srv_mutex | ||
| TYPE_LOCK | (struct TCP_Server_Info)->_srv_mutex |