/linux/fs/smb/client/ |
H A D | smb2pdu.h | 1 /* SPDX-License-Identifier: LGPL-2.1 */ 24 /* See MS-SMB2 2.2.43 */ 51 * See MS-SMB2.PDF specification for protocol details. 78 /* SMB 3.1.1 and later dialects. See MS-SMB2 section 2.2.2.1 */ 89 /* Defines for Type field below (see MS-SMB2 2.2.2.2.2.1) */ 137 /* See MS-SMB2 2.2.13.2.11 */ 153 /* See MS-SMB2 2.2.13.2.12 */ 163 /* See MS-SMB2 2.2.14.2.12 */ 176 /* See MS-SMB2 2.2.13.2.5 */ 184 /* See MS-SMB2 2.2.13.2.9 */ [all …]
|
/linux/Documentation/netlink/specs/ |
H A D | netdev.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 9 - 11 name: xdp-act 12 render-max: true 14 - 19 - 23 - 24 name: ndo-xmit 27 - 28 name: xsk-zerocopy [all …]
|
/linux/Documentation/filesystems/nfs/ |
H A D | localio.rst | 26 But unlike the LOCALIO protocol, the sockaddr-based matching didn't 42 - With LOCALIO: 48 - Without LOCALIO: 55 - With LOCALIO: 61 - Without LOCALIO: 93 deciding if the NFS client and server are co-located on the same 101 same host. The handshake uses a secret that is sent over the wire, 103 in shared kernel memory if they are truly co-located. 115 onus on the server to somehow discover that the client is co-located 122 6. Why is having the client perform a server-side file OPEN, without [all …]
|
/linux/Documentation/process/ |
H A D | adding-syscalls.rst | 9 :ref:`Documentation/process/submitting-patches.rst <submittingpatches>`. 13 ------------------------ 18 kernel, there are other possibilities -- choose what fits best for your 21 - If the operations involved can be made to look like a filesystem-like 26 - If the new functionality involves operations where the kernel notifies 30 - However, operations that don't map to 31 :manpage:`read(2)`/:manpage:`write(2)`-like operations 35 - If you're just exposing runtime system information, a new node in sysfs 41 - If the operation is specific to a particular file or file descriptor, then 47 - If the operation is specific to a particular task or process, then an [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/intel/ |
H A D | e1000e.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 8 Copyright(c) 2008-2018 Intel Corporation. 13 - Identifying Your Adapter 14 - Command Line Parameters 15 - Additional Configurations 16 - Support 48 --------------------- 49 :Valid Range: 0,1,3,4,100-100000 82 - 0: Off 86 - 1: Dynamic mode [all …]
|
/linux/drivers/gpu/drm/ |
H A D | drm_ioctl.c | 56 * - GET_UNIQUE ioctl, implemented by drm_getunique is wrapped up in libdrm 58 * - The libdrm drmSetBusid function is backed by the SET_UNIQUE ioctl. All 60 * - The internal set_busid kernel functions and driver callbacks are 63 * - Other ioctls and functions involved are named consistently. 76 * side-effect this fills out the unique name in the master structure. 121 mutex_lock(&dev->master_mutex); in drm_getunique() 122 master = file_priv->master; in drm_getunique() 123 if (u->unique_len >= master->unique_len) { in drm_getunique() 124 if (copy_to_user(u->unique, master->unique, master->unique_len)) { in drm_getunique() 125 mutex_unlock(&dev->master_mutex); in drm_getunique() [all …]
|
H A D | drm_mipi_dbi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 62 * 1. 9-bit with the Data/Command signal as the ninth bit 64 * 3. 8-bit with the Data/Command signal as a separate D/CX pin 108 if (!dbi->read_commands) in mipi_dbi_command_is_read() 112 if (!dbi->read_commands[i]) in mipi_dbi_command_is_read() 114 if (cmd == dbi->read_commands[i]) in mipi_dbi_command_is_read() 122 * mipi_dbi_command_read - MIPI DCS read command 134 if (!dbi->read_commands) in mipi_dbi_command_read() 135 return -EACCES; in mipi_dbi_command_read() 138 return -EINVAL; in mipi_dbi_command_read() [all …]
|
/linux/arch/sh/include/asm/ |
H A D | pgtable_32.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 * notes on SH-X2 MMUs and 64-bit PTEs): 11 * - Bits 0 and 7 are reserved on SH-3 (_PAGE_WT and _PAGE_SZ1 on SH-4). 13 * - Bit 1 is the SH-bit, but is unused on SH-3 due to an MMU bug (the 14 * hardware PTEL value can't have the SH-bit set when MMUCR.IX is set, 15 * which is the default in cpu-sh3/mmu_context.h:MMU_CONTROL_INIT). 18 * SH-3 specific flags until all of the other unused bits have been 21 * - Bit 9 is reserved by everyone and used by _PAGE_PROTNONE. 23 * - Bits 10 and 11 are low bits of the PPN that are reserved on >= 4K pages. 26 * - On 29 bit platforms, bits 31 to 29 are used for the space attributes [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | am335x-evm.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 5 /dts-v1/; 8 #include <dt-bindings/interrupt-controller/irq.h> 12 compatible = "ti,am335x-evm", "ti,am33xx"; 16 cpu0-supply = <&vdd1_reg>; 26 stdout-path = &uart0; 30 compatible = "regulator-fixed"; 31 regulator-name = "vbat"; 32 regulator-min-microvolt = <5000000>; [all …]
|
/linux/drivers/net/usb/ |
H A D | rndis_host.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 26 * - Power management in particular relies on information that's scattered 29 * - There are various undocumented protocol requirements, such as the 30 * need to send unused garbage in control-OUT messages. 31 * - In some cases, MS-Windows will emit undocumented requests; this 34 * Moreover there's a no-open-specs variant of RNDIS called "ActiveSync". 37 * favor of such non-proprietary alternatives as CDC Ethernet or the newer (and 47 netdev_dbg(dev->net, "rndis status urb, len %d stat %d\n", in rndis_status() 48 urb->actual_length, urb->status); in rndis_status() 60 struct cdc_state *info = (void *)&dev->data; in rndis_msg_indicate() [all …]
|
/linux/fs/smb/common/ |
H A D | smb2pdu.h | 1 /* SPDX-License-Identifier: LGPL-2.1 */ 129 * See MS-SMB2.PDF specification for protocol details. 135 /* See MS-SMB2 section 2.2.1 */ 161 __le16 ChannelSequence; /* See MS-SMB2 3.2.4.1 and 3.2.7.1 */ 216 * has the form of the unchained one -- i.e. it never has the 220 * See MS-SMB2 2.2.42 for more details. 254 /* See MS-SMB2 section 2.2.9.2 */ 266 /* Remoted identity tree connect context structures - see MS-SMB2 2.2.9.2.1 */ 285 /* SidAttrList - array of sid_attr_data structs */ 296 * struct privilege_data is the same as BLOB_DATA - see MS-SMB2 2.2.9.2.1.5 [all …]
|
/linux/kernel/irq/ |
H A D | msi.c | 1 // SPDX-License-Identifier: GPL-2.0 25 * struct msi_device_data - MSI per device data 39 * struct msi_ctrl - MSI internal management control structure 44 * than the range due to PCI/multi-MSI. 54 #define MSI_XA_MAX_INDEX (ULONG_MAX - 1) 64 * msi_alloc_desc - Allocate an initialized msi_desc 82 desc->dev = dev; in msi_alloc_desc() 83 desc->nvec_used = nvec; in msi_alloc_desc() 85 desc->affinity = kmemdup_array(affinity, nvec, sizeof(*desc->affinity), GFP_KERNEL); in msi_alloc_desc() 86 if (!desc->affinity) { in msi_alloc_desc() [all …]
|
/linux/drivers/nvme/host/ |
H A D | rdma.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2015-2016 HGST, a Western Digital Company. 14 #include <linux/blk-mq.h> 15 #include <linux/blk-integrity.h> 25 #include <linux/nvme-rdma.h> 161 return queue - queue->ctrl->queues; in nvme_rdma_queue_idx() 167 queue->ctrl->io_queues[HCTX_TYPE_DEFAULT] + in nvme_rdma_poll_queue() 168 queue->ctrl->io_queues[HCTX_TYPE_READ]; in nvme_rdma_poll_queue() 173 return queue->cmnd_capsule_len - sizeof(struct nvme_command); in nvme_rdma_inline_data_size() 179 ib_dma_unmap_single(ibdev, qe->dma, capsule_size, dir); in nvme_rdma_free_qe() [all …]
|
/linux/drivers/net/ethernet/sgi/ |
H A D | ioc3-eth.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * o IOC3 ASIC specification 4.51, 1996-04-18 19 * o For the 2.5 branch kill the mii-tool ioctls. 22 #define IOC3_NAME "ioc3-eth" 23 #define IOC3_VERSION "2.6.3-4" 44 #include <linux/dma-mapping.h> 46 #include <linux/nvmem-consumer.h> 61 #define RX_RING_MASK (RX_RING_ENTRIES - 1) 66 #define TX_RING_MASK (TX_RING_ENTRIES - 1) 120 return (~addr + 1) & (IOC3_DMA_XFER_LEN - 1UL); in aligned_rx_skb_addr() [all …]
|
/linux/net/ipv4/ |
H A D | tcp_output.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * Corey Minyard <wf-rch!minyard@relay.EU.net> 13 * Florian La Roche, <flla@stud.uni-sb.de> 33 * Cacophonix Gaul : draft-minshall-nagle-01 59 tp->tcp_clock_cache = val; in tcp_mstamp_refresh() 60 tp->tcp_mstamp = div_u64(val, NSEC_PER_USEC); in tcp_mstamp_refresh() 71 unsigned int prior_packets = tp->packets_out; in tcp_event_new_data_sent() 73 WRITE_ONCE(tp->snd_nxt, TCP_SKB_CB(skb)->end_seq); in tcp_event_new_data_sent() 75 __skb_unlink(skb, &sk->sk_write_queue); in tcp_event_new_data_sent() 76 tcp_rbtree_insert(&sk->tcp_rtx_queue, skb); in tcp_event_new_data_sent() [all …]
|
/linux/drivers/net/ethernet/3com/ |
H A D | 3c574_cs.c | 3 Written 1993-1998 by 27 II. Board-specific settings 29 None -- PC cards are autoconfigured. 33 The 3c574 uses a Boomerang-style interface, without the bus-master capability. 39 RunnerWrCtrl. These are 11 bit down-counters that are preloaded with the 41 or Tx FIFO. The chip is then able to hide the internal-PCI-bus to PC-card 46 0x0800-0x0fff can translated to the PIO FIFO. Thus memory operations (faster 56 register set, 1-5 are various PC card control registers, and 16-31 are 167 On the "Odie" this window is always mapped at offsets 0x10-0x1f. 212 code size of a per-interface flag is not worthwhile. */ [all …]
|
H A D | 3c59x.c | 3 Written 1996-1999 by Donald Becker. 43 /* Set the copy breakpoint for the copy-only-tiny-frames scheme. 48 /* ARM systems perform better by disregarding the bus-master 49 transfer capability of these cards. -- rmk */ 98 This is only in the support-all-kernels source code. */ 117 The Boomerang size is twice as large as the Vortex -- it has additional 124 code size of a per-interface flag is not worthwhile. */ 145 II. Board-specific settings 151 The EEPROM settings for media type and forced-full-duplex are observed. 158 series. The primary interface is two programmed-I/O FIFOs, with an [all …]
|
/linux/drivers/net/ethernet/dec/tulip/ |
H A D | winbond-840.c | 1 /* winbond-840.c: A Linux PCI network adapter device driver. */ 3 Written 1998-2001 by Donald Becker. 40 * Replace some MII-related magic numbers with constants (jgarzik) 44 * Wake-On-LAN 49 #define DRV_NAME "winbond-840" 52 probe-func: winbond840_probe 53 config-in: tristate 'Winbond W89c840 Ethernet support' CONFIG_WINBOND_840 55 c-help-name: Winbond W89c840 PCI Ethernet support 56 c-help-symbol: CONFIG_WINBOND_840 57 c-help: This driver is for the Winbond W89c840 chip. It also works with [all …]
|
/linux/drivers/usb/serial/ |
H A D | cp210x.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2010-2021 Johan Hovold (johan@kernel.org) 10 * control thanks to Munir Nassar nassarmu@real-time.com 55 { USB_DEVICE(0x045B, 0x0053) }, /* Renesas RX610 RX-Stick */ 56 { USB_DEVICE(0x0471, 0x066A) }, /* AKTAKOM ACE-1001 cable */ 57 { USB_DEVICE(0x0489, 0xE000) }, /* Pirelli Broadband S.p.A, DP-L10 SIP/GSM Mobile */ 58 { USB_DEVICE(0x0489, 0xE003) }, /* Pirelli Broadband S.p.A, DP-L10 SIP/GSM Mobile */ 59 { USB_DEVICE(0x04BF, 0x1301) }, /* TDK Corporation NC0110013M - Network Controller */ 60 { USB_DEVICE(0x04BF, 0x1303) }, /* TDK Corporation MM0110113M - i3 Micro Module */ 63 { USB_DEVICE(0x08e6, 0x5501) }, /* Gemalto Prox-PU/CU contactless smartcard reader */ [all …]
|
/linux/drivers/ata/ |
H A D | pata_it821x.c | 2 * pata_it821x.c - IT821x PATA for new ATA layer 35 * o If you write LBA48 sized I/O's (ie > 256 sector) in smart mode 41 * - In pass through mode we do all the work you would expect 42 * - In smart mode the clocking set up is done by the controller generally 44 * - There are a few extra vendor commands that actually talk to the 55 * is a raid volume. Even more cute - the controller can do automated 68 * - ATAPI and other speed filtering 69 * - RAID configuration ioctls 116 * it821x_program - program the PIO/MWDMA registers 128 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in it821x_program() [all …]
|
/linux/drivers/net/ethernet/dlink/ |
H A D | sundance.c | 3 Written 1999-2000 by Donald Becker. 19 [link no longer provides useful info -jgarzik] 27 /* The user-configurable values. 30 /* Maximum number of multicast addresses to filter (vs. rx-all-multicast). 34 /* Set the copy breakpoint for the copy-only-tiny-frames scheme. 37 need a copy-align. */ 66 #define TX_QUEUE_LEN (TX_RING_SIZE - 1) /* Limit ring entries actually used. */ 96 #include <linux/dma-mapping.h> 109 MODULE_PARM_DESC(debug, "Sundance Alta debug level (0-5)"); 110 MODULE_PARM_DESC(rx_copybreak, "Sundance Alta copy breakpoint for copy-only-tiny-frames"); [all …]
|
/linux/drivers/block/drbd/ |
H A D | drbd_int.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 Copyright (C) 2001-2008, LINBIT Information Technologies GmbH. 8 Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>. 9 Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. 29 #include <linux/backing-dev.h> 63 #define ID_SYNCER (-1ULL) 125 /* statistics; index: (h->command == P_BITMAP) */ 143 c->word_offset = c->bit_offset >> 6; in bm_xfer_ctx_bit_to_word_offset() 145 c->word_offset = c->bit_offset >> 5; in bm_xfer_ctx_bit_to_word_offset() 146 c->word_offset &= ~(1UL); in bm_xfer_ctx_bit_to_word_offset() [all …]
|
/linux/drivers/infiniband/sw/siw/ |
H A D | siw_qp_tx.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 4 /* Copyright (c) 2008-2019, IBM Corporation */ 22 (((uint32_t)(sizeof(struct siw_rreq_pkt) - \ 27 struct siw_pbl *pbl = mem->pbl; in siw_get_pblpage() 28 u64 offset = addr - mem->va; in siw_get_pblpage() 40 if (!mem->is_pbl) in siw_get_page() 41 return siw_get_upage(mem->umem, sge->laddr + offset); in siw_get_page() 43 return siw_get_pblpage(mem, sge->laddr + offset, pbl_idx); in siw_get_page() 51 struct siw_wqe *wqe = &c_tx->wqe_active; in siw_try_1seg() 52 struct siw_sge *sge = &wqe->sqe.sge[0]; in siw_try_1seg() [all …]
|
/linux/net/sunrpc/auth_gss/ |
H A D | auth_gss.c | 1 // SPDX-License-Identifier: BSD-3-Clause 53 * This compile-time check verifies that we will not exceed the 70 * using integrity (two 4-byte integers): */ 95 * for the new text-based upcall; dentry[0] is named after the 97 * backwards-compatibility with older gssd's. 116 refcount_inc(&ctx->count); in gss_get_ctx() 123 if (refcount_dec_and_test(&ctx->coun in gss_put_ctx() [all...] |
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | wmi.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 6 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved. 29 * 1. Add new WMI commands ONLY within the specified range - 0x9000 - 0x9fff 42 * u32 variables for every lower sized field. 45 * variable is already 4-byte aligned by virtue of being a u32 527 * for wmi_services is 64 as target is using only 4-bits of each 32-bit 533 __le32_to_cpu((wmi_svc_bmap)[((svc_id) - (len)) / 28]) & \ [all …]
|