Home
last modified time | relevance | path

Searched refs:smb (Results 1 – 23 of 23) sorted by relevance

/linux-4.4.14/drivers/power/
Dsmb347-charger.c232 static int smb347_update_ps_status(struct smb347_charger *smb) in smb347_update_ps_status() argument
239 ret = regmap_read(smb->regmap, IRQSTAT_E, &val); in smb347_update_ps_status()
247 if (smb->pdata->use_mains) in smb347_update_ps_status()
249 if (smb->pdata->use_usb) in smb347_update_ps_status()
252 mutex_lock(&smb->lock); in smb347_update_ps_status()
253 ret = smb->mains_online != dc || smb->usb_online != usb; in smb347_update_ps_status()
254 smb->mains_online = dc; in smb347_update_ps_status()
255 smb->usb_online = usb; in smb347_update_ps_status()
256 mutex_unlock(&smb->lock); in smb347_update_ps_status()
270 static bool smb347_is_ps_online(struct smb347_charger *smb) in smb347_is_ps_online() argument
[all …]
/linux-4.4.14/fs/cifs/
Dmisc.c290 check_smb_hdr(struct smb_hdr *smb) in check_smb_hdr() argument
293 if (*(__le32 *) smb->Protocol != cpu_to_le32(0x424d53ff)) { in check_smb_hdr()
295 *(unsigned int *)smb->Protocol); in check_smb_hdr()
300 if (smb->Flags & SMBFLG_RESPONSE) in check_smb_hdr()
304 if (smb->Command == SMB_COM_LOCKING_ANDX) in check_smb_hdr()
308 get_mid(smb)); in check_smb_hdr()
315 struct smb_hdr *smb = (struct smb_hdr *)buf; in checkSMB() local
316 __u32 rfclen = be32_to_cpu(smb->smb_buf_length); in checkSMB()
324 && (smb->Status.CifsError != 0)) { in checkSMB()
326 smb->WordCount = 0; in checkSMB()
[all …]
Dcifs_debug.c62 struct smb_hdr *smb = (struct smb_hdr *)buf; in cifs_dump_detail() local
65 smb->Command, smb->Status.CifsError, in cifs_dump_detail()
66 smb->Flags, smb->Flags2, smb->Mid, smb->Pid); in cifs_dump_detail()
67 cifs_dbg(VFS, "smb buf %p len %u\n", smb, smbCalcSize(smb)); in cifs_dump_detail()
Dcifssmb.c708 ECHO_REQ *smb; in CIFSSMBEcho() local
716 rc = small_smb_init(SMB_COM_ECHO, 0, NULL, (void **)&smb); in CIFSSMBEcho()
721 smb->hdr.Tid = 0xffff; in CIFSSMBEcho()
722 smb->hdr.WordCount = 1; in CIFSSMBEcho()
723 put_unaligned_le16(1, &smb->EchoCount); in CIFSSMBEcho()
724 put_bcc(1, &smb->hdr); in CIFSSMBEcho()
725 smb->Data[0] = 'a'; in CIFSSMBEcho()
726 inc_rfc1001_len(smb, 3); in CIFSSMBEcho()
727 iov.iov_base = smb; in CIFSSMBEcho()
728 iov.iov_len = be32_to_cpu(smb->hdr.smb_buf_length) + 4; in CIFSSMBEcho()
[all …]
Dnetmisc.c830 struct smb_hdr *smb = (struct smb_hdr *)buf; in map_smb_to_linux_error() local
839 if (smb->Status.CifsError == 0) in map_smb_to_linux_error()
842 if (smb->Flags2 & SMBFLG2_ERR_STATUS) { in map_smb_to_linux_error()
845 __u32 err = le32_to_cpu(smb->Status.CifsError); in map_smb_to_linux_error()
852 smberrclass = smb->Status.DosError.ErrorClass; in map_smb_to_linux_error()
853 smberrcode = le16_to_cpu(smb->Status.DosError.Error); in map_smb_to_linux_error()
893 le32_to_cpu(smb->Status.CifsError), rc); in map_smb_to_linux_error()
Dsmb2ops.c202 struct smb2_hdr *smb = (struct smb2_hdr *)buf; in smb2_dump_detail() local
205 smb->Command, smb->Status, smb->Flags, smb->MessageId, in smb2_dump_detail()
206 smb->ProcessId); in smb2_dump_detail()
207 cifs_dbg(VFS, "smb buf %p len %u\n", smb, smb2_calc_size(smb)); in smb2_dump_detail()
Dcifsglob.h694 get_mid(const struct smb_hdr *smb) in get_mid() argument
696 return le16_to_cpu(smb->Mid); in get_mid()
700 compare_mid(__u16 mid, const struct smb_hdr *smb) in compare_mid() argument
702 return mid == le16_to_cpu(smb->Mid); in compare_mid()
Dcifspdu.h437 BCC(struct smb_hdr *smb) in BCC() argument
439 return (void *)smb + sizeof(*smb) + 2 * smb->WordCount; in BCC()
/linux-4.4.14/drivers/net/ethernet/atheros/atlx/
Datl1.c1113 adapter->smb.dma = adapter->cmb.dma + sizeof(struct coals_msg_block); in atl1_setup_ring_resources()
1114 offset = (adapter->smb.dma & 0x7) ? (8 - (adapter->smb.dma & 0x7)) : 0; in atl1_setup_ring_resources()
1115 adapter->smb.dma += offset; in atl1_setup_ring_resources()
1116 adapter->smb.smb = (struct stats_msg_block *) in atl1_setup_ring_resources()
1258 adapter->smb.dma = 0; in atl1_free_ring_resources()
1259 adapter->smb.smb = NULL; in atl1_free_ring_resources()
1503 iowrite32((u32) (adapter->smb.dma & 0x00000000ffffffffULL), in atl1_configure()
1678 struct stats_msg_block *smb = adapter->smb.smb; in atl1_inc_smb() local
1680 u64 new_rx_errors = smb->rx_frag + in atl1_inc_smb()
1681 smb->rx_fcs_err + in atl1_inc_smb()
[all …]
Datl1.h654 struct stats_msg_block *smb; member
799 struct atl1_smb smb; member
/linux-4.4.14/Documentation/filesystems/cifs/
DAUTHORS6 Andrew Tridgell (Samba team) for his early suggestions about smb/cifs VFS
13 Dave Boutcher of IBM Rochester (author of the OS/400 smb/cifs filesystem client)
14 for proving years ago that very good smb/cifs clients could be done on Unix-like
DCHANGES61 user's smb session. This fix allows cifs to mount multiple times to the
286 max smb buffer size when CIFSMaxBufSize over 64K. Fix oops in
287 cifs_user_read and cifs_readpages (when EAGAIN on send of smb
318 from Windows (Windows can send an RFC1001 size which does not match smb size) by
510 of the two user's smb sessions is being removed while leaving the other.
545 Change to mempools for alloc smb request buffers and multiplex structs
558 Fix PPC64 build error. Reduce excessive stack usage in smb password
689 Active smb transactions should never go negative (fix double FreeXid). Fix
741 we will choose a cifs user session (smb uid) that better matches the local
774 Fixed various incorrect or misleading smb to posix error code mappings.
[all …]
DREADME140 to your smb.conf file on the server. Note that the following smb.conf settings
162 Some administrators may want to change Samba's smb.conf "map archive" and
170 ("man smb.conf") on the Samba server system. Note that the cifs vfs,
171 unlike the smbfs vfs, does not read the smb.conf on the client system
669 system error log with the start of smb requests
701 the start of smb requests and responses can be enabled via:
/linux-4.4.14/arch/arm64/boot/dts/arm/
Drtsm_ve-aemv8a.dts107 smb {
Dfoundation-v8.dts104 smb {
Dvexpress-v2f-1xv7-ca53x2.dts131 smb {
Djuno-base.dtsi185 smb {
/linux-4.4.14/Documentation/devicetree/bindings/arm/
Dvexpress.txt149 The tile description should define a "smb" node, describing the
213 smb {
/linux-4.4.14/arch/arm64/boot/dts/amd/
Damd-seattle-soc.dtsi52 smb0: smb {
/linux-4.4.14/arch/arm/boot/dts/
Dvexpress-v2p-ca5s.dts193 smb {
Dvexpress-v2p-ca15-tc1.dts223 smb {
Dvexpress-v2p-ca9.dts303 smb {
Dvexpress-v2p-ca15_a7.dts581 smb {