Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- fs/smb/client/smbdirect.c, line 310
- fs/smb/server/transport_rdma.c, line 439
- fs/smb/smbdirect/listen.c, line 273
- fs/smb/smbdirect/socket.c, line 192
Smatch caller information:
fs/smb/server/transport_rdma.c smb_direct_listen() -> smbdirect_socket_set_initial_parameters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ib.poll_ctx | 2 |
| PARAM_VALUE | 0 | sc->listen.backlog | (-1) |
| PARAM_VALUE | 0 | sc->logging.needed | 7320347581276139520 |
| PARAM_VALUE | 0 | sc->logging.private_ptr | 0 |
| PARAM_VALUE | 0 | sc->logging.vaprintf | 3806371741062180864 |
| PARAM_VALUE | 0 | sc->rdma.expected_event | 19 |
| PARAM_VALUE | 0 | sc->recv_io.mem.gfp_mask | 3264 |
| PARAM_VALUE | 0 | sc->refs.destroy.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | sc->refs.disconnect.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | sc->rw_io.mem.gfp_mask | 3264 |
| PARAM_VALUE | 0 | sc->send_io.mem.gfp_mask | 3264 |
| PARAM_VALUE | 1 | sp | 6120662658845122560 |
| PARAM_VALUE | 1 | sp->flags | 1-2 |
| PARAM_VALUE | 1 | sp->initiator_depth | 8 |
| PARAM_VALUE | 1 | sp->keepalive_interval_msec | 120000 |
| PARAM_VALUE | 1 | sp->keepalive_timeout_msec | 5000 |
| PARAM_VALUE | 1 | sp->max_fragmented_recv_size | 173910 |
| PARAM_VALUE | 1 | sp->max_fragmented_send_size | 0 |
| PARAM_VALUE | 1 | sp->max_frmr_depth | 0 |
| PARAM_VALUE | 1 | sp->max_read_write_size | 524288-16777216 |
| PARAM_VALUE | 1 | sp->max_recv_size | 1364 |
| PARAM_VALUE | 1 | sp->max_send_size | 1364 |
| PARAM_VALUE | 1 | sp->negotiate_timeout_msec | 5000 |
| PARAM_VALUE | 1 | sp->rdma_connect_timeout_msec | 0 |
| PARAM_VALUE | 1 | sp->recv_credit_max | 255 |
| PARAM_VALUE | 1 | sp->resolve_addr_timeout_msec | 0 |
| PARAM_VALUE | 1 | sp->resolve_route_timeout_msec | 0 |
| PARAM_VALUE | 1 | sp->responder_resources | 1 |
| PARAM_VALUE | 1 | sp->send_credit_target | 255 |
| BUF_SIZE | 1 | sp | 64 |
| LOCK2 | &pool->lock | ||
| LOCK2 | global &ctrl_lock | ||
| LOCK2 | global &init_lock |
fs/smb/smbdirect/listen.c smbdirect_listen_connect_request() -> smbdirect_socket_set_initial_parameters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ib.poll_ctx | 2 |
| PARAM_VALUE | 0 | sc->listen.backlog | (-1) |
| PARAM_VALUE | 0 | sc->rdma.cm_id | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | sc->rdma.expected_event | 19 |
| PARAM_VALUE | 0 | sc->recv_io.mem.gfp_mask | 3264 |
| PARAM_VALUE | 0 | sc->refs.destroy.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | sc->refs.disconnect.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | sc->rw_io.mem.gfp_mask | 3264 |
| PARAM_VALUE | 0 | sc->send_io.mem.gfp_mask | 3264 |
| PARAM_VALUE | 1 | sp | 4096-ptr_max |
| PARAM_VALUE | 1 | sp->flags | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &id_priv->handler_mutex | ||
| HALF_LOCKED2 | &listen_id->handler_mutex |
fs/smb/client/smbdirect.c _smbd_get_connection() -> smbdirect_socket_set_initial_parameters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ib.poll_ctx | 2 |
| PARAM_VALUE | 0 | sc->listen.backlog | (-1) |
| PARAM_VALUE | 0 | sc->logging.needed | 3679552081237209088 |
| PARAM_VALUE | 0 | sc->logging.private_ptr | 0 |
| PARAM_VALUE | 0 | sc->logging.vaprintf | 7214976415193882624 |
| PARAM_VALUE | 0 | sc->rdma.expected_event | 19 |
| PARAM_VALUE | 0 | sc->recv_io.mem.gfp_mask | 3264 |
| PARAM_VALUE | 0 | sc->refs.destroy.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | sc->refs.disconnect.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | sc->rw_io.mem.gfp_mask | 3264 |
| PARAM_VALUE | 0 | sc->send_io.mem.gfp_mask | 3264 |
| PARAM_VALUE | 1 | sp | 7767566217908682752 |
| PARAM_VALUE | 1 | sp->flags | 1-2 |
| PARAM_VALUE | 1 | sp->initiator_depth | 1 |
| PARAM_VALUE | 1 | sp->keepalive_timeout_msec | 5000 |
| PARAM_VALUE | 1 | sp->max_fragmented_send_size | 0 |
| PARAM_VALUE | 1 | sp->max_read_write_size | 0 |
| PARAM_VALUE | 1 | sp->negotiate_timeout_msec | 120000 |
| PARAM_VALUE | 1 | sp->rdma_connect_timeout_msec | 5000 |
| PARAM_VALUE | 1 | sp->resolve_addr_timeout_msec | 5000 |
| PARAM_VALUE | 1 | sp->resolve_route_timeout_msec | 5000 |
| PARAM_VALUE | 1 | sp->responder_resources | 32 |
| BUF_SIZE | 1 | sp | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &server->_srv_mutex |