Home
last modified time | relevance | path

Searched +full:- +full:- +full:disable +full:- +full:sparse (Results 1 – 25 of 129) sorted by relevance

123456

/openbmc/linux/mm/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
12 # the same word but accesses to different bits of that word. Re-enable KCSAN
21 # These files are disabled because they produce non-interesting and/or
28 KCOV_INSTRUMENT_debug-pagealloc.o := n
35 CFLAGS_init-mm.o += $(call cc-disable-warning, override-init)
36 CFLAGS_init-mm.o += $(call cc-disable-warning, initializer-overrides)
38 mmu-y := nommu.o
39 mmu-$(CONFIG_MMU) := highmem.o memory.o mincore.o \
42 pgtable-generic.o rmap.o vmalloc.o
46 mmu-$(CONFIG_MMU) += process_vm_access.o
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
33 compress them into a dynamically allocated RAM-based memory pool.
62 swapped out again, it will be re-compressed.
190 linux-mm@kvack.org and the zswap maintainers.
208 zsmalloc is a slab-based memory allocator designed to store
223 int "Maximum number of physical pages per-zspage"
256 If you cannot migrate to SLUB, please contact linux-mm@kvack.org
305 can usually only damage objects in the same cache. To disable
325 sanity-checking than others. This option is most effective with
339 Try running: slabinfo -DA
[all …]
/openbmc/qemu/hw/vfio/
H A Dhelpers.c11 * the COPYING file in the top-level directory.
13 * Based on qemu-kvm device-assignment:
19 * Copyright (C) 2008, IBM, Muli Ben-Yehuda (muli@il.ibm.com)
25 #include "hw/vfio/vfio-common.h"
29 #include "qemu/error-report.h"
34 * Common VFIO interrupt disable
46 ioctl(vbasedev->fd, VFIO_DEVICE_SET_IRQS, &irq_set); in vfio_disable_irqindex()
59 ioctl(vbasedev->fd, VFIO_DEVICE_SET_IRQS, &irq_set); in vfio_unmask_single_irqindex()
72 ioctl(vbasedev->fd, VFIO_DEVICE_SET_IRQS, &irq_set); in vfio_mask_single_irqindex()
91 if (vbasedev->type != VFIO_DEVICE_TYPE_PCI) { in index_to_str()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dvmmgp100.c37 struct device *dev = vmm->mmu->subdev.device->dev; in gp100_vmm_pfn_unmap()
40 nvkm_kmap(pt->memory); in gp100_vmm_pfn_unmap()
41 while (ptes--) { in gp100_vmm_pfn_unmap()
42 u32 datalo = nvkm_ro32(pt->memory, pt->base + ptei * 8 + 0); in gp100_vmm_pfn_unmap()
43 u32 datahi = nvkm_ro32(pt->memory, pt->base + ptei * 8 + 4); in gp100_vmm_pfn_unmap()
51 nvkm_done(pt->memory); in gp100_vmm_pfn_unmap()
59 nvkm_kmap(pt->memory); in gp100_vmm_pfn_clear()
60 while (ptes--) { in gp100_vmm_pfn_clear()
61 u32 datalo = nvkm_ro32(pt->memory, pt->base + ptei * 8 + 0); in gp100_vmm_pfn_clear()
62 u32 datahi = nvkm_ro32(pt->memory, pt->base + ptei * 8 + 4); in gp100_vmm_pfn_clear()
[all …]
/openbmc/qemu/scripts/
H A Dmeson-buildoptions.sh1 # This file is generated by meson-buildoptions.py, do not edit!
3 printf "%s\n" ' --audio-drv-list=CHOICES Set audio driver list [default] (choices: alsa/co'
6 printf "%s\n" ' --bindir=VALUE Executable directory [bin]'
7 printf "%s\n" ' --block-drv-ro-whitelist=VALUE'
8 printf "%s\n" ' set block driver read-only whitelist (by default'
9 printf "%s\n" ' affects only QEMU, not tools like qemu-img)'
10 printf "%s\n" ' --block-drv-rw-whitelist=VALUE'
11 printf "%s\n" ' set block driver read-write whitelist (by default'
12 printf "%s\n" ' affects only QEMU, not tools like qemu-img)'
13 printf "%s\n" ' --datadir=VALUE Data file directory [share]'
[all …]
/openbmc/linux/fs/ntfs/
H A Dusnjrnl.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * usnjrnl.h - Defines for NTFS kernel transaction log ($UsnJrnl) handling.
4 * Part of the Linux-NTFS project.
55 * simply the 64-bit timestamp of when the journal was either created or last
65 * As an aside, note that to actually disable the transaction log, one would
74 * This is why we can safely mount read-write when we see a transaction log
88 /* 0*/sle64 maximum_size; /* The maximum on-disk size of the $DATA/$J
99 * Reason flags (32-bit). Cumulative flags describing the change(s) to the
102 * documentation: http://www.linux-ntfs.org/
131 * Source info flags (32-bit). Information about the source of the change(s)
[all …]
/openbmc/linux/drivers/base/power/
H A Dclock_ops.c1 // SPDX-License-Identifier: GPL-2.0
3 * drivers/base/power/clock_ops.c - Generic clock manipulation PM callbacks
40 * pm_clk_list_lock - ensure exclusive access for modifying the PM clock
53 __acquires(&psd->lock) in pm_clk_list_lock()
55 mutex_lock(&psd->clock_mutex); in pm_clk_list_lock()
56 spin_lock_irq(&psd->lock); in pm_clk_list_lock()
60 * pm_clk_list_unlock - counterpart to pm_clk_list_lock().
65 __releases(&psd->lock) in pm_clk_list_unlock()
67 spin_unlock_irq(&psd->lock); in pm_clk_list_unlock()
68 mutex_unlock(&psd->clock_mutex); in pm_clk_list_unlock()
[all …]
/openbmc/linux/drivers/gpu/drm/meson/
H A Dmeson_osd_afbcd.c1 // SPDX-License-Identifier: GPL-2.0+
30 * - basic AFBC buffer for RGB32 only, thus YTR feature is mandatory
31 * - SPARSE layout and SPLIT layout
32 * - only 16x16 superblock
43 * - basic AFBC buffer for multiple RGB and YUV pixel formats
44 * - SPARSE layout and SPLIT layout
45 * - 16x16 and 32x8 "wideblk" superblocks
46 * - Tiled header
67 return -EINVAL; in meson_gxm_afbcd_pixel_fmt()
85 priv->io_base + _REG(VIU_SW_RESET)); in meson_gxm_afbcd_reset()
[all …]
/openbmc/linux/Documentation/RCU/
H A Drcu_dereference.rst8 field selection ("->"), assignment ("="), address-of ("&"), addition and
14 - You must use one of the rcu_dereference() family of primitives
15 to load an RCU-protected pointer, otherwise CONFIG_PROVE_RCU
16 will complain. Worse yet, your code can see random memory-corruption
32 - In the special case where data is added but is never removed
38 - You are only permitted to use rcu_dereference() on pointer values.
44 - Set bits and clear bits down in the must-be-zero low-order
49 - XOR bits to translate pointers, as is done in some
50 classic buddy-allocator algorithms.
55 - Avoid cancellation when using the "+" and "-" infix arithmetic
[all …]
H A Dchecklist.rst1 .. SPDX-License-Identifier: GPL-2.0
14 0. Is RCU being applied to a read-mostly situation? If the data
18 tool for the job. Yes, RCU does reduce read-side overhead by
19 increasing write-side overhead, which is exactly why normal uses
27 Yet another exception is where the low real-time latency of RCU's
28 read-side primitives is critically important.
33 counter-intuitive situation where rcu_read_lock() and
49 them -- even x86 allows later loads to be reordered to precede
59 2. Do the RCU read-side critical sections make proper use of
63 under your read-side code, which can greatly increase the
[all …]
/openbmc/linux/net/batman-adv/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
14 B.A.T.M.A.N. (better approach to mobile ad-hoc networking) is
15 a routing protocol for multi-hop ad-hoc mesh networks. The
17 https://www.open-mesh.org/ for more information and user space
52 mechanism that increases ARP reliability on sparse wireless
63 Note that interfaces controlled by batman-adv must be manually
67 can safely disable it and save some space.
/openbmc/linux/fs/jfs/
H A Djfs_filsys.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (C) International Business Machines Corp., 2000-2003
11 * file system (implementation-dependent) constants
13 * refer to <limits.h> for system wide implementation-dependent constants
24 #define JFS_ERR_REMOUNT_RO 0x00000002 /* remount read-only */
32 /* mount time flag to disable journaling to disk */
42 #define JFS_TMPFS 0x00000400 /* temporary file system -
54 /* sparse regular file support */
55 #define JFS_SPARSE 0x00020000 /* sparse regular file */
73 /* case-insensitive name/directory support */
[all …]
/openbmc/linux/include/linux/
H A Dcoresight.h1 /* SPDX-License-Identifier: GPL-2.0 */
16 /* Peripheral id registers (0xFD0-0xFEC) */
25 /* Component id registers (0xFF0-0xFFC) */
76 * union coresight_dev_subtype - further characterisation of a type
97 * struct coresight_platform_data - data harvested from the firmware
104 * @in_conns: Sparse array of pointers to input connections. Sparse
116 * struct csdev_access - Abstraction of a CoreSight device access.
142 * struct coresight_desc - description of a component required from drivers
150 * in the component's sysfs sub-directory.
166 * struct coresight_connection - representation of a single connection
[all …]
H A Dpercpu-defs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/percpu-defs.h - basic definitions for percpu areas
40 * Base implementations of per-CPU variable declarations and definitions, where
108 * Variant on the per-CPU variable declaration/definition theme used for
109 * ordinary per-CPU variables.
118 * Declaration/definition used for per-CPU variables that must come first in
128 * Declaration/definition used for per-CPU variables that must be cacheline
155 * Declaration/definition used for per-CPU variables that must be page aligned.
166 * Declaration/definition used for per-CPU variables that must be read mostly.
175 * Declaration/definition used for per-CPU variables that should be accessed
[all …]
H A Dcompiler_types.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 * see https://github.com/rust-lang/rust-bindgen/issues/2244.
18 /* sparse defines __CHECKER__; see Documentation/dev-tools/sparse.rst */
31 # define __cond_acquires(x) __attribute__((context(x,0,-1)))
34 # define __release(x) __context__(x,-1)
41 # define ACCESS_PRIVATE(p, member) (*((typeof((p)->member) __force *) &(p)->member))
69 # define ACCESS_PRIVATE(p, member) ((p)->member)
89 …* gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-cold-function-at…
90 * gcc: https://gcc.gnu.org/onlinedocs/gcc/Label-Attributes.html#index-cold-label-attribute
92 * When -falign-functions=N is in use, we must avoid the cold attribute as
[all …]
/openbmc/qemu/include/hw/arm/
H A Dsmmu-common.h4 * Copyright (C) 2015-2016 Broadcom Corporation
30 /* VMSAv8-64 Translation constants and functions */
34 #define VMSA_STRIDE(gran) ((gran) - VMSA_LEVELS + 1)
35 #define VMSA_BIT_LVL(isz, strd, lvl) ((isz) - (strd) * \
36 (VMSA_LEVELS - (lvl)))
38 VMSA_BIT_LVL(isz, strd, lvl)) - 1)
40 #define CACHED_ENTRY_TO_ADDR(ent, addr) ((ent)->entry.translated_addr + \
41 ((addr) & (ent)->entry.addr_mask))
72 uint8_t tsz; /* input range, ie. 2^(64 -tsz)*/
74 bool had; /* hierarchical attribute disable */
[all …]
/openbmc/linux/fs/smb/client/
H A Dfs_context.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
231 bool nobrl:1; /* disable sending byte range locks to srv */
232 bool nohandlecache:1; /* disable caching dir handles if srvr probs */
240 bool no_lease:1; /* disable requesting leases */
241 bool no_sparse:1; /* do not attempt to set files sparse */
297 return fc->fs_private; in smb3_fc2context()
305 * max deferred close timeout (jiffies) - 2^30
/openbmc/linux/drivers/remoteproc/
H A Dst_slim_rproc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
62 slim_rproc->clks[clk] = of_clk_get(dev->of_node, clk); in slim_clk_get()
63 if (IS_ERR(slim_rproc->clks[clk])) { in slim_clk_get()
64 err = PTR_ERR(slim_rproc->clks[clk]); in slim_clk_get()
65 if (err == -EPROBE_DEFER) in slim_clk_get()
67 slim_rproc->clks[clk] = NULL; in slim_clk_get()
75 while (--clk >= 0) in slim_clk_get()
76 clk_put(slim_rproc->clks[clk]); in slim_clk_get()
85 for (clk = 0; clk < ST_SLIM_MAX_CLK && slim_rproc->clks[clk]; clk++) in slim_clk_disable()
86 clk_disable_unprepare(slim_rproc->clks[clk]); in slim_clk_disable()
[all …]
/openbmc/u-boot/include/linux/
H A Dcompiler.h17 # define __release(x) __context__(x,-1)
56 #include <linux/compiler-gcc.h>
69 # include <linux/compiler-intel.h>
76 #include <linux/compiler-clang.h>
80 * Generic compiler-dependent macros required for kernel
104 * to disable branch tracing on a per file basis.
194 /* Not-quite-unique ID. */
226 * '__maybe_unused' allows us to avoid defined-but-not-used warnings.
267 * compile-time warning.
270 * process-level code and irq/NMI handlers, all running on the same CPU,
[all …]
/openbmc/linux/drivers/platform/x86/intel/
H A Dvbtn.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <linux/input/sparse-keymap.h>
42 { KE_KEY, 0xC4, { KEY_VOLUMEUP } }, /* volume-up key press */
43 { KE_IGNORE, 0xC5, { KEY_VOLUMEUP } }, /* volume-up key release */
44 { KE_KEY, 0xC6, { KEY_VOLUMEDOWN } }, /* volume-down key press */
45 { KE_IGNORE, 0xC7, { KEY_VOLUMEDOWN } }, /* volume-down key release */
46 { KE_KEY, 0xC8, { KEY_ROTATE_LOCK_TOGGLE } }, /* rotate-lock key press */
47 { KE_KEY, 0xC9, { KEY_ROTATE_LOCK_TOGGLE } }, /* rotate-lock key release */
54 * intel-vbtn code, always seem to use this for 2-in-1s / convertibles and set
55 * SW_DOCK=1 when in laptop-mode (in tandem with setting SW_TABLET_MODE=0).
[all …]
/openbmc/qemu/
H A Dmeson_options.txt1 # These options do not correspond to a --enable/--disable-* option
3 # scripts/meson-buildoptions.py's SKIP_OPTIONS constant too.
9 option('qemu_firmwarepath', type : 'array', value : ['share/qemu-firmware'],
12 description: 'use specified string as sub-version of the package')
25 …description: 'set block driver read-write whitelist (by default affects only QEMU, not tools like …
27 …description: 'set block driver read-only whitelist (by default affects only QEMU, not tools like q…
28 option('interp_prefix', type : 'string', value : '/usr/gnemul/qemu-%M',
33 description: 'fuzzing engine library for OSS-Fuzz')
40 # Everything else can be set via --enable/--disable-* option
42 # here make sure to run "make update-buildoptions".
[all …]
/openbmc/linux/net/ipv4/
H A Dbpf_tcp_ca.c1 // SPDX-License-Identifier: GPL-2.0
14 /* "extern" is to avoid sparse warning. It is only used in bpf_struct_ops.c. */
30 return -EINVAL; in bpf_tcp_ca_init()
35 return -EINVAL; in bpf_tcp_ca_init()
62 if (base_type(info->reg_type) == PTR_TO_BTF_ID && in bpf_tcp_ca_is_valid_access()
63 !bpf_type_has_unsafe_modifiers(info->reg_type) && in bpf_tcp_ca_is_valid_access()
64 info->btf_id == sock_id) in bpf_tcp_ca_is_valid_access()
66 info->btf_id = tcp_sock_id; in bpf_tcp_ca_is_valid_access()
78 t = btf_type_by_id(reg->btf, reg->btf_id); in bpf_tcp_ca_btf_struct_access()
81 return -EACCES; in bpf_tcp_ca_btf_struct_access()
[all …]
/openbmc/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_perfcnt.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/iosys-map.h>
40 complete(&pfdev->perfcnt->dump_comp); in panfrost_perfcnt_clean_cache_done()
53 reinit_completion(&pfdev->perfcnt->dump_comp); in panfrost_perfcnt_dump_locked()
54 gpuva = pfdev->perfcnt->mapping->mmnode.start << PAGE_SHIFT; in panfrost_perfcnt_dump_locked()
61 ret = wait_for_completion_interruptible_timeout(&pfdev->perfcnt->dump_comp, in panfrost_perfcnt_dump_locked()
64 ret = -ETIMEDOUT; in panfrost_perfcnt_dump_locked()
75 struct panfrost_file_priv *user = file_priv->driver_priv; in panfrost_perfcnt_enable_locked()
76 struct panfrost_perfcnt *perfcnt = pfdev->perfcnt; in panfrost_perfcnt_enable_locked()
82 if (user == perfcnt->user) in panfrost_perfcnt_enable_locked()
[all …]
/openbmc/linux/arch/riscv/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
4 # see Documentation/kbuild/kconfig-language.rst.
169 # https://github.com/llvm/llvm-project/commit/6ab8927931851bb42b2c93a00801dc499d7d9b1e
176 depends on $(cc-option,-fpatchable-function-entry=8)
186 # VA_BITS - PAGE_SHIFT - 3
199 # set if we are running in S-mode and can use SBI calls
206 bool "MMU-based Paged Memory Management Support"
209 Select if you want MMU-based virtualised addressing space
286 This enables function pointer support for non-standard noncoherent
290 def_bool $(as-instr,.insn r 51$(comma) 0$(comma) 0$(comma) t0$(comma) t0$(comma) zero)
[all …]
/openbmc/linux/drivers/platform/x86/dell/
H A Ddell-wmi-base.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (C) 2014-2015 Pali Rohár <pali@kernel.org>
22 #include <linux/input/sparse-keymap.h>
28 #include "dell-smbios.h"
29 #include "dell-wmi-descriptor.h"
30 #include "dell-wmi-privacy.h"
37 #define DELL_EVENT_GUID "9DBB5994-A997-11DA-B012-B622A1EF5492"
165 * Originally Matthew Garrett created this dell-wmi driver specially for
257 /* Fn-lock switched to function keys */
260 /* Fn-lock switched to multimedia keys */
[all …]

123456