Home
last modified time | relevance | path

Searched +full:no +full:- +full:unaligned +full:- +full:direct +full:- +full:access (Results 1 – 25 of 71) sorted by relevance

123

/linux/Documentation/filesystems/
H A Dzonefs.rst1 .. 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 DMakefile1 # 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/arch/powerpc/boot/dts/
H A Do2d.dtsi1 // 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 DKconfig1 # 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 Dmmu.rst1 .. 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 Dscsi_common.c1 // 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/fs/xfs/
H A Dxfs_file.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
33 #include <linux/backing-dev.h>
56 return !((pos | len) & (alloc_unit - 1)); in xfs_is_falloc_aligned()
61 * as there is no file data to flush, and thus also no need for explicit
62 * cache flush operations, and there are no non-transaction metadata updates
72 struct xfs_inode *ip = XFS_I(file->f_mapping->host); in xfs_dir_fsync()
91 * set on the log item until - at least - the journal flush completes. In
104 struct xfs_inode_log_item *iip = ip->i_itemp; in xfs_fsync_flush_log()
107 spin_lock(&iip->ili_lock); in xfs_fsync_flush_log()
[all …]
/linux/Documentation/admin-guide/sysctl/
H A Dkernel.rst5 .. 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/arch/powerpc/mm/book3s64/
H A Dradix_pgtable.c1 // 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/drivers/mtd/maps/
H A Dphysmap-core.c1 // 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/drivers/net/dsa/b53/
H A Db53_spi.c2 * 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 DChangeLog.megaraid1 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/arch/alpha/kernel/
H A Dsetup.c1 // 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 Ddirect.c1 // 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 Dsuper.c1 // 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 Dntb_hw_idt.c7 * 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 Dfile.c1 // 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 Dirq.c1 // 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 Dkey.c11 * 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 Dbpf.h1 /* 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-endian */
33 #define BPF_TO_BE 0x08 /* convert to big-endian */
52 #define BPF_CMPXCHG (0xf0 | BPF_FETCH) /* atomic compare-and-write */
54 #define BPF_LOAD_ACQ 0x100 /* load-acquire */
55 #define BPF_STORE_REL 0x110 /* store-release */
[all …]
/linux/tools/include/uapi/linux/
H A Dbpf.h1 /* 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-endian */
33 #define BPF_TO_BE 0x08 /* convert to big-endian */
52 #define BPF_CMPXCHG (0xf0 | BPF_FETCH) /* atomic compare-and-write */
54 #define BPF_LOAD_ACQ 0x100 /* load-acquire */
55 #define BPF_STORE_REL 0x110 /* store-release */
[all …]
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dmain.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>
7 * Copyright (c) 2005-2008 Stefano Brivio <stefano.brivio@polimi.it>
14 * driver Copyright(c) 2003 - 2004 Intel Corporation.
27 #include <linux/dma-mapping.h>
30 #include <linux/unaligned.h>
157 if (!wl || !wl->current_dev) in b43legacy_ratelimit()
159 if (b43legacy_status(wl->current_dev) < B43legacy_STAT_STARTED) in b43legacy_ratelimit()
179 printk(KERN_INFO "b43legacy-%s: %pV", in b43legacyinfo()
180 (wl && wl->hw) ? wiphy_name(wl->hw->wiphy) : "wlan", &vaf); in b43legacyinfo()
[all …]
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt16 force -- enable ACPI if default was off
17 on -- enable ACPI but allow fallback to DT [arm64,riscv64]
18 off -- disable ACPI if default was on
19 noirq -- do not use ACPI for IRQ routing
20 strict -- Be less tolerant of platforms that are not
22 rsdt -- prefer RSDT over (default) XSDT
23 copy_dsdt -- copy DSDT to memory
24 nocmcff -- Disable firmware first mode for corrected
28 nospcr -- disable console in ACPI SPCR table as
45 If set to vendor, prefer vendor-specific driver
[all …]
/linux/arch/x86/mm/pat/
H A Dset_memory.c1 // SPDX-License-Identifier: GPL-2.0-only
39 * The current flushing context - we pass it instead of 5 arguments:
99 direct_pages_count[level]--; in split_page_count()
106 direct_pages_count[level - 1] += PTRS_PER_PTE; in split_page_count()
118 direct_pages_count[level - 1] -= PTRS_PER_PTE; in collapse_page_count()
190 seq_printf(m, "4K pages set-checked: %16lu\n", cpa_4k_install); in cpastats_show()
240 * 1. The kernel direct map (0xffff880000000000)
244 * points to #2, but almost all physical-to-virtual translations point to #1.
261 return __pa_symbol(roundup(_brk_end, PMD_SIZE) - 1) >> PAGE_SHIFT; in highmap_end_pfn()
277 /* There is no highmap on 32-bit */ in __cpa_pfn_in_highmap()
[all …]
/linux/drivers/platform/surface/aggregator/
H A Dssh_request_layer.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2019-2022 Maximilian Luz <luzmaximilian@gmail.com>
8 #include <linux/unaligned.h>
11 #include <linux/error-injection.h>
29 * SSH_RTL_REQUEST_TIMEOUT - Request timeout.
32 * response in this time-frame after finishing the underlying packet
33 * transmission, the request will be completed with %-ETIMEDOUT as status
39 * SSH_RTL_REQUEST_TIMEOUT_RESOLUTION - Request timeout granularity.
41 * Time-resolution for timeouts. Should be larger than one jiffy to avoid
42 * direct re-scheduling of reaper work_struct.
[all …]

123