Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/smb/client/smb2pdu.c SMB2_select_sec() -> smb2_select_sectype()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | server | 4096-ptr_max |
| BUF_SIZE | 0 | server | (-1),64,88,264,736,2800,2808 |
| BUF_SIZE | 0 | server | (-1),64,88,264,736,2800,2808 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ses->session_mutex | ||
| TYPE_LOCK | (struct cifs_ses)->session_mutex |
fs/smb/client/cifs_debug.c cifs_debug_data_proc_show() -> (struct smb_version_operations)->select_sectype()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | server | 4096-ptr_max |
| PARAM_VALUE | 0 | server->net | 0,4096-ptr_max |
| PARAM_VALUE | 0 | server->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | server->primary_server | 0 |
| PARAM_VALUE | 0 | server->req_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | server->srv_lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | &server->smb_ses_list | 1 |
| CONTAINER | 0 | -832-160+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| LOCK2 | global &cifs_tcp_ses_lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/smb/client/connect.c match_security() -> (struct smb_version_operations)->select_sectype()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | server | 4096-ptr_max |
| PARAM_VALUE | 0 | server->nosharesock | 0 |
| PARAM_VALUE | 0 | server->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | server->srv_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | server->vals | 4096-ptr_max |
| PARAM_VALUE | 0 | server->vals->protocol_id | 0-768,770,785 |
| CAPPED_DATA | 0 | server->vals | 1 |
| DATA_SOURCE | 0 | server | $0 |
| CONTAINER | 0 | -832-160+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &cifs_tcp_ses_lock | ||
| LOCK2 | 0 | &server->srv_lock | |
| HALF_LOCKED2 | &ses->chan_lock | ||
| HALF_LOCKED2 | &ses->ses_lock | ||
| HALF_LOCKED2 | &tcon->tc_lock | ||
| HALF_LOCKED2 | global &cifs_mount_mutex | ||
| HALF_LOCKED2 | global &sb_lock | ||
| TYPE_LOCK | (struct TCP_Server_Info)->srv_lock |
fs/smb/client/connect.c match_session() -> (struct smb_version_operations)->select_sectype()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | server | 4096-ptr_max |
| PARAM_VALUE | 0 | server->ops | 4096-ptr_max |
| CONTAINER | 0 | -832-160+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ses->chan_lock | ||
| LOCK2 | &ses->ses_lock | ||
| LOCK2 | global &cifs_tcp_ses_lock | ||
| HALF_LOCKED2 | &tcon->tc_lock | ||
| HALF_LOCKED2 | &tcp_srv->srv_lock | ||
| HALF_LOCKED2 | global &cifs_mount_mutex | ||
| HALF_LOCKED2 | global &sb_lock | ||
| TYPE_LOCK | (struct cifs_ses)->chan_lock | ||
| TYPE_LOCK | (struct cifs_ses)->ses_lock |
fs/smb/client/connect.c match_session() -> (struct smb_version_operations)->select_sectype()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | server | 4096-ptr_max |
| PARAM_VALUE | 0 | server->ops | 4096-ptr_max |
| CONTAINER | 0 | -832-160+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ses->chan_lock | ||
| LOCK2 | &ses->ses_lock | ||
| LOCK2 | global &cifs_tcp_ses_lock | ||
| HALF_LOCKED2 | &tcon->tc_lock | ||
| HALF_LOCKED2 | &tcp_srv->srv_lock | ||
| HALF_LOCKED2 | global &cifs_mount_mutex | ||
| HALF_LOCKED2 | global &sb_lock | ||
| TYPE_LOCK | (struct cifs_ses)->chan_lock | ||
| TYPE_LOCK | (struct cifs_ses)->ses_lock |