| /linux/fs/smb/client/ |
| H A D | misc.c | 318 check_smb_hdr(struct smb_hdr *smb) in check_smb_hdr() argument 321 if (*(__le32 *) smb->Protocol != SMB1_PROTO_NUMBER) { in check_smb_hdr() 323 *(unsigned int *)smb->Protocol); in check_smb_hdr() 328 if (smb->Flags & SMBFLG_RESPONSE) in check_smb_hdr() 332 if (smb->Command == SMB_COM_LOCKING_ANDX) in check_smb_hdr() 340 if (smb->Command == SMB_COM_TRANSACTION2 && smb->Status.CifsError != 0) in check_smb_hdr() 344 get_mid(smb)); in check_smb_hdr() 352 struct smb_hdr *smb = (struct smb_hdr *)buf; in checkSMB() local 361 && (smb->Status.CifsError != 0)) { in checkSMB() 363 smb->WordCount = 0; in checkSMB() [all …]
|
| H A D | netmisc.c | 811 struct smb_hdr *smb = (struct smb_hdr *)buf; in map_smb_to_linux_error() local 820 if (smb->Status.CifsError == 0) in map_smb_to_linux_error() 823 if (smb->Flags2 & SMBFLG2_ERR_STATUS) { in map_smb_to_linux_error() 826 __u32 err = le32_to_cpu(smb->Status.CifsError); in map_smb_to_linux_error() 833 smberrclass = smb->Status.DosError.ErrorClass; in map_smb_to_linux_error() 834 smberrcode = le16_to_cpu(smb->Status.DosError.Error); in map_smb_to_linux_error() 874 if (smb->Flags2 & SMBFLG2_ERR_STATUS) { in map_smb_to_linux_error() 875 __u32 err = le32_to_cpu(smb->Status.CifsError); in map_smb_to_linux_error() 883 le32_to_cpu(smb->Status.CifsError), rc); in map_smb_to_linux_error() 890 le32_to_cpu(smb->Status.CifsError), in map_smb_to_linux_error() [all …]
|
| H A D | cifs_debug.c | 43 struct smb_hdr *smb = buf; in cifs_dump_detail() local 46 smb->Command, smb->Status.CifsError, smb->Flags, in cifs_dump_detail() 47 smb->Flags2, smb->Mid, smb->Pid, smb->WordCount); in cifs_dump_detail() 49 cifs_dbg(VFS, "smb buf %p len %u\n", smb, in cifs_dump_detail() 50 server->ops->calc_smb_size(smb)); in cifs_dump_detail()
|
| H A D | cifssmb.c | 600 ECHO_REQ *smb; in CIFSSMBEcho() local 611 rc = small_smb_init(SMB_COM_ECHO, 0, NULL, (void **)&smb); in CIFSSMBEcho() 617 smb->hdr.Flags2 |= SMBFLG2_UNICODE; in CIFSSMBEcho() 620 smb->hdr.Tid = 0xffff; in CIFSSMBEcho() 621 smb->hdr.WordCount = 1; in CIFSSMBEcho() 622 put_unaligned_le16(1, &smb->EchoCount); in CIFSSMBEcho() 623 put_bcc(1, &smb->hdr); in CIFSSMBEcho() 624 smb->Data[0] = 'a'; in CIFSSMBEcho() 628 iov[0].iov_base = smb; in CIFSSMBEcho() 635 cifs_small_buf_release(smb); in CIFSSMBEcho() [all …]
|
| H A D | cifsglob.h | 954 get_mid(const struct smb_hdr *smb) in get_mid() argument 956 return le16_to_cpu(smb->Mid); in get_mid() 960 compare_mid(__u16 mid, const struct smb_hdr *smb) in compare_mid() argument 962 return mid == le16_to_cpu(smb->Mid); in compare_mid()
|
| /linux/drivers/net/ethernet/atheros/atlx/ |
| H A D | atl1.c | 1092 adapter->smb.dma = adapter->cmb.dma + sizeof(struct coals_msg_block); in atl1_setup_ring_resources() 1093 offset = (adapter->smb.dma & 0x7) ? (8 - (adapter->smb.dma & 0x7)) : 0; in atl1_setup_ring_resources() 1094 adapter->smb.dma += offset; in atl1_setup_ring_resources() 1095 adapter->smb.smb = (struct stats_msg_block *) in atl1_setup_ring_resources() 1237 adapter->smb.dma = 0; in atl1_free_ring_resources() 1238 adapter->smb.smb = NULL; in atl1_free_ring_resources() 1482 iowrite32((u32) (adapter->smb.dma & 0x00000000ffffffffULL), in atl1_configure() 1657 struct stats_msg_block *smb = adapter->smb.smb; in atl1_inc_smb() local 1659 u64 new_rx_errors = smb->rx_frag + in atl1_inc_smb() 1660 smb->rx_fcs_err + in atl1_inc_smb() [all …]
|
| H A D | atl1.h | 641 struct stats_msg_block *smb; member 786 struct atl1_smb smb; member
|
| /linux/Documentation/filesystems/smb/ |
| H A D | cifsroot.rst | 39 settings in Samba smb.conf:: 62 The default mount options are set in fs/smb/client/cifsroot.c. 76 Export root file system as a Samba share in smb.conf file:: 93 Restart smb service:: 95 # systemctl restart smb
|
| H A D | ksmbd.rst | 54 allows sharing information parameters that are parsed from smb.conf to ksmbd in 178 2. Enable one of the components (smb, auth, vfs, oplock, ipc, conn, rdma) 179 # sudo ksmbd.control -d "smb" 183 [smb] auth vfs oplock ipc conn [rdma]
|
| H A D | smbdirect.rst | 80 <https://www.kernel.org/doc/Documentation/filesystems/smb/ksmbd.rst>`_.
|
| /linux/fs/smb/ |
| H A D | Kconfig | 5 source "fs/smb/client/Kconfig" 6 source "fs/smb/server/Kconfig"
|
| /linux/Documentation/admin-guide/cifs/ |
| H A D | changes.rst | 9 "git log fs/smb/client" by release.
|
| H A D | authors.rst | 18 Dave Boutcher of IBM Rochester (author of the OS/400 smb/cifs filesystem client) 19 for proving years ago that very good smb/cifs clients could be done on Unix-like
|
| H A D | usage.rst | 48 the modules directory e.g. /lib/modules/6.3.0-060300-generic/kernel/fs/smb/client/cifs.ko). 71 on kernel/fs/smb/client/cifs.ko the list of configuration changes that can be made 152 to your smb.conf file on the server. Note that the following smb.conf settings 174 Some administrators may want to change Samba's smb.conf ``map archive`` and 182 (``man smb.conf``) on the Samba server system. Note that the cifs vfs, 183 unlike the smbfs vfs, does not read the smb.conf on the client system 771 system error log with the start of smb requests 803 the start of smb requests and responses can be enabled via::
|
| H A D | todo.rst | 64 in smb-info tool).
|
| /linux/arch/arm/boot/dts/aspeed/ |
| H A D | aspeed-bmc-facebook-harma.dts | 728 "","smb-rt-rom-p0-select", 729 "","smb-rt-rom-p1-select", 741 "host0-ready","reset-control-smb-e1s-0", 743 "","reset-control-smb-e1s-1",
|
| H A D | aspeed-bmc-inventec-starscream.dts | 319 /*B0-B7*/ "alert-psu0-smb-r-n","bmc-ready","","assert-cpu0-prochot-r-n", 338 "","PCH_SLP_S4_BMC_N","cpu0-thermtrip-n","alert-psu1-smb-r-n",
|
| /linux/arch/arm64/boot/dts/arm/ |
| H A D | vexpress-v2f-1xv7-ca53x2.dts | 149 smb: bus@8000000 { label
|
| /linux/arch/arm/boot/dts/arm/ |
| H A D | mps2-an399.dts | 67 smb {
|
| H A D | mps2-an385.dts | 67 smb {
|
| H A D | vexpress-v2p-ca5s.dts | 210 smb: bus@8000000 { label
|
| H A D | mps2.dtsi | 213 smb {
|
| H A D | vexpress-v2p-ca15_a7.dts | 611 smb: bus@8000000 { label
|
| /linux/fs/ |
| H A D | Makefile | 91 obj-$(CONFIG_SMBFS) += smb/
|
| H A D | Kconfig | 411 source "fs/smb/Kconfig"
|