| /linux/fs/smb/server/ |
| H A D | smb2pdu.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 22 /* BB FIXME - analyze following length BB */ 34 * See MS-SMB2.PDF specification for protocol details. 68 * AAPL SMB2 extension -- kAAPL_SERVER_QUERY create context. 79 * When MODEL_INFO requested, appended: pad2(4) + model_bytes(4) + UTF-16LE 84 * Server capability flags (server_caps field) -- SMB2_CRTCTX_AAPL_UNIX_BASED: 85 * prevents macOS Windows-compat mode (question-mark icons). 86 * SMB2_CRTCTX_AAPL_SUPPORTS_OSX_COPYFILE: enables server-side file copy via 98 * fs/smb/common/smb2pdu.h) extends the same inline-FinderInfo mechanism 99 * above with a flags field, confirmed byte-identical to V1 otherwise [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) 2 --- 5 doc: >- 9 - 11 name: page-size 17 - 19 name: xdp-act 20 render-max: true 22 - 24 doc: >- [all …]
|
| /linux/fs/lockd/ |
| H A D | lockd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 57 * digests when bucketing nlm_files[]. Sized for historical 71 * Internal-use status codes, not to be placed on the wire. 72 * Version handlers translate these to appropriate wire values. 98 u32 h_state; /* pseudo-state counter */ 118 * The largest string sm_addrbuf should hold is a full-size IPv6 address 120 * hold eight groups of colon-separated four-hex-digit numbers, a 143 return (struct sockaddr *)&host->h_addr; in nlm_addr() 148 return (struct sockaddr *)&host->h_srcaddr; in nlm_srcaddr() 152 * Map an fl_owner_t into a unique 32-bit "pid" [all …]
|
| /linux/net/ethtool/ |
| H A D | netlink.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 30 * ethnl_strz_size() - calculate attribute length for fixed size string 31 * @s: ETH_GSTRING_LEN sized string (may not be null terminated) 41 * ethnl_put_strz() - put string attribute with fixed size string 44 * @s: ETH_GSTRING_LEN sized string (may not be null terminated) 58 return -EMSGSIZE; in ethnl_put_strz() 66 * ethnl_update_u32() - update u32 value from NLA_U32 attribute 92 * ethnl_update_u8() - update u8 value from NLA_U8 attribute 118 * ethnl_update_u8_u32() - update u8 value from an NLA_U32 attribute 123 * Some attributes are NLA_U32 on the wire but are stored in a u8. Read the [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/fs/smb/common/ |
| H A D | smb2pdu.h | 1 /* SPDX-License-Identifier: LGPL-2.1 */ 101 /* According to MS-SMB2 specification The minimum recommended value is 65536.*/ 135 * See MS-SMB2.PDF specification for protocol details. 141 /* See MS-SMB2 section 2.2.1 */ 167 __le16 ChannelSequence; /* See MS-SMB2 3.2.4.1 and 3.2.7.1 */ 225 * See MS-SMB2 2.2.42 for more details. 259 /* See MS-SMB2 section 2.2.9.2 */ 271 /* Remoted identity tree connect context structures - see MS-SMB2 2.2.9.2.1 */ 290 /* SidAttrList - array of sid_attr_data structs */ 301 * struct privilege_data is the same as BLOB_DATA - see MS-SMB2 2.2.9.2.1.5 [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/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 …]
|
| /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 = "serial0:115200n8"; 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 27 * - Power management in particular relies on information that's scattered 30 * - There are various undocumented protocol requirements, such as the 31 * need to send unused garbage in control-OUT messages. 32 * - In some cases, MS-Windows will emit undocumented requests; this 35 * Moreover there's a no-open-specs variant of RNDIS called "ActiveSync". 38 * favor of such non-proprietary alternatives as CDC Ethernet or the newer (and 48 netdev_dbg(dev->net, "rndis status urb, len %d stat %d\n", in rndis_status() 49 urb->actual_length, urb->status); in rndis_status() 61 struct cdc_state *info = (void *)&dev->data; in rndis_msg_indicate() [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> 26 #include <linux/nvme-rdma.h> 169 return queue - queue->ctrl->queues; in nvme_rdma_queue_idx() 175 queue->ctrl->io_queues[HCTX_TYPE_DEFAULT] + in nvme_rdma_poll_queue() 176 queue->ctrl->io_queues[HCTX_TYPE_READ]; in nvme_rdma_poll_queue() 181 return queue->cmnd_capsule_len - sizeof(struct nvme_command); in nvme_rdma_inline_data_size() 187 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 63 /* Insert skb into rb tree, ordered by TCP_SKB_CB(skb)->seq */ 66 struct rb_node **p = &root->rb_node; in tcp_rbtree_insert() 73 if (before(TCP_SKB_CB(skb)->seq, TCP_SKB_CB(skb1)->seq)) in tcp_rbtree_insert() 74 p = &parent->rb_left; in tcp_rbtree_insert() 76 p = &parent->rb_right; in tcp_rbtree_insert() 78 rb_link_node(&skb->rbnode, parent, p); in tcp_rbtree_insert() [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 117 * it821x_program - program the PIO/MWDMA registers 129 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in it821x_program() [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 55 * This compile-time check verifies that we will not exceed the 72 * using integrity (two 4-byte integers): */ 97 * for the new text-based upcall; dentry[0] is named after the 99 * backwards-compatibility with older gssd's. 118 refcount_inc(&ctx->count); in gss_get_ctx() 125 if (refcount_dec_and_test(&ctx->count)) in gss_put_ctx() 132 * and a new one is protected by the pipe->lock. 139 if (!test_bit(RPCAUTH_CRED_NEW, &cred->cr_flags)) in gss_cred_set_ctx() 142 rcu_assign_pointer(gss_cred->gc_ctx, ctx); in gss_cred_set_ctx() [all …]
|
| /linux/rust/zerocopy/src/ |
| H A D | byteorder.rs | 1 // SPDX-License-Identifier: (BSD-2-Clause OR Apache-2.0) OR MIT 5 // Licensed under a BSD-style license <LICENSE-BSD>, Apache License, Version 2.0 6 // <LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0>, or the MIT 7 // license <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your option. 11 //! Byte order-aware numeric primitives. 13 //! This module contains equivalents of the native multi-byte integer types with 16 //! For each native multi-byte integer type - `u16`, `i16`, `u32`, etc - and 17 //! floating point type - `f32` and `f64` - an equivalent type is defined by 18 //! this module - [`U16`], [`I16`], [`U32`], [`F32`], [`F64`], etc. Unlike their 24 //! data structures whose memory layout matches a wire format such as that of a [all …]
|
| /linux/fs/nfsd/ |
| H A D | nfs4callback.c | 94 fattr->ncf_cb_change = 0; in decode_cb_fattr4() 95 fattr->ncf_cb_fsize = 0; in decode_cb_fattr4() 96 fattr->ncf_cb_atime.tv_sec = 0; in decode_cb_fattr4() 97 fattr->ncf_cb_atime.tv_nsec = 0; in decode_cb_fattr4() 98 fattr->ncf_cb_mtime.tv_sec = 0; in decode_cb_fattr4() 99 fattr->ncf_cb_mtime.tv_nsec = 0; in decode_cb_fattr4() 102 if (xdr_stream_decode_u64(xdr, &fattr->ncf_cb_change) < 0) in decode_cb_fattr4() 103 return -EIO; in decode_cb_fattr4() 105 if (xdr_stream_decode_u64(xdr, &fattr->ncf_cb_fsize) < 0) in decode_cb_fattr4() 106 return -EIO; in decode_cb_fattr4() [all …]
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | net_driver.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2005-2006 Fen Systems Ltd. 5 * Copyright 2005-2013 Solarflare Communications Inc. 63 /* Checksum generation is a per-queue option in hardware, so each 86 #define EFX_RX_USR_BUF_SIZE (2048 - 256) 89 * of every buffer. Otherwise, we just need to ensure 4-byte 98 /* Non-standard XDP_PACKET_HEADROOM and tailroom to satisfy XDP_REDIRECT and 111 * struct efx_buffer - A general-purpose DMA buffer 126 * struct efx_tx_buffer - buffer state for a TX descriptor 131 * @option: When @flags & %EFX_TX_BUF_OPTION, an EF10-specific option [all …]
|
| /linux/net/core/ |
| H A D | skbuff.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Florian La Roche <rzsfl@rz.uni-sb.de> 19 * Ray VanTassle : Fixed --skb->lock in free 98 #include "net-sysfs.h" 110 * kmem_cache. The non-power-of-2 padding is kept for historical reasons and 158 * drop_reasons_register_subsys - register another drop reason subsystem 177 * drop_reasons_unregister_subsys - unregister a drop reason subsystem 196 * skb_panic - private function for out-of-line support 202 * Out-of-line support for skb_put() and skb_push(). 211 msg, addr, skb->len, sz, skb->head, skb->data, in skb_panic() [all …]
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_main.c | 1 // SPDX-License-Identifier: GPL-2.0 33 static int debug = -1; 81 struct net_device *dev = adapter->netdev; in igc_reset() 82 struct igc_hw *hw = &adapter->hw; in igc_reset() 83 struct igc_fc_info *fc = &hw->fc; in igc_reset() 95 * - the full Rx FIFO size minus one full Tx plus one full Rx frame in igc_reset() 97 hwm = (pba << 10) - (adapter->max_frame_size + MAX_JUMBO_FRAME_SIZE); in igc_reset() 99 fc->high_water = hwm & 0xFFFFFFF0; /* 16-byte granularity */ in igc_reset() 100 fc->low_water = fc->high_water - 16; in igc_reset() 101 fc->pause_time = 0xFFFF; in igc_reset() [all …]
|
| /linux/drivers/usb/dwc2/ |
| H A D | hcd.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * hcd.c - DesignWare HS OTG Controller host-mode routines 5 * Copyright (C) 2004-2013 Synopsys, Inc. 17 #include <linux/dma-mapping.h> 37 * dwc2_enable_common_interrupts() - Initializes the commmon interrupts, 55 if (!hsotg->params.host_dma) in dwc2_enable_common_interrupts() 57 if (!hsotg->params.external_id_pin_ctl) in dwc2_enable_common_interrupts() 63 if (dwc2_is_device_mode(hsotg) && hsotg->params.lpm) in dwc2_enable_common_interrupts() 73 switch (hsotg->hw_params.arch) { in dwc2_gahbcfg_init() 75 dev_err(hsotg->dev, "External DMA Mode not supported\n"); in dwc2_gahbcfg_init() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | commands.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2023-2025 Intel Corporation 7 * Please use iwl-xxxx-hw.h for hardware-related definitions. 29 /* Multi-Station support */ 93 /* RF-KILL commands and notifications */ 138 * - 4 standard TX queues 139 * - the command queue 140 * - 4 PAN TX queues 141 * - the PAN multicast queue, and 142 * - the AUX (TX during scan dwell) queue. [all …]
|
| /linux/drivers/net/ethernet/intel/e1000e/ |
| H A D | netdev.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 37 static int debug = -1; 125 * __ew32_prepare - prepare to write to MAC CSR register on certain parts 140 while ((er32(FWSM) & E1000_ICH_FWSM_PCIM2PCI) && --i) in __ew32_prepare() 146 if (hw->adapter->flags2 & FLAG2_PCIM2PCI_ARBITER_WA) in __ew32() 149 writel(val, hw->hw_addr + reg); in __ew32() 153 * e1000_regdump - register printout routine 163 switch (reginfo->ofs) { in e1000_regdump() 177 pr_info("%-15s %08x\n", in e1000_regdump() [all …]
|