/Linux-v6.1/fs/gfs2/ |
D | lock_dlm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. 4 * Copyright 2004-2011 Red Hat, Inc. 26 * gfs2_update_stats - Update time based stats 52 s64 delta = sample - s->stats[index]; in gfs2_update_stats() 53 s->stats[index] += (delta >> 3); in gfs2_update_stats() 55 s->stats[index] += (s64)(abs(delta) - s->stats[index]) >> 2; in gfs2_update_stats() 59 * gfs2_update_reply_times - Update locking statistics 62 * This assumes that gl->gl_dstamp has been set earlier. 72 * TRY_1CB flags are set are classified as non-blocking. All [all …]
|
/Linux-v6.1/Documentation/mm/ |
D | multigen_lru.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Multi-Gen LRU 6 The multi-gen LRU is an alternative LRU implementation that optimizes 14 ---------- 20 * Simple self-correcting heuristics 23 implementations. In the multi-gen LRU, each generation represents a 25 (time-based) common frame of reference and therefore help make better 41 choices; thus self-correction is necessary. 43 The benefits of simple self-correcting heuristics are self-evident. 45 attainable. Specifically, pages in the same generation can be [all …]
|
/Linux-v6.1/Documentation/virt/kvm/x86/ |
D | mmu.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 - correctness: 18 - security: 21 - performance: 23 - scaling: 25 - hardware: 27 - integration: 31 - dirty tracking: 33 and framebuffer-based displays 34 - footprint: [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/pci/ |
D | brcm,iproc-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/brcm,iproc-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ray Jui <ray.jui@broadcom.com> 11 - Scott Branden <scott.branden@broadcom.com> 14 - $ref: /schemas/pci/pci-bus.yaml# 15 - $ref: /schemas/interrupt-controller/msi-controller.yaml# 20 - enum: 21 # for the first generation of PAXB based controller, used in SoCs [all …]
|
/Linux-v6.1/arch/nios2/mm/ |
D | mmu_context.c | 22 #define PID_MASK ((1UL << PID_BITS) - 1) 25 #define VERSION_BITS (32 - PID_BITS) 27 #define VERSION_MASK ((1UL << VERSION_BITS) - 1) 35 /* Value of the first context (version 1, pid 0) */ 72 /* If the version wraps we start over with the first generation, we do in get_new_context() 88 * generation then we have it should get a new generation/pid */ in switch_mm() 89 if (unlikely(CTX_VERSION(next->context) != in switch_mm() 91 next->context = get_new_context(); in switch_mm() 94 pgd_current = next->pgd; in switch_mm() 97 set_context(next->context); in switch_mm() [all …]
|
/Linux-v6.1/include/dt-bindings/memory/ |
D | mt2701-larb-port.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 * Mediatek m4u generation 1 such as mt2701 has flat m4u port numbers, 12 * the first port's id for larb[N] would be the last port's id of larb[N - 1] 13 * plus one while larb[0]'s first port number is 0. The definition of 15 * But m4u generation 2 like mt8173 have different port number, it use fixed 16 * offset for each larb, the first port's id for larb[N] would be (N * 32).
|
/Linux-v6.1/drivers/firewire/ |
D | core-device.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2005-2006 Kristian Hoegsberg <krh@bitplanet.net> 14 #include <linux/firewire-constants.h> 36 ci->p = p + 1; in fw_csr_iterator_init() 37 ci->end = ci->p + (p[0] >> 16); in fw_csr_iterator_init() 43 *key = *ci->p >> 24; in fw_csr_iterator_next() 44 *value = *ci->p & 0xffffff; in fw_csr_iterator_next() 46 return ci->p++ < ci->end; in fw_csr_iterator_next() 59 return ci.p - 1 + value; in search_leaf() 73 return -EINVAL; in textual_leaf_to_string() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/nvmem/ |
D | brcm,ocotp.txt | 4 - compatible: "brcm,ocotp" for the first generation Broadcom OTPC which is used 5 in Cygnus and supports 32 bit read/write. Use "brcm,ocotp-v2" for the second 6 generation Broadcom OTPC which is used in SoC's such as Stingray and supports 7 64-bit read/write. 8 - reg: Base address of the OTP controller. 9 - brcm,ocotp-size: Amount of memory available, in 32 bit words 16 brcm,ocotp-size = <2048>;
|
/Linux-v6.1/drivers/media/pci/tw686x/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 Support for Intersil/Techwell TW686x-based frame grabber cards. 13 - TW6864 (4 video channels), 14 - TW6865 (4 video channels, not tested, second generation chip), 15 - TW6868 (8 video channels but only 4 first channels using 16 built-in video decoder are supported, not tested), 17 - TW6869 (8 video channels, second generation chip).
|
/Linux-v6.1/Documentation/admin-guide/media/ |
D | technisat.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 ----------------------------- 17 First start your linux box with a shipped kernel: 19 .. code-block:: none 21 lspci -vvv for a PCI device (lsusb -vvv for an USB device) will show you for example: 29 ------------------- 37 (except ``Simple tuner support`` for ATSC 3rd generation only -> see case 9 please). 41 - Main module part: 50 - Frontend / Tuner / Demodulator module part: 55 - SkyStar DVB-S Revision 2.3: [all …]
|
/Linux-v6.1/net/batman-adv/ |
D | hash.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 31 * Return: an index based on the key in the data of the first argument and the 38 * struct batadv_hashtable - Wrapper of simple hlist based hashtable 50 /** @generation: current (generation) sequence number */ 51 atomic_t generation; member 65 * batadv_hash_add() - adds data to the hashtable 73 * and -1 on error. 82 int ret = -1; in batadv_hash_add() 90 index = choose(data, hash->size); in batadv_hash_add() 91 head = &hash->table[index]; in batadv_hash_add() [all …]
|
/Linux-v6.1/sound/firewire/fireworks/ |
D | fireworks_transaction.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * fireworks_transaction.c - a part of driver for Fireworks based devices 5 * Copyright (c) 2013-2014 Takashi Sakamoto 14 * At first, 6 data exist. Following to the data, parameters for each command 22 * data[6-]: Parameters 81 t.seqnum = be32_to_cpu(((struct snd_efw_transaction *)cmd)->seqnum) + 1; in snd_efw_transaction_run() 104 dev_err(&t.unit->device, "EFW transaction timed out\n"); in snd_efw_transaction_run() 105 ret = -EIO; in snd_efw_transaction_run() 124 length = min_t(size_t, be32_to_cpu(t->length) * sizeof(u32), length); in copy_resp_to_buf() 126 spin_lock(&efw->lock); in copy_resp_to_buf() [all …]
|
/Linux-v6.1/drivers/pinctrl/meson/ |
D | pinctrl-meson8-pmx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * First generation of pinmux driver for Amlogic Meson SoCs 9 /* For this first generation of pinctrl driver every pinmux group can be 10 * enabled by a specific bit in the first register range. When all groups for 18 #include "pinctrl-meson.h" 19 #include "pinctrl-meson8-pmx.h" 22 * meson8_pmx_disable_other_groups() - disable other groups using a given pin 26 * @sel_group: index of the selected group, or -1 if none 29 * selected one. If @sel_group is -1 all groups are disabled, leaving 39 for (i = 0; i < pc->data->num_groups; i++) { in meson8_pmx_disable_other_groups() [all …]
|
D | pinctrl-meson-axg-pmx.c | 2 * Second generation of pinmux driver for Amlogic Meson-AXG SoC. 10 * SPDX-License-Identifier: (GPL-2.0+ or MIT) 14 * This new generation of pinctrl IP is mainly adopted by the 15 * Meson-AXG SoC and later series, which use 4-width continuous 26 #include "pinctrl-meson.h" 27 #include "pinctrl-meson-axg-pmx.h" 34 struct meson_axg_pmx_data *pmx = pc->data->pmx_data; in meson_axg_pmx_get_bank() 36 for (i = 0; i < pmx->num_pmx_banks; i++) in meson_axg_pmx_get_bank() 37 if (pin >= pmx->pmx_banks[i].first && in meson_axg_pmx_get_bank() 38 pin <= pmx->pmx_banks[i].last) { in meson_axg_pmx_get_bank() [all …]
|
/Linux-v6.1/arch/arc/include/asm/ |
D | mmu_context.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 6 * -Refactored get_new_mmu_context( ) to only handle live-mm. 7 * retiring-mm handled in other hooks 10 * -Major rewrite of Core ASID allocation routine get_new_mmu_context 21 #include <asm-generic/mm_hooks.h> 25 * MMU tags TLBs with an 8-bit ASID, avoiding need to flush the TLB on 26 * context-switch. 32 * Each task is assigned unique ASID, with a simple round-robin allocator 33 * tracked in @asid_cpu. When 8-bit value rolls over,a new cycle is started [all …]
|
/Linux-v6.1/sound/firewire/tascam/ |
D | tascam-transaction.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * tascam-transaction.c - a part of driver for TASCAM FireWire series 57 return -EINVAL; in calculate_message_bytes() 67 /* The first byte is used for label, the rest for MIDI bytes. */ in fill_message() 68 label = port->buf; in fill_message() 69 msg = port->buf + 1; in fill_message() 76 if (port->on_sysex) { in fill_message() 80 port->on_sysex = false; in fill_message() 86 if (!port->on_sysex) { in fill_message() 88 *label = (substream->number << 4) | 0x07; in fill_message() [all …]
|
/Linux-v6.1/fs/btrfs/ |
D | extent_map.c | 1 // SPDX-License-Identifier: GPL-2.0 21 return -ENOMEM; in extent_map_init() 31 * extent_map_tree_init - initialize extent map tree 39 tree->map = RB_ROOT_CACHED; in extent_map_tree_init() 40 INIT_LIST_HEAD(&tree->modified_extents); in extent_map_tree_init() 41 rwlock_init(&tree->lock); in extent_map_tree_init() 45 * alloc_extent_map - allocate new extent map structure 57 RB_CLEAR_NODE(&em->rb_node); in alloc_extent_map() 58 em->compress_type = BTRFS_COMPRESS_NONE; in alloc_extent_map() 59 refcount_set(&em->refs, 1); in alloc_extent_map() [all …]
|
/Linux-v6.1/drivers/infiniband/hw/qib/ |
D | qib_tx.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 53 * qib_disarm_piobufs - cancel a range of PIO buffers 55 * @first: the first PIO buffer to cancel 61 void qib_disarm_piobufs(struct qib_devdata *dd, unsigned first, unsigned cnt) in qib_disarm_piobufs() argument 67 last = first + cnt; in qib_disarm_piobufs() 68 spin_lock_irqsave(&dd->pioavail_lock, flags); in qib_disarm_piobufs() 69 for (i = first; i < last; i++) { in qib_disarm_piobufs() 70 __clear_bit(i, dd->pio_need_disarm); in qib_disarm_piobufs() 71 dd->f_sendctrl(dd->pport, QIB_SENDCTRL_DISARM_BUF(i)); in qib_disarm_piobufs() [all …]
|
/Linux-v6.1/Documentation/ABI/testing/ |
D | sysfs-driver-hid-wiimote | 24 Starting with kernel-version 3.11 Motion Plus hotplugging is 26 extension. You will get uevent notifications for the motion-plus 40 Other strings for each device-type are available and may be 41 added if new device-specific detections are added. 45 gen10: First Wii Remote generation 46 gen20: Second Wii Remote Plus generation 59 First, 0kg values for all 4 sensors are written, followed by the 64 values but may be used by user-space to perform other 72 pro-controller. It provides a single line with 4 calibration 74 is prefixed with a +/-. Each value is a signed 16bit number. [all …]
|
/Linux-v6.1/virt/kvm/ |
D | pfncache.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Kernel-based Virtual Machine driver for Linux 5 * This module enables kernel and guest-mode vCPU access to guest physical 32 spin_lock(&kvm->gpc_lock); in gfn_to_pfn_cache_invalidate_start() 33 list_for_each_entry(gpc, &kvm->gpc_list, list) { in gfn_to_pfn_cache_invalidate_start() 34 write_lock_irq(&gpc->lock); in gfn_to_pfn_cache_invalidate_start() 37 if (gpc->valid && !is_error_noslot_pfn(gpc->pfn) && in gfn_to_pfn_cache_invalidate_start() 38 gpc->uhva >= start && gpc->uhva < end) { in gfn_to_pfn_cache_invalidate_start() 39 gpc->valid = false; in gfn_to_pfn_cache_invalidate_start() 45 if (gpc->usage & KVM_GUEST_USES_PFN) { in gfn_to_pfn_cache_invalidate_start() [all …]
|
/Linux-v6.1/Documentation/admin-guide/device-mapper/ |
D | dm-zoned.rst | 2 dm-zoned 5 The dm-zoned device mapper target exposes a zoned block device (ZBC and 7 pattern constraints. In effect, it implements a drive-managed zoned 10 host-managed zoned block devices and can mitigate the potential 11 device-side performance degradation due to excessive random writes on 12 host-aware zoned block devices. 21 http://www.t13.org/Documents/UploadedDocuments/docs2015/di537r05-Zoned_Device_ATA_Command_Set_ZAC.p… 23 The dm-zoned implementation is simple and minimizes system overhead (CPU 25 host-managed disk with 256 MB zones, dm-zoned memory usage per disk 29 dm-zoned target devices are formatted and checked using the dmzadm [all …]
|
/Linux-v6.1/drivers/infiniband/hw/hfi1/ |
D | tid_rdma.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 3 * Copyright(c) 2018 - 2020 Intel Corporation. 18 * This is an end-to-end protocol at the hfi1 level between two nodes that 24 * -- The total data length should be greater than 256K; 25 * -- The total data length should be a multiple of 4K page size; 26 * -- Each local scatter-gather entry should be 4K page aligned; 27 * -- Each local scatter-gather entry should be a multiple of 4K page size; 37 /* Maximum number of packets within a flow generation. */ 47 /* Reserved generation value to set to unused flows for kernel contexts */ 56 #define HFI1_KERNEL_MAX_JKEY (2 * HFI1_ADMIN_JKEY_RANGE - 1) [all …]
|
/Linux-v6.1/drivers/thunderbolt/ |
D | lc.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * tb_lc_read_uuid() - Read switch UUID from link controller common register 18 if (!sw->cap_lc) in tb_lc_read_uuid() 19 return -EINVAL; in tb_lc_read_uuid() 20 return tb_sw_read(sw, uuid, TB_CFG_SWITCH, sw->cap_lc + TB_LC_FUSE, 4); in tb_lc_read_uuid() 25 if (!sw->cap_lc) in read_lc_desc() 26 return -EINVAL; in read_lc_desc() 27 return tb_sw_read(sw, desc, TB_CFG_SWITCH, sw->cap_lc + TB_LC_DESC, 1); in read_lc_desc() 32 struct tb_switch *sw = port->sw; in find_port_lc_cap() 43 phys = tb_phy_port_from_link(port->port); in find_port_lc_cap() [all …]
|
/Linux-v6.1/Documentation/networking/dsa/ |
D | sja1105.rst | 8 The NXP SJA1105 is a family of 10 SPI-managed automotive switches: 10 - SJA1105E: First generation, no TTEthernet 11 - SJA1105T: First generation, TTEthernet 12 - SJA1105P: Second generation, no TTEthernet, no SGMII 13 - SJA1105Q: Second generation, TTEthernet, no SGMII 14 - SJA1105R: Second generation, no TTEthernet, SGMII 15 - SJA1105S: Second generation, TTEthernet, SGMII 16 - SJA1110A: Third generation, TTEthernet, SGMII, integrated 100base-T1 and 17 100base-TX PHYs 18 - SJA1110B: Third generation, TTEthernet, SGMII, 100base-T1, 100base-TX [all …]
|
/Linux-v6.1/Documentation/filesystems/ext4/ |
D | ifork.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 ------------------------------ 22 means of an (up to) three level 1-1 block map. To find the logical block 64 stored in ``inode.i_block``, which allows for the first four extents to 70 .. list-table:: 72 :header-rows: 1 74 * - Offset 75 - Size 76 - Name 77 - Description [all …]
|