/linux-6.1.9/drivers/power/supply/ |
D | smb347-charger.c | 307 static int smb347_update_ps_status(struct smb347_charger *smb) in smb347_update_ps_status() argument 314 ret = regmap_read(smb->regmap, IRQSTAT_E, &val); in smb347_update_ps_status() 322 if (smb->use_mains) in smb347_update_ps_status() 324 if (smb->use_usb) in smb347_update_ps_status() 327 ret = smb->mains_online != dc || smb->usb_online != usb; in smb347_update_ps_status() 328 smb->mains_online = dc; in smb347_update_ps_status() 329 smb->usb_online = usb; in smb347_update_ps_status() 343 static bool smb347_is_ps_online(struct smb347_charger *smb) in smb347_is_ps_online() argument 345 return smb->usb_online || smb->mains_online; in smb347_is_ps_online() 355 static int smb347_charging_status(struct smb347_charger *smb) in smb347_charging_status() argument [all …]
|
/linux-6.1.9/drivers/net/ethernet/atheros/atlx/ |
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 …]
|
D | atl1.h | 641 struct stats_msg_block *smb; member 786 struct atl1_smb smb; member
|
/linux-6.1.9/fs/cifs/ |
D | misc.c | 292 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 …]
|
D | netmisc.c | 812 struct smb_hdr *smb = (struct smb_hdr *)buf; in map_smb_to_linux_error() local 821 if (smb->Status.CifsError == 0) in map_smb_to_linux_error() 824 if (smb->Flags2 & SMBFLG2_ERR_STATUS) { in map_smb_to_linux_error() 827 __u32 err = le32_to_cpu(smb->Status.CifsError); in map_smb_to_linux_error() 834 smberrclass = smb->Status.DosError.ErrorClass; in map_smb_to_linux_error() 835 smberrcode = le16_to_cpu(smb->Status.DosError.Error); in map_smb_to_linux_error() 875 le32_to_cpu(smb->Status.CifsError), rc); in map_smb_to_linux_error() 887 struct smb_hdr *smb = (struct smb_hdr *)mid->resp_buf; in map_and_check_smb_error() local 889 rc = map_smb_to_linux_error((char *)smb, logErr); in map_and_check_smb_error() 890 if (rc == -EACCES && !(smb->Flags2 & SMBFLG2_ERR_STATUS)) { in map_and_check_smb_error() [all …]
|
D | cifssmb.c | 601 ECHO_REQ *smb; in CIFSSMBEcho() local 609 rc = small_smb_init(SMB_COM_ECHO, 0, NULL, (void **)&smb); in CIFSSMBEcho() 614 smb->hdr.Flags2 |= SMBFLG2_UNICODE; in CIFSSMBEcho() 617 smb->hdr.Tid = 0xffff; in CIFSSMBEcho() 618 smb->hdr.WordCount = 1; in CIFSSMBEcho() 619 put_unaligned_le16(1, &smb->EchoCount); in CIFSSMBEcho() 620 put_bcc(1, &smb->hdr); in CIFSSMBEcho() 621 smb->Data[0] = 'a'; in CIFSSMBEcho() 622 inc_rfc1001_len(smb, 3); in CIFSSMBEcho() 625 iov[0].iov_base = smb; in CIFSSMBEcho() [all …]
|
D | cifs_debug.c | 39 struct smb_hdr *smb = buf; in cifs_dump_detail() local 42 smb->Command, smb->Status.CifsError, in cifs_dump_detail() 43 smb->Flags, smb->Flags2, smb->Mid, smb->Pid); in cifs_dump_detail() 44 cifs_dbg(VFS, "smb buf %p len %u\n", smb, in cifs_dump_detail() 45 server->ops->calc_smb_size(smb)); in cifs_dump_detail()
|
D | cifsglob.h | 871 get_mid(const struct smb_hdr *smb) in get_mid() argument 873 return le16_to_cpu(smb->Mid); in get_mid() 877 compare_mid(__u16 mid, const struct smb_hdr *smb) in compare_mid() argument 879 return mid == le16_to_cpu(smb->Mid); in compare_mid()
|
D | cifspdu.h | 414 BCC(struct smb_hdr *smb) in BCC() argument 416 return (void *)smb + sizeof(*smb) + 2 * smb->WordCount; in BCC()
|
/linux-6.1.9/Documentation/filesystems/cifs/ |
D | cifsroot.rst | 39 settings in Samba smb.conf:: 76 Export root file system as a Samba share in smb.conf file:: 93 Restart smb service:: 95 # systemctl restart smb
|
D | ksmbd.rst | 54 allows sharing information parameters that parsed from smb.conf to ksmbd in 175 2. Enable one of components (smb, auth, vfs, oplock, ipc, conn, rdma) 176 # sudo ksmbd.control -d "smb" 180 [smb] auth vfs oplock ipc conn [rdma]
|
/linux-6.1.9/Documentation/admin-guide/cifs/ |
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
|
D | usage.rst | 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 782 system error log with the start of smb requests 814 the start of smb requests and responses can be enabled via::
|
D | todo.rst | 63 in smb-info tool).
|
/linux-6.1.9/arch/arm64/boot/dts/arm/ |
D | vexpress-v2f-1xv7-ca53x2.dts | 147 smb: bus@8000000 { label
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | mps2-an385.dts | 67 smb {
|
D | mps2-an399.dts | 67 smb {
|
D | vexpress-v2p-ca5s.dts | 209 smb: bus@8000000 { label
|
D | mps2.dtsi | 245 smb {
|
D | vexpress-v2p-ca15_a7.dts | 611 smb: bus@8000000 { label
|
D | aspeed-bmc-facebook-fuji.dts | 426 label = "smb";
|
/linux-6.1.9/arch/arm64/boot/dts/amd/ |
D | amd-seattle-soc.dtsi | 41 smb0: smb {
|