| /linux/Documentation/filesystems/smb/ |
| H A D | smbdirect.rst | 4 SMB Direct - SMB3 over RDMA 7 This document describes how to set up the Linux SMB client and server to 12 The Linux SMB kernel client supports SMB Direct, which is a transport 16 SMB Direct on the Linux SMB client can be tested against KSMBD - a 17 kernel-space SMB server. 25 - Install a kernel with SMB Direct support. The first kernel release to 26 support SMB Direct on both the client and server side is 5.15. Therefore, 29 - Install cifs-utils, which provides the `mount.cifs` command to mount SMB 54 - Enable SMB Direct support for both the server and the client in the kernel 63 [*] Support for SMB Direct protocol [all …]
|
| H A D | cifsroot.rst | 4 Mounting root file system via SMB (cifs.ko) 12 support over the SMB protocol via cifs.ko. 16 network by utilizing SMB or CIFS protocol. 39 settings in Samba smb.conf:: 53 the root file system via SMB protocol. 59 Enables the kernel to mount the root file system via SMB that are 62 The default mount options are set in fs/smb/client/cifsroot.c. 68 Path to SMB share (rootfs). 76 Export root file system as a Samba share in smb.conf file:: 93 Restart smb service:: [all …]
|
| H A D | ksmbd.rst | 27 for listening to SMB requests. Whenever new clients make a request, the Forker 30 processing of SMB requests(commands) from clients as well as allowing for new 32 to indicate connected clients. Depending on the SMB request types, each new 41 ownership of receiving/parsing of SMB commands. Each received command is worked 45 So, each SMB workitem is queued to the kworkers. This allows the benefit of load 54 allows sharing information parameters that are parsed from smb.conf to ksmbd in 84 SMB direct(RDMA) Supported. 134 2. Create /usr/local/etc/ksmbd/ksmbd.conf file, add SMB share in ksmbd.conf file. 141 3. Create user/password for SMB share. 146 $ sudo ksmbd.adduser -a <Enter USERNAME for SMB share access> [all …]
|
| /linux/fs/smb/client/ |
| H A D | smb1maperror.c | 105 struct smb_hdr *smb = (struct smb_hdr *)buf; in map_smb_to_linux_error() local 106 int rc = -EIO; /* if transport error smb error may not be set */ in map_smb_to_linux_error() 113 /* old style smb error codes */ in map_smb_to_linux_error() 114 if (smb->Status.CifsError == 0) in map_smb_to_linux_error() 117 if (smb->Flags2 & SMBFLG2_ERR_STATUS) { in map_smb_to_linux_error() 118 /* translate the newer STATUS codes to old style SMB errors in map_smb_to_linux_error() 120 __u32 err = le32_to_cpu(smb->Status.CifsError); in map_smb_to_linux_error() 136 smberrclass = smb->Status.DosError.ErrorClass; in map_smb_to_linux_error() 137 smberrcode = le16_to_cpu(smb->Status.DosError.Error); in map_smb_to_linux_error() 143 /* DOS class smb error codes - map DOS */ in map_smb_to_linux_error() [all …]
|
| H A D | cifssmb.c | 7 * Contains the routines for constructing the SMB PDUs themselves 11 /* SMB/CIFS PDU handling routines here - except for leftovers in connect.c */ 70 /* reconnect the socket, tcon, and smb session if needed */ 80 * tcp and smb session status done differently for those three - in the in cifs_reconnect_tcon() 140 * reconnect the same SMB session in cifs_reconnect_tcon() 223 /* Allocate and return pointer to an SMB request buffer, and set basic 224 SMB information in the SMB header. If the return code is zero, this 291 /* potential retries of smb operations it turns out we can determine */ in __smb_init() 343 /* check for parm and data offset going beyond end of smb */ in validate_t2() 353 * less than negotiated smb buffer in validate_t2() [all …]
|
| H A D | smb2misc.c | 31 * Make sure that this really is an SMB, that it is a response, in check_smb2_hdr() 53 cifs_dbg(VFS, "Bad SMB detected. The Mid=%llu\n", wire_mid); in check_smb2_hdr() 59 * in order by SMB2 command. This is similar to "wct" in SMB/CIFS responses. 233 * As with SMB/CIFS, on some error cases servers may in smb2_check_message() 238 cifs_dbg(VFS, "Length less than SMB header size\n"); in smb2_check_message() 243 cifs_dbg(VFS, "SMB length greater than maximum, mid=%llu\n", in smb2_check_message() 343 * area and the offset to it (from the beginning of the smb are also returned. 432 /* return pointer to beginning of data area, ie offset from SMB start */ in smb2_get_data_area_len() 439 * Calculate the size of the SMB message based on the fixed header, fixed 451 int offset; /* the offset from the beginning of SMB to data area */ in __smb2_calc_size() [all …]
|
| H A D | reparse.c | 98 * on the SMB server. in create_native_symlink() 149 * These paths have same format as relative SMB symlinks, in create_native_symlink() 186 * meant for share-relative SMB paths), which would corrupt an absolute in create_native_symlink() 212 * SMB distinguish between symlink to directory and symlink to file. in create_native_symlink() 320 * then try to resolve the path on the SMB server, check if the path in detect_directory_symlink_target() 338 * Compose the resolved SMB symlink path from the SMB full path in detect_directory_symlink_target() 898 * hardisk number. Over SMB it is not possible to resolve this in smb2_parse_native_symlink() 900 * volume guids are totally unusable over SMB. in smb2_parse_native_symlink() 959 * This is a relative SMB symlink from the top of the share, in smb2_parse_native_symlink() 963 * full_path is the SMB path to the symlink (from which is in smb2_parse_native_symlink() [all …]
|
| /linux/Documentation/i2c/busses/ |
| H A D | i2c-ali15x3.rst | 42 This is the driver for the SMB Host controller on Acer Labs Inc. (ALI) 89 then you must enable ACPI, the PMU, SMB, or something similar 94 The SMB controller is part of the M7101 device, which is an ACPI-compliant 97 The whole M7101 device has to be enabled for the SMB to work. You can't 98 just enable the SMB alone. The SMB and the ACPI have separate I/O spaces. 99 We make sure that the SMB is enabled. We leave the ACPI alone. 104 This driver controls the SMB Host only. The SMB Slave 112 This driver requests the I/O space for only the SMB
|
| H A D | i2c-ali1535.rst | 21 This is the driver for the SMB Host controller on Acer Labs Inc. (ALI) 33 The SMB controller is part of the M7101 device, which is an ACPI-compliant 36 The whole M7101 device has to be enabled for the SMB to work. You can't 37 just enable the SMB alone. The SMB and the ACPI have separate I/O spaces. 38 We make sure that the SMB is enabled. We leave the ACPI alone. 44 This driver controls the SMB Host only. This driver does not use
|
| H A D | i2c-ali1563.rst | 16 This is the driver for the SMB Host controller on Acer Labs Inc. (ALI) 29 This driver controls the SMB Host only. This driver does not use
|
| /linux/fs/smb/server/ |
| H A D | smb2misc.c | 16 * Make sure that this really is an SMB, that it is a response. in check_smb2_hdr() 25 * in order by SMB2 command. This is similar to "wct" in SMB/CIFS requests. 186 ksmbd_debug(SMB, "no length check for command\n"); in smb2_get_data_area_len() 191 ksmbd_debug(SMB, "offset %d too large\n", *off); in smb2_get_data_area_len() 194 ksmbd_debug(SMB, "Request is larger than maximum stream protocol length(%u): %llu\n", in smb2_get_data_area_len() 203 * Calculate the size of the SMB message based on the fixed header 210 unsigned int offset; /* the offset from the beginning of SMB to data area */ in smb2_calc_size() 237 ksmbd_debug(SMB, "SMB2 data length %u offset %u\n", data_length, in smb2_calc_size() 248 ksmbd_debug(SMB, in smb2_calc_size() 258 ksmbd_debug(SMB, "SMB2 len %u\n", *len); in smb2_calc_size() [all …]
|
| H A D | smb2pdu.c | 134 * @work: smb work 148 ksmbd_debug(SMB, "skip to check tree connect request\n"); in smb2_get_ksmbd_tcon() 153 ksmbd_debug(SMB, "NO tree connected\n"); in smb2_get_ksmbd_tcon() 188 * smb2_set_err_rsp() - set error response code on smb response 189 * @work: smb work containing response buffer 218 * @work: smb work containing smb header 242 * @work: smb work containing smb response buffer 262 * get_smb2_cmd_val() - get smb command code from smb header 263 * @work: smb work containing smb request buffer 280 * @work: smb work containing response buffer [all …]
|
| H A D | ksmbd_work.h | 37 /* Pointer to received SMB header */ 78 /* response smb header size */ 125 * @work: smb work containing response buffer 134 * @work: smb work containing response buffer 143 * @work: smb work containing response buffer
|
| H A D | vfs.c | 140 * ksmbd_vfs_create() - vfs helper for smb create file 177 * ksmbd_vfs_mkdir() - vfs helper for smb create directory 287 * check_lock_range() - vfs helper for smb byte range file locking 331 * ksmbd_vfs_read() - vfs helper for smb file read 332 * @work: smb work 375 pr_err("smb read failed, err = %zd\n", nbytes); in ksmbd_vfs_read() 455 * ksmbd_vfs_write() - vfs helper for smb file write 510 ksmbd_debug(VFS, "smb write failed, err = %d\n", err); in ksmbd_vfs_write() 530 * ksmbd_vfs_getattr() - vfs helper for smb getattr 547 * ksmbd_vfs_fsync() - vfs helper for smb fsync [all …]
|
| H A D | server.c | 93 * @work: smb work containing server thread information 140 ksmbd_debug(SMB, "*** not implemented yet cmd = %x\n", command); in __process_request() 356 * handle_ksmbd_work() - process pending smb work requests 357 * @wk: smb work containing request command buffer 359 * called by kworker threads to processing remaining smb work requests 376 * queue_ksmbd_work() - queue a smb request to worker thread queue 377 * for processing smb command and sending response 565 static const char * const debug_type_strings[] = {"smb", "auth", "vfs", 752 MODULE_DESCRIPTION("Linux kernel CIFS/SMB SERVER");
|
| H A D | ntlmssp.h | 16 * Size of the crypto key returned on the negotiate SMB in bytes 156 /* per smb session structure/fields */ 158 /* whether session key is per smb session */
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-coresight-devices-ultra_smb | 5 Description: (RW) Add/remove a SMB device from a trace path. There can be 6 multiple sources for a single SMB device. 12 Description: (RO) Shows the buffer size of each UltraSoc SMB device. 18 Description: (RO) Shows the value of UltraSoc SMB status register. 25 Description: (RO) Shows the value of UltraSoc SMB Read Pointer register. 31 Description: (RO) Shows the value of UltraSoc SMB Write Pointer register.
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-ali1535.c | 11 This is the driver for the SMB Host controller on 25 The SMB controller is part of the 7101 device, which is an 28 The whole 7101 device has to be enabled for the SMB to work. 29 You can't just enable the SMB alone. 30 The SMB and the ACPI have separate I/O spaces. 31 We make sure that the SMB is enabled. We leave the ACPI alone. 33 This driver controls the SMB Host only. 118 #define ALI1535_SMBIO_EN 0x04 /* SMB I/O Space enable */ 134 - SMB I/O address is initialized in ali1535_setup() 177 dev_err(&dev->dev, "SMB device not enabled - upgrade BIOS?\n"); in ali1535_setup() [all …]
|
| H A D | i2c-ali15x3.c | 10 This is the driver for the SMB Host controller on 33 The SMB controller is part of the 7101 device, which is an 36 The whole 7101 device has to be enabled for the SMB to work. 37 You can't just enable the SMB alone. 38 The SMB and the ACPI have separate I/O spaces. 39 We make sure that the SMB is enabled. We leave the ACPI alone. 41 This driver controls the SMB Host only. 42 The SMB Target controller on the M15X3 is not enabled. 127 - SMB I/O address is initialized in ali15x3_setup() 192 /* Is SMB Host controller enabled? */ in ali15x3_setup() [all …]
|
| /linux/drivers/net/ethernet/atheros/atlx/ |
| H A D | atl1.c | 1091 /* init SMB */ in atl1_setup_ring_resources() 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() 1596 /* config CMB / SMB */ in atl1_configure() 1606 /* --- enable CMB / SMB */ in atl1_configure() [all …]
|
| /linux/drivers/hwtracing/coresight/ |
| H A D | ultrasoc-smb.c | 17 #include "ultrasoc-smb.h" 76 /* Reset SMB logical buffer status flags */ in smb_reset_buffer() 129 /* Copy parts of trace data when read pointer wrap around SMB buffer */ in smb_read() 252 /* Do nothing, the SMB is already enabled as other mode */ in smb_enable() 272 dev_dbg(&csdev->dev, "Ultrasoc SMB enabled\n"); in smb_enable() 298 dev_dbg(&csdev->dev, "Ultrasoc SMB disabled\n"); in smb_disable() 390 * The SMB buffer may be bigger than the space available in the in smb_update_buffer() 427 dev_err(&pdev->dev, "SMB device failed to get resource\n"); in smb_init_data_buffer() 571 dev_err(dev, "Failed to register SMB sink\n"); in smb_probe() 597 .name = "ultrasoc-smb", [all …]
|
| /linux/Documentation/admin-guide/cifs/ |
| H A D | authors.rst | 11 Andrew Tridgell (Samba team) for his early suggestions about SMB/CIFS VFS 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 55 - Long Li (some great work on RDMA, SMB Direct)
|
| H A D | usage.rst | 11 supersedes the 1992 X/Open SMB Standard) as well as to perform best practice 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 270 illegal Windows/NTFS/SMB characters to a remap range (this mount parameter 273 When POSIX Extensions for SMB 3.1.1 are negotiated, remapping is automatically 293 Set the SMB/CIFS workgroup name prepended to the [all …]
|
| /linux/Documentation/trace/coresight/ |
| H A D | ultrasoc-smb.rst | 12 UltraSoc SMB is a per SCCL (Super CPU Cluster) hardware. It provides a 20 The SMB devices appear on the existing coresight bus alongside other 26 The ``ultra_smb<N>`` names SMB device associated with SCCL.::
|
| /linux/arch/arm/boot/dts/aspeed/ |
| H A D | aspeed-bmc-tyan-s7106.dts | 360 * - 0,0: PCIE slot 1, SMB #1 361 * - 0,1: PCIE slot 1, SMB #2 362 * - 1,0: PCIE slot 2, SMB #1 363 * - 1,1: PCIE slot 2, SMB #2 368 * - 0,0: OCP0 (A) SMB 369 * - 0,1: OCP0 (C) SMB 370 * - 1,0: OCP1 (A) SMB
|