Home
last modified time | relevance | path

Searched refs:shdr (Results 1 – 11 of 11) sorted by relevance

/fs/smb/client/
A Dsmb2misc.c36 if (shdr->Command == SMB2_OPLOCK_BREAK) in check_smb2_hdr()
44 le32_to_cpu(shdr->ProtocolId)); in check_smb2_hdr()
175 mid = le64_to_cpu(shdr->MessageId); in smb2_check_message()
176 if (check_smb2_hdr(shdr, mid)) in smb2_check_message()
181 le16_to_cpu(shdr->StructureSize)); in smb2_check_message()
193 && (shdr->Status != 0)) { in smb2_check_message()
219 && (shdr->Status == 0) in smb2_check_message()
323 if (shdr->Status && shdr->Status != STATUS_MORE_PROCESSING_REQUIRED && in smb2_get_data_area_len()
333 switch (shdr->Command) { in smb2_get_data_area_len()
402 return (char *)shdr + *off; in smb2_get_data_area_len()
[all …]
A Dsmb2transport.c666 struct smb2_hdr *shdr; in smb2_sign_rqst() local
702 struct smb2_hdr *shdr = in smb2_verify_signature() local
720 shdr->Command); in smb2_verify_signature()
737 shdr->Command, shdr->MessageId); in smb2_verify_signature()
749 struct smb2_hdr *shdr) in smb2_seq_num_into_buf() argument
794 le64_to_cpu(shdr->SessionId), in smb2_mid_entry_alloc()
833 if (shdr->Command != SMB2_LOGOFF) { in smb2_get_mid_entry()
882 struct smb2_hdr *shdr = in smb2_setup_request() local
886 smb2_seq_num_into_buf(server, shdr); in smb2_setup_request()
908 struct smb2_hdr *shdr = in smb2_setup_async_request() local
[all …]
A Dsmb2ops.c441 shdr->Command, shdr->Status, shdr->Flags, shdr->MessageId, in smb2_dump_detail()
442 shdr->Id.SyncId.ProcessId); in smb2_dump_detail()
2502 if (shdr->CreditRequest) { in smb2_is_status_pending()
2599 struct smb2_hdr *shdr; in smb2_set_replay() local
2605 if (shdr == NULL) { in smb2_set_replay()
2615 struct smb2_hdr *shdr; in smb2_set_related() local
2618 if (shdr == NULL) { in smb2_set_related()
2630 struct smb2_hdr *shdr; in smb2_set_next_command() local
2637 if (shdr == NULL) { in smb2_set_next_command()
4182 struct smb2_hdr *shdr = in fill_transform_hdr() local
[all …]
A Dcompress.c266 const struct smb2_hdr *shdr = rq->rq_iov->iov_base; in should_compress() local
277 if (shdr->Command == SMB2_WRITE) { in should_compress()
286 return (shdr->Command == SMB2_READ); in should_compress()
A Dsmb2pdu.c103 shdr->Command = smb2_cmd; in smb2_hdr_assemble()
125 shdr->CreditRequest = cpu_to_le16( in smb2_hdr_assemble()
162 shdr->Flags |= SMB2_FLAGS_SIGNED; in smb2_hdr_assemble()
4432 struct smb2_hdr *shdr; in smb2_new_read_req() local
4443 shdr = &req->hdr; in smb2_new_read_req()
4496 shdr->NextCommand = 0; in smb2_new_read_req()
4525 struct smb2_hdr *shdr = in smb2_readv_callback() local
4658 struct smb2_hdr *shdr; in smb2_async_readv() local
4694 shdr = (struct smb2_hdr *)buf; in smb2_async_readv()
4943 struct smb2_hdr *shdr; in smb2_async_writev() local
[all …]
A Dsmb2maperror.c2442 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in map_smb2_to_linux_error() local
2445 __le32 smb2err = shdr->Status; in map_smb2_to_linux_error()
2448 trace_smb3_cmd_done(le32_to_cpu(shdr->Id.SyncId.TreeId), in map_smb2_to_linux_error()
2449 le64_to_cpu(shdr->SessionId), in map_smb2_to_linux_error()
2450 le16_to_cpu(shdr->Command), in map_smb2_to_linux_error()
2451 le64_to_cpu(shdr->MessageId)); in map_smb2_to_linux_error()
2475 trace_smb3_cmd_err(le32_to_cpu(shdr->Id.SyncId.TreeId), in map_smb2_to_linux_error()
2476 le64_to_cpu(shdr->SessionId), in map_smb2_to_linux_error()
2477 le16_to_cpu(shdr->Command), in map_smb2_to_linux_error()
2478 le64_to_cpu(shdr->MessageId), in map_smb2_to_linux_error()
A Dsmb1ops.c1293 struct smb_hdr *shdr = (struct smb_hdr *)buf; in cifs_is_network_name_deleted() local
1298 if (shdr->Flags2 & SMBFLG2_ERR_STATUS) { in cifs_is_network_name_deleted()
1299 if (shdr->Status.CifsError != cpu_to_le32(NT_STATUS_NETWORK_NAME_DELETED)) in cifs_is_network_name_deleted()
1302 if (shdr->Status.DosError.ErrorClass != ERRSRV || in cifs_is_network_name_deleted()
1303 shdr->Status.DosError.Error != cpu_to_le16(ERRinvtid)) in cifs_is_network_name_deleted()
1315 if (tcon->tid == shdr->Tid) { in cifs_is_network_name_deleted()
A Dconnect.c982 struct smb2_hdr *shdr = (struct smb2_hdr *)buffer; in smb2_get_credits_from_hdr() local
990 return le16_to_cpu(shdr->CreditRequest); in smb2_get_credits_from_hdr()
1228 struct smb2_hdr *shdr = (struct smb2_hdr *)buffer; in smb2_add_credits_from_hdr() local
1237 if (shdr->CreditRequest) { in smb2_add_credits_from_hdr()
1239 server->credits += le16_to_cpu(shdr->CreditRequest); in smb2_add_credits_from_hdr()
1247 le16_to_cpu(shdr->CreditRequest), in_flight); in smb2_add_credits_from_hdr()
1249 __func__, le16_to_cpu(shdr->CreditRequest), in smb2_add_credits_from_hdr()
A Dsmb2proto.h28 struct smb2_hdr *shdr);
A Dcifsglob.h974 const struct smb2_hdr *shdr) in revert_current_mid_from_hdr() argument
976 unsigned int num = le16_to_cpu(shdr->CreditCharge); in revert_current_mid_from_hdr()
/fs/xfs/libxfs/
A Dxfs_dir2_node.c962 struct xfs_dir3_icleaf_hdr *shdr, in xfs_dir3_leafn_moveents() argument
996 if (shdr->stale) { in xfs_dir3_leafn_moveents()
1017 if (start_s + count < shdr->count) { in xfs_dir3_leafn_moveents()
1020 xfs_dir3_leaf_log_ents(args, shdr, bp_s, start_s, in xfs_dir3_leafn_moveents()
1027 shdr->count -= count; in xfs_dir3_leafn_moveents()
1028 shdr->stale -= stale; in xfs_dir3_leafn_moveents()

Completed in 60 milliseconds