| /linux/Documentation/filesystems/ |
| H A D | zonefs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 ZoneFS - Zone filesystem for Zoned block devices 11 as a file. Unlike a regular POSIX-compliant file system with native zoned block 17 As such, zonefs is in essence closer to a raw block device access interface 18 than to a full-featured POSIX file system. The goal of zonefs is to simplify 21 direct block device file ioctls which may be more obscure to developers. One 22 example of this approach is the implementation of LSM (log-structured merge) 31 ------------------- 35 zones are contiguous (there are no LBA gaps). Zones may have different types. 37 * Conventional zones: there are no access constraints to LBAs belonging to [all …]
|
| /linux/arch/loongarch/ |
| H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 4 # Copyright (C) 2020-2022 Loongson Technology Corporation Limited 11 image-name-y := vmlinux 12 image-name-$(CONFIG_EFI_ZBOOT) := vmlinuz 17 KBUILD_IMAGE := $(boot)/$(image-name-y).efi 23 64bit-tool-archpref = loongarch64 24 32bit-bfd = elf32-loongarch 25 64bit-bfd = elf64-loongarch 26 32bit-emul = elf32loongarch 27 64bit-emul = elf64loongarch [all …]
|
| /linux/Documentation/filesystems/iomap/ |
| H A D | operations.rst | 1 .. SPDX-License-Identifier: GPL-2.0 35 linked lists of buffer heads instead of the per-folio bitmaps that iomap 42 ----------------------------------- 61 -------------------------- 63 .. code-block:: c 77 - ``get_folio``: Called to allocate and return an active reference to 81 This could be used to `set up per-folio filesystem state 82 <https://lore.kernel.org/all/20190429220934.10415-5-agruenba@redhat.com/>`_ 85 - ``put_folio``: Called to unlock and put a folio after a pagecache 89 This could be used to `commit per-folio filesystem state [all …]
|
| /linux/arch/powerpc/boot/dts/ |
| H A D | o2d.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 gpio-controller; 13 fsl,has-wdt; 14 fsl,wdt-on-boot = <0>; 16 &gpt1 { gpio-controller; }; 33 compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi"; 34 #address-cells = <1>; 35 #size-cells = <0>; 36 cell-index = <0>; 48 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; [all …]
|
| /linux/fs/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 8 # Use unaligned word dcache accesses 59 bool "File system based Direct Access (DAX) support" 65 Direct Access (DAX) can be used on memory-backed block devices. 70 For a DAX device to support file system access it needs to have 74 # ndctl create-namespace --force --reconfig=namespace0.0 \ 75 --mode=fsdax --map=mem 77 See the 'create-namespace' man page for details on the overhead of 78 --map=mem: 79 https://docs.pmem.io/ndctl-user-guide/ndctl-man-pages/ndctl-create-namespace [all …]
|
| /linux/Documentation/virt/kvm/x86/ |
| H A 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/drivers/scsi/ |
| H A D | scsi_common.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <linux/unaligned.h> 29 "Direct-Access ", 30 "Sequential-Access", 34 "CD-ROM ", 43 "Direct-Access-RBC", 49 "Direct-Access-ZBC", 53 * scsi_device_type - Return 17-char string indicating device type. 59 return "Well-known LUN "; in scsi_device_type() 61 return "No Device "; in scsi_device_type() [all …]
|
| /linux/arch/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 22 # IOMMUs not handled by dma-iommu. Drivers must never select this symbol. 29 menu "General architecture-dependent options" 34 Select if the architecture can check permissions at sub-page 70 by sharing mid-level caches, last-level cache tags or internal 74 bool "Multi-Core Cache (MC) scheduler support" 78 Multi-core scheduler support improves the CPU scheduler's decision 79 making when dealing with multi-core CPU chips at a cost of slightly 127 for kernel debugging, non-intrusive instrumentation and testing. 136 makes certain almost-always-true or almost-always-false branch [all …]
|
| /linux/arch/powerpc/mm/book3s64/ |
| H A D | radix_pgtable.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2015-2016, Aneesh Kumar K.V, IBM Corporation. 8 #define pr_fmt(fmt) "radix-mmu: " fmt 157 return -ENOMEM; in __map_kernel_page() 164 return -ENOMEM; in __map_kernel_page() 171 return -ENOMEM; in __map_kernel_page() 183 return __map_kernel_page(ea, pa, flags, map_page_size, -1, 0, 0); in radix__map_kernel_page() 200 pr_debug("Changing flags on range %lx-%lx removing 0x%lx\n", in radix__change_memory_range() 267 pr_info("Mapped 0x%016lx-0x%016lx with %s pages%s\n", start, end, buf, in print_mapping() 278 // Relocatable kernel running at non-zero real address in next_boundary() [all …]
|
| /linux/Documentation/admin-guide/sysctl/ |
| H A D | kernel.rst | 5 .. See scripts/check-sysctl-docs to keep this up to date 13 Documentation/admin-guide/sysctl/index.rst. 15 ------------------------------------------------------------------------------ 39 If BSD-style process accounting is enabled these values control 71 The machine hardware name, the same output as ``uname -m`` 77 This variable has no effect and may be removed in future kernel 129 Ctrl-Alt-Delete). Writing a value to this file which doesn't 130 correspond to a running process will result in ``-ESRCH``. 132 See also `ctrl-alt-del`_. 210 captured in parallel, but that no waiting will take place (i.e. the [all …]
|
| /linux/drivers/mtd/maps/ |
| H A D | physmap-core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * 031022 - [jsun] add run-time configure and partition setup 23 * Copyright © 2005-2009 Analog Devices Inc. 45 #include "physmap-bt1-rom.h" 46 #include "physmap-gemini.h" 47 #include "physmap-ixp4xx.h" 48 #include "physmap-versatile.h" 74 if (info->cmtd) { in physmap_flash_remove() 75 WARN_ON(mtd_device_unregister(info->cmtd)); in physmap_flash_remove() 77 if (info->cmtd != info->mtds[0]) in physmap_flash_remove() [all …]
|
| /linux/fs/xfs/ |
| H A D | xfs_file.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 35 #include <linux/backing-dev.h> 58 return !((pos | len) & (alloc_unit - 1)); in xfs_is_falloc_aligned() 63 * as there is no file data to flush, and thus also no need for explicit 64 * cache flush operations, and there are no non-transaction metadata updates 74 struct xfs_inode *ip = XFS_I(file->f_mapping->host); in xfs_dir_fsync() 93 * set on the log item until - at least - the journal flush completes. In 106 struct xfs_inode_log_item *iip = ip->i_itemp; in xfs_fsync_flush_log() 109 spin_lock(&iip->ili_lock); in xfs_fsync_flush_log() [all …]
|
| /linux/drivers/net/dsa/b53/ |
| H A D | b53_spi.c | 2 * B53 register access through SPI 4 * Copyright (C) 2011-2013 Jonas Gorski <jogo@openwrt.org> 12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 19 #include <linux/unaligned.h> 71 return -EIO; in b53_spi_clear_status() 119 return -EIO; in b53_spi_prepare_reg_read() 127 struct spi_device *spi = dev->priv; in b53_spi_read() 200 struct spi_device *spi = dev->priv; in b53_spi_write8() 217 struct spi_device *spi = dev->priv; in b53_spi_write16() [all …]
|
| /linux/Documentation/scsi/ |
| H A D | ChangeLog.megaraid | 1 Release Date : Thu Nov 16 15:32:35 EST 2006 - 9 and re-initialize its internal RAID structure. 14 2. Authors email-id domain name changed from lsil.com to lsi.com. 17 Release Date : Fri May 19 09:31:45 EST 2006 - Seokmann Ju <sju@lsil.com> 23 Root Cause: the driver registered controllers as 64-bit DMA capable 26 identifying 64-bit DMA capable controllers. 28 > -----Original Message----- 31 > To: linux-scsi@vger.kernel.org; Kolli, Neela; Mukker, Atul; 41 > "attempt to access beyond end of device" messages. 73 > attempt to access beyond end of device [all …]
|
| /linux/include/linux/ |
| H A D | iomap.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 30 #define IOMAP_HOLE 0 /* no blocks allocated, need allocation */ 40 * zeroing for areas that no data is copied to. 42 * IOMAP_F_DIRTY indicates the inode has uncommitted metadata needed to access 45 * completion, such as file size updates from direct IO. 104 #define IOMAP_NULL_ADDR -1ULL /* addr is not valid */ 121 if (iomap->flags & IOMAP_F_ANON_WRITE) in iomap_sector() 123 return (iomap->addr + pos - iomap->offset) >> SECTOR_SHIFT; in iomap_sector() 131 return iomap->inline_data + pos - iomap->offset; in iomap_inline_data() 141 return iomap->length <= PAGE_SIZE - offset_in_page(iomap->inline_data); in iomap_inline_data_valid() [all …]
|
| /linux/arch/alpha/kernel/ |
| H A D | setup.c | 1 // SPDX-License-Identifier: GPL-2.0 100 * "srmcons" - early callback prints 101 * "console=srm" - full callback based console, including early prints 137 * i386-setup code. This is just enough to make the console 152 * The direct map I/O window, if any. This should be the same 228 for (hose = hose_head; hose; hose = hose->next) in reserve_std_resources() 229 if (hose->index == 0) { in reserve_std_resources() 230 io = hose->io_space; in reserve_std_resources() 241 for ((_cluster) = (memdesc)->cluster, (i) = 0; \ 242 (i) < (memdesc)->numclusters; (i)++, (_cluster)++) [all …]
|
| /linux/fs/nfs/ |
| H A D | direct.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/fs/nfs/direct.c 7 * High-performance uncached I/O for the Linux NFS client 10 * depends on uncached access to file data. Database clusters 15 * from a local cache. A streaming video server, for instance, has no 21 * correct unaligned requests from applications. All requested bytes are 22 * held on permanent storage before a direct write system call returns to 27 * also supports uncaching whole NFS partitions with "-o forcedirectio," 33 * 18 Dec 2001 Initial implementation for 2.4 --cel 34 * 08 Jul 2002 Version for 2.4.19, with bug fixes --trondmy [all …]
|
| /linux/drivers/dax/ |
| H A D | super.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include "dax-private.h" 19 * struct dax_device - anchor object for dax services 75 * fs_dax_get_by_bdev() - temporary lookup mechanism for filesystem-dax 88 if (!blk_queue_dax(bdev->bd_disk->queue)) in fs_dax_get_by_bdev() 94 pr_info("%pg: error: unaligned partition for dax\n", bdev); in fs_dax_get_by_bdev() 99 dax_dev = xa_load(&dax_hosts, (unsigned long)bdev->bd_disk); in fs_dax_get_by_bdev() 100 if (!dax_dev || !dax_alive(dax_dev) || !igrab(&dax_dev->inode)) in fs_dax_get_by_bdev() 103 if (!cmpxchg(&dax_dev->holder_data, NULL, holder)) in fs_dax_get_by_bdev() 104 dax_dev->holder_ops = ops; in fs_dax_get_by_bdev() [all …]
|
| /linux/drivers/ntb/hw/idt/ |
| H A D | ntb_hw_idt.c | 7 * Copyright (C) 2016-2018 T-Platforms JSC All Rights Reserved. 27 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 28 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 36 * IDT PCIe-switch NTB Linux driver 39 * Serge Semin <fancer.lancer@gmail.com>, <Sergey.Semin@t-platforms.ru> 59 #include <linux/hwmon-sysfs.h> 65 #define NTB_DESC "IDT PCI-E Non-Transparent Bridge Driver" 72 MODULE_AUTHOR("T-platforms"); 75 * NT Endpoint registers table simplifying a loop access to the functionally 99 * status, control and BAR-related registers [all …]
|
| /linux/fs/zonefs/ |
| H A D | file.c | 1 // SPDX-License-Identifier: GPL-2.0 33 struct super_block *sb = inode->i_sb; in zonefs_read_iomap_begin() 40 mutex_lock(&zi->i_truncate_mutex); in zonefs_read_iomap_begin() 41 iomap->bdev = inode->i_sb->s_bdev; in zonefs_read_iomap_begin() 42 iomap->offset = ALIGN_DOWN(offset, sb->s_blocksize); in zonefs_read_iomap_begin() 44 if (iomap->offset >= isize) { in zonefs_read_iomap_begin() 45 iomap->type = IOMAP_HOLE; in zonefs_read_iomap_begin() 46 iomap->addr = IOMAP_NULL_ADDR; in zonefs_read_iomap_begin() 47 iomap->length = length; in zonefs_read_iomap_begin() 49 iomap->type = IOMAP_MAPPED; in zonefs_read_iomap_begin() [all …]
|
| /linux/arch/parisc/kernel/ |
| H A D | irq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * Copyright (C) 1999-2000 Grant Grundler 27 #define EIEM_MASK(irq) (1UL<<(CPU_IRQ_MAX - irq)) 36 ** between ->ack() and ->end() of the interrupt to prevent 37 ** re-interruption of a processing interrupt. 43 unsigned long eirr_bit = EIEM_MASK(d->irq); in cpu_mask_irq() 66 __cpu_unmask_irq(d->irq); in cpu_unmask_irq() 71 unsigned long mask = EIEM_MASK(d->irq); in cpu_ack_irq() 74 /* Clear in EIEM so we can no longer process */ in cpu_ack_irq() 86 unsigned long mask = EIEM_MASK(d->irq); in cpu_eoi_irq() [all …]
|
| /linux/drivers/net/wireless/ath/ |
| H A D | key.c | 11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 19 #include <linux/unaligned.h> 25 #define REG_READ (common->ops->read) 26 #define REG_WRITE(_ah, _reg, _val) (common->ops->write)(_ah, _val, _reg) 28 if (common->ops->enable_write_buffer) \ 29 common->ops->enable_write_buffer((_ah)); 32 if (common->ops->write_flush) \ 33 common->ops->write_flush((_ah)); 45 void *ah = common->ah; in ath_hw_keyreset() [all …]
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com 21 #define BPF_DW 0x18 /* double word (64-bit) */ 23 #define BPF_ATOMIC 0xc0 /* atomic memory ops - op type in immediate */ 24 #define BPF_XADD 0xc0 /* exclusive add - legacy name */ 32 #define BPF_TO_LE 0x00 /* convert to little-endia [all...] |
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com 21 #define BPF_DW 0x18 /* double word (64-bit) */ 23 #define BPF_ATOMIC 0xc0 /* atomic memory ops - op type in immediate */ 24 #define BPF_XADD 0xc0 /* exclusive add - legacy name */ 32 #define BPF_TO_LE 0x00 /* convert to little-endia [all...] |
| /linux/Documentation/admin-guide/ |
| H A D | kernel-parameters.txt | 12 DRM Direct Rendering Management support is enabled. 39 Documentation/arch/m68k/kernel-options.rst. 49 PARISC The PA-RISC architecture is enabled. 64 the Documentation/scsi/ sub-directory. 83 X86-32 X86-32, aka i386 architecture is enabled. 84 X86-64 X86-64 architecture is enabled. 85 X86 Either 32-bit or 64-bit x86 (same as X86-32+X86-64) 94 KNL Is a kernel start-up parameter. 114 force -- enable ACPI if default was off 115 on -- enable ACPI but allow fallback to DT [arm64,riscv64] [all …]
|