Home
last modified time | relevance | path

Searched refs:DataLength (Results 1 – 9 of 9) sorted by relevance

/fs/smb/common/
Dsmb2pdu.h253 __le16 DataLength; member
447 __le16 DataLength; member
463 __le16 DataLength; member
481 __le16 DataLength; member
502 __le16 DataLength; member
518 __le16 DataLength; member
533 __le16 DataLength; member
551 __le16 DataLength; member
574 __le16 DataLength; member
584 __le16 DataLength; member
[all …]
/fs/smb/server/
Doplock.c1468 buf->ccontext.DataLength = cpu_to_le32(sizeof(struct lease_context_v2)); in create_lease_buf()
1485 buf->ccontext.DataLength = cpu_to_le32(sizeof(struct lease_context)); in create_lease_buf()
1517 if (sizeof(struct lease_context_v2) == le32_to_cpu(cc->DataLength)) { in parse_lease_state()
1579 value_len = le32_to_cpu(cc->DataLength); in smb2_find_context_vals()
1614 buf->ccontext.DataLength = cpu_to_le32(8); in create_durable_rsp_buf()
1638 buf->ccontext.DataLength = cpu_to_le32(8); in create_durable_v2_rsp_buf()
1664 buf->ccontext.DataLength = cpu_to_le32(8); in create_mxac_rsp_buf()
1686 buf->ccontext.DataLength = cpu_to_le32(32); in create_disk_id_rsp_buf()
1721 buf->ccontext.DataLength = cpu_to_le32(56); in create_posix_rsp_buf()
Dsmb2pdu.c780 pneg_ctxt->DataLength = cpu_to_le16(38); in build_preauth_ctxt()
792 pneg_ctxt->DataLength = cpu_to_le16(4); in build_encrypt_ctxt()
802 pneg_ctxt->DataLength = in build_sign_cap_ctxt()
813 pneg_ctxt->DataLength = cpu_to_le16(POSIX_CTXT_DATA_LEN); in build_posix_ctxt()
1031 clen = le16_to_cpu(pctx->DataLength); in deassemble_neg_contexts()
2616 le32_to_cpu(context->DataLength) < in smb2_create_sd_buffer()
2620 le32_to_cpu(sd_buf->ccontext.DataLength), true, false); in smb2_create_sd_buffer()
2812 le32_to_cpu(context->DataLength) < in smb2_open()
2856 le32_to_cpu(context->DataLength) < in smb2_open()
3009 if (le32_to_cpu(ea_buf->ccontext.DataLength) < in smb2_open()
[all …]
/fs/smb/client/
Dsmb2pdu.c435 pneg_ctxt->DataLength = cpu_to_le16(38); in build_preauth_ctxt()
446 pneg_ctxt->DataLength = in build_compression_ctxt()
465 pneg_ctxt->DataLength = cpu_to_le16(ALIGN(sizeof(struct smb2_signing_capabilities) - in build_signing_ctxt()
482 pneg_ctxt->DataLength = cpu_to_le16(4); /* Cipher Count + 1 cipher */ in build_encrypt_ctxt()
486 pneg_ctxt->DataLength = cpu_to_le16(8); /* Cipher Count + 3 ciphers */ in build_encrypt_ctxt()
492 pneg_ctxt->DataLength = cpu_to_le16(6); /* Cipher Count + 2 ciphers */ in build_encrypt_ctxt()
507 pneg_ctxt->DataLength = cpu_to_le16(2 * cifs_strtoUTF16(pneg_ctxt->NetName, hostname, 100, cp)); in build_netname_ctxt()
509 return ALIGN(le16_to_cpu(pneg_ctxt->DataLength) + sizeof(struct smb2_neg_context), 8); in build_netname_ctxt()
516 pneg_ctxt->DataLength = cpu_to_le16(POSIX_CTXT_DATA_LEN); in build_posix_ctxt()
617 unsigned int len = le16_to_cpu(ctxt->DataLength); in decode_preauth_context()
[all …]
Dsmb2misc.c361 *len = le32_to_cpu(((struct smb2_read_rsp *)shdr)->DataLength); in smb2_get_data_area_len()
Dsmb1ops.c86 le16_to_cpu(rsp->DataLength); in cifs_read_data_length()
Dsmb2ops.c1866 return le32_to_cpu(rsp->DataLength); in smb2_read_data_length()
4258 buf->ccontext.DataLength = cpu_to_le32(sizeof(struct lease_context)); in smb2_create_lease_buf()
4284 buf->ccontext.DataLength = cpu_to_le32(sizeof(struct lease_context_v2)); in smb3_create_lease_buf()
Dcifspdu.h1055 __le16 DataLength; member
Dcifssmb.c1444 data_length += le16_to_cpu(pSMBr->DataLength); in CIFSSMBRead()