Searched refs:vals (Results 1 – 14 of 14) sorted by relevance
/fs/cifs/ |
D | fs_context.c | 45 vol->vals = &smb1_values; in cifs_parse_smb_version() 57 vol->vals = &smb20_values; in cifs_parse_smb_version() 69 vol->vals = &smb21_values; in cifs_parse_smb_version() 73 vol->vals = &smb30_values; in cifs_parse_smb_version() 77 vol->vals = &smb302_values; in cifs_parse_smb_version() 81 vol->vals = &smb311_values; in cifs_parse_smb_version() 85 vol->vals = &smb3any_values; in cifs_parse_smb_version() 89 vol->vals = &smbdefault_values; in cifs_parse_smb_version()
|
D | connect.c | 856 if (server->vals->header_preamble_size) in smb2_get_credits_from_hdr() 984 server->vals->header_preamble_size) { in standard_receive3() 1000 + server->vals->header_preamble_size); in standard_receive3() 1056 if (server->vals->header_preamble_size) in smb2_add_credits_from_hdr() 1105 if (server->vals->header_preamble_size == 0) in cifs_demultiplex_thread() 1124 server->vals->header_preamble_size) { in cifs_demultiplex_thread() 1133 buf + server->vals->header_preamble_size, in cifs_demultiplex_thread() 1135 - server->vals->header_preamble_size); in cifs_demultiplex_thread() 1460 vol->vals = &smbdefault_values; in cifs_parse_mount_options() 2226 if (vol->rdma && vol->vals->protocol_id < SMB30_PROT_ID) { in cifs_parse_mount_options() [all …]
|
D | cifsglob.h | 533 #define HEADER_SIZE(server) (server->vals->header_size) 534 #define MAX_HEADER_SIZE(server) (server->vals->max_header_size) 613 struct smb_version_values *vals; member 678 struct smb_version_values *vals; member 1070 return ses->server->vals->cap_unix & ses->capabilities; in cap_unix() 2034 return strcmp(server->vals->version_string, SMB1_VERSION_STRING) == 0; in is_smb1_server()
|
D | file.c | 987 if (!(li->type & server->vals->shared_lock_type) || in cifs_find_fid_lock_conflict() 991 if ((type & server->vals->shared_lock_type) && in cifs_find_fid_lock_conflict() 1052 if (conf_lock->type & server->vals->shared_lock_type) in cifs_lock_test() 1406 *type = server->vals->large_lock_type; in cifs_read_flock() 1409 *type |= server->vals->exclusive_lock_type; in cifs_read_flock() 1413 *type |= server->vals->unlock_lock_type; in cifs_read_flock() 1418 *type |= server->vals->shared_lock_type; in cifs_read_flock() 1422 *type |= server->vals->exclusive_lock_type; in cifs_read_flock() 1426 *type |= server->vals->shared_lock_type; in cifs_read_flock() 1450 if (type & server->vals->shared_lock_type) in cifs_getlk() [all …]
|
D | smb2pdu.c | 821 if (strcmp(server->vals->version_string, in SMB2_negotiate() 827 } else if (strcmp(server->vals->version_string, in SMB2_negotiate() 837 req->Dialects[0] = cpu_to_le16(server->vals->protocol_id); in SMB2_negotiate() 850 req->Capabilities = cpu_to_le32(server->vals->req_capabilities); in SMB2_negotiate() 855 if (server->vals->protocol_id == SMB20_PROT_ID) in SMB2_negotiate() 860 if ((server->vals->protocol_id == SMB311_PROT_ID) || in SMB2_negotiate() 861 (strcmp(server->vals->version_string, in SMB2_negotiate() 886 if (strcmp(server->vals->version_string, in SMB2_negotiate() 897 } else if (strcmp(server->vals->version_string, in SMB2_negotiate() 906 server->vals = &smb21_values; in SMB2_negotiate() [all …]
|
D | transport.c | 94 __le16 command = midEntry->server->vals->lock_cmd; in _cifs_mid_q_entry_release() 275 if (server->vals->header_preamble_size == 0 && in smb_rqst_len() 364 if (server->vals->header_preamble_size == 0) { in __smb_send_rqst() 1205 server->vals->header_preamble_size; in compound_send_recv()
|
D | cifsfs.c | 176 if (tcon->ses->capabilities & tcon->ses->server->vals->cap_large_files) in cifs_read_super() 188 if ((tcon->ses->server->vals->protocol_id == SMB10_PROT_ID) && in cifs_read_super() 190 tcon->ses->server->vals->cap_nt_find) == 0) && in cifs_read_super() 486 seq_show_option(s, "vers", tcon->ses->server->vals->version_string); in cifs_show_options()
|
D | ioctl.c | 140 fsinf->protocol_id = tcon->ses->server->vals->protocol_id; in smb_mnt_get_fsinfo()
|
D | smb2ops.c | 4604 min_t(unsigned int, buf_len, server->vals->read_rsp_size); in handle_read_data() 4628 if (data_offset < server->vals->read_rsp_size) { in handle_read_data() 4636 data_offset = server->vals->read_rsp_size; in handle_read_data() 4649 pad_len = data_offset - server->vals->read_rsp_size; in handle_read_data() 4737 rc = decrypt_raw_data(dw->server, dw->buf, dw->server->vals->read_rsp_size, in smb2_decrypt_offload() 4751 dw->server->vals->read_rsp_size, in smb2_decrypt_offload() 4801 len = min_t(unsigned int, buflen, server->vals->read_rsp_size + in receive_encrypted_read() 4810 server->vals->read_rsp_size; in receive_encrypted_read() 4862 rc = decrypt_raw_data(server, buf, server->vals->read_rsp_size, in receive_encrypted_read() 4874 server->vals->read_rsp_size, in receive_encrypted_read()
|
D | cifssmb.c | 447 bool srv_sign_required = server->sec_mode & server->vals->signing_required; in cifs_enable_signing() 448 bool srv_sign_enabled = server->sec_mode & server->vals->signing_enabled; in cifs_enable_signing() 1448 int remaining = rfclen + server->vals->header_preamble_size - in cifs_discard_remaining_data() 1495 server->vals->header_preamble_size; in cifs_readv_receive() 1506 len = min_t(unsigned int, buflen, server->vals->read_rsp_size) - in cifs_readv_receive() 1529 rdata->iov[0].iov_len = server->vals->header_preamble_size; in cifs_readv_receive() 1530 rdata->iov[1].iov_base = buf + server->vals->header_preamble_size; in cifs_readv_receive() 1532 server->total_read - server->vals->header_preamble_size; in cifs_readv_receive() 1548 if (server->total_read < server->vals->read_rsp_size) { in cifs_readv_receive() 1551 server->vals->read_rsp_size); in cifs_readv_receive() [all …]
|
D | sess.c | 226 vol.vals = ses->server->vals; in cifs_ses_add_channel()
|
D | cifsencrypt.c | 48 int is_smb2 = server->vals->header_preamble_size == 0; in __cifs_calc_signature()
|
D | readdir.c | 436 tcon->ses->server->vals->cap_nt_find) == 0) { in initiate_cifs_search()
|
D | inode.c | 829 tcon->ses->server->vals->cap_nt_find) == 0) 2031 if (server->vals->protocol_id != 0)
|