Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/power/supply/
Dsmb347-charger.c229 static int smb347_update_ps_status(struct smb347_charger *smb) in smb347_update_ps_status() argument
236 ret = regmap_read(smb->regmap, IRQSTAT_E, &val); in smb347_update_ps_status()
244 if (smb->pdata->use_mains) in smb347_update_ps_status()
246 if (smb->pdata->use_usb) in smb347_update_ps_status()
249 mutex_lock(&smb->lock); in smb347_update_ps_status()
250 ret = smb->mains_online != dc || smb->usb_online != usb; in smb347_update_ps_status()
251 smb->mains_online = dc; in smb347_update_ps_status()
252 smb->usb_online = usb; in smb347_update_ps_status()
253 mutex_unlock(&smb->lock); in smb347_update_ps_status()
267 static bool smb347_is_ps_online(struct smb347_charger *smb) in smb347_is_ps_online() argument
[all …]
/Linux-v5.4/fs/cifs/
Dmisc.c292 check_smb_hdr(struct smb_hdr *smb) in check_smb_hdr() argument
295 if (*(__le32 *) smb->Protocol != cpu_to_le32(0x424d53ff)) { in check_smb_hdr()
297 *(unsigned int *)smb->Protocol); in check_smb_hdr()
302 if (smb->Flags & SMBFLG_RESPONSE) in check_smb_hdr()
306 if (smb->Command == SMB_COM_LOCKING_ANDX) in check_smb_hdr()
310 get_mid(smb)); in check_smb_hdr()
317 struct smb_hdr *smb = (struct smb_hdr *)buf; in checkSMB() local
318 __u32 rfclen = be32_to_cpu(smb->smb_buf_length); in checkSMB()
326 && (smb->Status.CifsError != 0)) { in checkSMB()
328 smb->WordCount = 0; in checkSMB()
[all …]
Dcifs_debug.c38 struct smb_hdr *smb = (struct smb_hdr *)buf; in cifs_dump_detail() local
41 smb->Command, smb->Status.CifsError, in cifs_dump_detail()
42 smb->Flags, smb->Flags2, smb->Mid, smb->Pid); in cifs_dump_detail()
43 cifs_dbg(VFS, "smb buf %p len %u\n", smb, in cifs_dump_detail()
44 server->ops->calc_smb_size(smb, server)); in cifs_dump_detail()
Dcifssmb.c834 ECHO_REQ *smb; in CIFSSMBEcho() local
842 rc = small_smb_init(SMB_COM_ECHO, 0, NULL, (void **)&smb); in CIFSSMBEcho()
847 smb->hdr.Flags2 |= SMBFLG2_UNICODE; in CIFSSMBEcho()
850 smb->hdr.Tid = 0xffff; in CIFSSMBEcho()
851 smb->hdr.WordCount = 1; in CIFSSMBEcho()
852 put_unaligned_le16(1, &smb->EchoCount); in CIFSSMBEcho()
853 put_bcc(1, &smb->hdr); in CIFSSMBEcho()
854 smb->Data[0] = 'a'; in CIFSSMBEcho()
855 inc_rfc1001_len(smb, 3); in CIFSSMBEcho()
858 iov[0].iov_base = smb; in CIFSSMBEcho()
[all …]
Dnetmisc.c813 struct smb_hdr *smb = (struct smb_hdr *)buf; in map_smb_to_linux_error() local
822 if (smb->Status.CifsError == 0) in map_smb_to_linux_error()
825 if (smb->Flags2 & SMBFLG2_ERR_STATUS) { in map_smb_to_linux_error()
828 __u32 err = le32_to_cpu(smb->Status.CifsError); in map_smb_to_linux_error()
835 smberrclass = smb->Status.DosError.ErrorClass; in map_smb_to_linux_error()
836 smberrcode = le16_to_cpu(smb->Status.DosError.Error); in map_smb_to_linux_error()
876 le32_to_cpu(smb->Status.CifsError), rc); in map_smb_to_linux_error()
Dcifsglob.h862 get_mid(const struct smb_hdr *smb) in get_mid() argument
864 return le16_to_cpu(smb->Mid); in get_mid()
868 compare_mid(__u16 mid, const struct smb_hdr *smb) in compare_mid() argument
870 return mid == le16_to_cpu(smb->Mid); in compare_mid()
/Linux-v5.4/drivers/net/ethernet/atheros/atlx/
Datl1.c1094 adapter->smb.dma = adapter->cmb.dma + sizeof(struct coals_msg_block); in atl1_setup_ring_resources()
1095 offset = (adapter->smb.dma & 0x7) ? (8 - (adapter->smb.dma & 0x7)) : 0; in atl1_setup_ring_resources()
1096 adapter->smb.dma += offset; in atl1_setup_ring_resources()
1097 adapter->smb.smb = (struct stats_msg_block *) in atl1_setup_ring_resources()
1239 adapter->smb.dma = 0; in atl1_free_ring_resources()
1240 adapter->smb.smb = NULL; in atl1_free_ring_resources()
1484 iowrite32((u32) (adapter->smb.dma & 0x00000000ffffffffULL), in atl1_configure()
1659 struct stats_msg_block *smb = adapter->smb.smb; in atl1_inc_smb() local
1661 u64 new_rx_errors = smb->rx_frag + in atl1_inc_smb()
1662 smb->rx_fcs_err + in atl1_inc_smb()
[all …]
Datl1.h641 struct stats_msg_block *smb; member
786 struct atl1_smb smb; member
/Linux-v5.4/Documentation/filesystems/cifs/
Dcifsroot.txt35 settings in Samba smb.conf:
68 Export root file system as a Samba share in smb.conf file.
85 Restart smb service.
87 # systemctl restart smb
/Linux-v5.4/Documentation/admin-guide/cifs/
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
/Linux-v5.4/arch/arm64/boot/dts/arm/
Drtsm_ve-motherboard-rs2.dtsi8 smb@8000000 {
Dvexpress-v2f-1xv7-ca53x2.dts147 smb: smb@8000000 { label
Drtsm_ve-aemv8a.dts135 smb@8000000 {
Dfoundation-v8.dtsi95 smb@8000000 {
Drtsm_ve-motherboard.dtsi11 smb@8000000 {
Dfvp-base-revc.dts209 smb@8000000 {
/Linux-v5.4/arch/arm/boot/dts/
Dvexpress-v2p-ca5s.dts209 smb: smb@8000000 { label
Dvexpress-v2p-ca9.dts298 smb: smb@4000000 { label
Dmps2-an385.dts67 smb {
Dmps2-an399.dts67 smb {
Dvexpress-v2p-ca15-tc1.dts239 smb@8000000 {
Dvexpress-v2p-ca15_a7.dts611 smb: smb@8000000 { label
Dmps2.dtsi237 smb {
/Linux-v5.4/Documentation/devicetree/bindings/arm/
Dvexpress.txt149 The tile description should define a "smb" node, describing the
213 smb {
/Linux-v5.4/arch/arm64/boot/dts/amd/
Damd-seattle-soc.dtsi53 smb0: smb {

12