Home
last modified time | relevance | path

Searched full:smb (Results 1 – 25 of 135) sorted by relevance

123456

/linux/Documentation/filesystems/smb/
H A Dsmbdirect.rst4 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 Dcifsroot.rst4 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 Dksmbd.rst27 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/server/
H A Dsmb_common.c37 "\2SMB 2.1",
43 "\2SMB 2.???",
52 "\2SMB 2.1",
58 "\2SMB 3.0",
64 "\2SMB 3.02",
70 "\2SMB 3.1.1",
132 ksmbd_debug(SMB, "selected %s dialect idx = %d\n", in ksmbd_lookup_protocol_idx()
142 ksmbd_debug(SMB, "selected %s dialect idx = %d\n", in ksmbd_lookup_protocol_idx()
153 * @work: smb work
155 * check for valid smb signature and packet direction(request/response)
[all …]
H A Dsmb2misc.c16 * 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 Dsmb2pdu.c60 * check_session_id() - check for valid session id in smb header
62 * @id: session id from smb header
95 * @work: smb work
109 ksmbd_debug(SMB, "skip to check tree connect request\n"); in smb2_get_ksmbd_tcon()
114 ksmbd_debug(SMB, "NO tree connected\n"); in smb2_get_ksmbd_tcon()
147 * smb2_set_err_rsp() - set error response code on smb response
148 * @work: smb work containing response buffer
177 * @work: smb work containing smb header
201 * @work: smb work containing smb response buffer
221 * get_smb2_cmd_val() - get smb command code from smb header
[all …]
H A DKconfig50 bool "Support for SMB Direct protocol"
56 Enables SMB Direct support for SMB 3.0, 3.02 and 3.1.1.
58 SMB Direct allows transferring SMB packets over RDMA. If unsure,
H A Dksmbd_work.h34 /* Pointer to received SMB header */
66 /* response smb header size */
96 * @work: smb work containing response buffer
105 * @work: smb work containing response buffer
114 * @work: smb work containing response buffer
H A Dvfs.c144 * ksmbd_vfs_create() - vfs helper for smb create file
181 * ksmbd_vfs_mkdir() - vfs helper for smb create directory
288 * check_lock_range() - vfs helper for smb byte range file locking
335 * ksmbd_vfs_read() - vfs helper for smb file read
336 * @work: smb work
379 pr_err("smb read failed, err = %zd\n", nbytes); in ksmbd_vfs_read()
455 * ksmbd_vfs_write() - vfs helper for smb file write
509 ksmbd_debug(VFS, "smb write failed, err = %d\n", err); in ksmbd_vfs_write()
529 * ksmbd_vfs_getattr() - vfs helper for smb getattr
546 * ksmbd_vfs_fsync() - vfs helper for smb fsync
[all …]
H A Dserver.c89 * @work: smb work containing server thread information
135 ksmbd_debug(SMB, "*** not implemented yet cmd = %x\n", command); in __process_request()
260 * handle_ksmbd_work() - process pending smb work requests
261 * @wk: smb work containing request command buffer
263 * called by kworker threads to processing remaining smb work requests
280 * queue_ksmbd_work() - queue a smb request to worker thread queue
281 * for processing smb command and sending response
469 static const char * const debug_type_strings[] = {"smb", "auth", "vfs",
630 MODULE_DESCRIPTION("Linux kernel CIFS/SMB SERVER");
/linux/fs/smb/client/
H A DKconfig29 protocol, Server Message Block (SMB ie SMB1), the native file sharing
60 Enabling this option will allow more detailed statistics on SMB
100 namespace prefix to SMB/CIFS EAs. EAs are stored on Windows
183 bool "SMB Direct support"
186 Enables SMB Direct support for SMB 3.0, 3.02 and 3.1.1.
187 SMB Direct allows transferring SMB packets over RDMA. If unsure,
199 bool "SMB root file system (Experimental)"
202 Enables root file system support over SMB protocol.
207 bool "SMB message compression (Experimental)"
211 Enables over-the-wire message compression for SMB 3.1.1
[all …]
H A Dsmb1encrypt.c20 * Calculate and return the CIFS signature based on the mac key and SMB PDU.
22 * 1st eight bytes and that the smb header signature field on input contains
114 cifs_dbg(FYI, "dummy signature received for smb command 0x%x\n", in cifs_verify_signature()
117 /* save off the original signature so we can modify the smb and check in cifs_verify_signature()
H A Dsmb2misc.c28 * Make sure that this really is an SMB, that it is a response, in check_smb2_hdr()
50 cifs_dbg(VFS, "Bad SMB detected. The Mid=%llu\n", wire_mid); in check_smb2_hdr()
56 * in order by SMB2 command. This is similar to "wct" in SMB/CIFS responses.
198 * As with SMB/CIFS, on some error cases servers may in smb2_check_message()
203 cifs_dbg(VFS, "Length less than SMB header size\n"); in smb2_check_message()
208 cifs_dbg(VFS, "SMB length greater than maximum, mid=%llu\n", in smb2_check_message()
313 * area and the offset to it (from the beginning of the smb are also returned.
402 /* return pointer to beginning of data area, ie offset from SMB start */ in smb2_get_data_area_len()
409 * Calculate the size of the SMB message based on the fixed header
417 int offset; /* the offset from the beginning of SMB to data area */ in smb2_calc_size()
[all …]
/linux/Documentation/i2c/busses/
H A Di2c-ali15x3.rst42 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 Di2c-ali1535.rst21 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 Di2c-ali1563.rst16 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/Documentation/ABI/testing/
H A Dsysfs-bus-coresight-devices-ultra_smb5 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 Di2c-ali1535.c11 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 Di2c-ali15x3.c10 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 Datl1.c1091 /* 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 Dultrasoc-smb.c18 #include "ultrasoc-smb.h"
79 /* Reset SMB logical buffer status flags */ in smb_reset_buffer()
132 /* Copy parts of trace data when read pointer wrap around SMB buffer */ in smb_read()
255 /* Do nothing, the SMB is already enabled as other mode */ in smb_enable()
275 dev_dbg(&csdev->dev, "Ultrasoc SMB enabled\n"); in smb_enable()
301 dev_dbg(&csdev->dev, "Ultrasoc SMB disabled\n"); in smb_disable()
392 * The SMB buffer may be bigger than the space available in the in smb_update_buffer()
429 dev_err(&pdev->dev, "SMB device failed to get resource\n"); in smb_init_data_buffer()
573 dev_err(dev, "Failed to register SMB sink\n"); in smb_probe()
599 .name = "ultrasoc-smb",
[all …]
/linux/Documentation/admin-guide/cifs/
H A Dauthors.rst11 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 Dusage.rst11 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/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-tyan-s7106.dts360 * - 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
/linux/Documentation/trace/coresight/
H A Dultrasoc-smb.rst12 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.::

123456