Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/smb/client/smb1ops.c cifs_find_mid() -> smb_get_mid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mid | 4096-ptr_max |
| PARAM_VALUE | 0 | mid->command | 0-255 |
| PARAM_VALUE | 0 | mid->mid_state | 2 |
| CAPPED_DATA | 0 | mid->command | 1 |
| CAPPED_DATA | 0 | mid->mid | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &server->mid_queue_lock | ||
| TYPE_LOCK | (struct TCP_Server_Info)->mid_queue_lock |
fs/smb/client/smb2ops.c __smb2_find_mid() -> smb_get_mid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mid | 4096-ptr_max |
| PARAM_VALUE | 0 | mid->mid_state | 2 |
| CAPPED_DATA | 0 | mid->command | 1 |
| CAPPED_DATA | 0 | mid->mid | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &server->mid_queue_lock | ||
| TYPE_LOCK | (struct TCP_Server_Info)->mid_queue_lock |
fs/smb/client/connect.c cifs_abort_connection() -> smb_get_mid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mid | 4096-ptr_max |
| CAPPED_DATA | 0 | &mid->qhead | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &server->_srv_mutex | ||
| LOCK2 | &server->mid_queue_lock | ||
| TYPE_LOCK | (struct TCP_Server_Info)->_srv_mutex | ||
| TYPE_LOCK | (struct TCP_Server_Info)->mid_queue_lock |
fs/smb/client/connect.c clean_demultiplex_info() -> smb_get_mid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mid | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &server->mid_queue_lock | ||
| TYPE_LOCK | (struct TCP_Server_Info)->mid_queue_lock |
fs/smb/client/connect.c is_smb_response() -> smb_get_mid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mid | 4096-ptr_max |
| CAPPED_DATA | 0 | &mid->qhead | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &server->mid_queue_lock | ||
| TYPE_LOCK | (struct TCP_Server_Info)->mid_queue_lock |