/linux/Documentation/devicetree/bindings/net/ |
H A D | davicom,dm9051.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Joseph CHANG <josright123@gmail.com> 13 The DM9051 is a fully integrated and cost-effective low pin count single 17 - $ref: ethernet-controller.yaml# 26 spi-max-frequency: 32 local-mac-address: true 34 mac-address: true 37 - compatible [all …]
|
/linux/include/linux/ |
H A D | energy_model.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 * struct em_perf_state - Performance state of a performance domain 20 * @cost: The cost coefficient associated with this level, used during 28 unsigned long cost; member 37 * but a lower or equal power cost. Such inefficient states are ignored when 43 * struct em_perf_table - Performance states table 55 * struct em_perf_domain - Performance domain 68 * must have the same micro-architecture. Performance domains often have 69 * a 1-to-1 mapping with CPUFreq policies. In case of other devices the @cpus 84 * EM_PERF_DOMAIN_MICROWATTS: The power values are in micro-Watts or some [all …]
|
H A D | gfp_types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * typedef gfp_t - Memory allocation flags. 23 * include/trace/events/mmflags.h and tools/perf/builtin-kmem.c 108 * Physical address zone modifiers (see linux/mmzone.h - low four bits) 124 * --------------------------------- 159 * Watermark modifiers -- controls access to emergency reserves 160 * ------------------------------------------------------------ 162 * %__GFP_HIGH indicates that the caller is high-priority and that granting 170 * be the MM or co-ordinating closely with the VM (e.g. swap over NFS). 174 * Usage of a pre-allocated pool (e.g. mempool) should be always considered [all …]
|
H A D | zstd_lib.h | 1 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ 6 * This source code is licensed under both the BSD-style license (found in the 9 * You may select, at your option, one of the above-listed licenses. 40 * typically with -Wno-deprecated-declarations for gcc or _CRT_SECURE_NO_WARNINGS in Visual. 61 real-time compression scenarios at zlib-level and better compression ratios. 62 The zstd compression library provides in-memory compression and decompression 66 which is currently 22. Levels >= 20, labeled `--ultra`, should be used with 69 The lower the level, the faster the speed (at the cost of compression). 72 - a single step (described as Simple API) 73 - a single step, reusing a context (described as Explicit context) [all …]
|
H A D | cgroup-defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * linux/cgroup-defs.h - basic definitions for cgroup 18 #include <linux/percpu-refcount.h> 19 #include <linux/percpu-rwsem.h> 22 #include <linux/bpf-cgroup-defs.h> 52 CSS_ONLINE = (1 << 1), /* between ->css_onlin [all...] |
/linux/Documentation/scheduler/ |
H A D | sched-util-clamp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 57 foreground, top-app, etc. Util clamp can be used to constrain how much 60 the ones belonging to the currently active app (top-app group). Beside this 65 1. The big cores are free to run top-app tasks immediately. top-app 106 Note that by design RT tasks don't have per-task PELT signal and must always 110 when an RT task wakes up. This cost is unchanged by using uclamp. Uclamp only 114 See :ref:`section 3.4 <uclamp-default-values>` for default values and 115 :ref:`3.4.1 <sched-util-clamp-min-rt-default>` on how to change RT tasks 132 frequency selection as well as task placement to be most effective. Both of 150 task on the rq to only a subset of tasks on the top-most bucket. [all …]
|
/linux/drivers/iommu/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 # The IOVA library may also be used by non-IOMMU_API users 40 sizes at both stage-1 and stage-2, as well as address spaces 41 up to 48-bits in size. 47 Enable self-tests for LPAE page table allocator. This performs 48 a series of page-table consistency checks during boot. 57 Enable support for the ARM Short-descriptor pagetable format. 58 This supports 32-bit virtual and physical addresses mapped using 59 2-level tables with 4KB pages/1MB sections, and contiguous entries 66 Enable self-tests for ARMv7s page table allocator. This performs [all …]
|
/linux/Documentation/networking/ |
H A D | msg_zerocopy.rst | 15 ----------------------- 23 it replaces per byte copy cost with page accounting and completion 25 effective at writes over around 10 KB. 40 --------- 43 netdev 2.1. For more in-depth information see that paper and talk, 53 [PATCH net-next v4 0/9] socket sendmsg MSG_ZEROCOPY 54 https://lore.kernel.org/netdev/20170803202945.70750-1-willemdebruijn.kernel@gmail.com 64 ------------ 77 ------------ 86 A zerocopy failure will return -1 with errno ENOBUFS. This happens if [all …]
|
/linux/Documentation/admin-guide/pm/ |
H A D | intel_pstate.rst | 1 .. SPDX-License-Identifier: GPL-2.0 22 Documentation/admin-guide/pm/cpufreq.rst if you have not done that yet.] 24 For the processors supported by ``intel_pstate``, the P-state concept is broader 27 information about that). For this reason, the representation of P-states used 32 ``intel_pstate`` maps its internal representation of P-states to frequencies too 38 Since the hardware P-state selection interface used by ``intel_pstate`` is 43 time the corresponding CPU is taken offline and need to be re-initialized when 47 only way to pass early-configuration-time parameters to it is via the kernel 66 ----------- 69 hardware-managed P-states (HWP) support. If it works in this mode, the [all …]
|
/linux/LICENSES/dual/ |
H A D | CDDL-1.0 | 1 Valid-License-Identifier: CDDL-1.0 2 SPDX-URL: https://spdx.org/licenses/CDDL-1.0.html 3 Usage-Guide: 4 Do NOT use. The CDDL-1.0 is not GPL2 compatible. It may only be used for 5 dual-licensed files where the other license is GPL2 compatible. 11 SPDX-License-Identifier: ($GPL-COMPATIBLE-ID OR CDDL-1.0) 13 License-Text: 90 hereby grants You a world-wide, royalty-free, non-exclusive 106 effective on the date Initial Developer first distributes 121 hereby grants You a world-wide, royalty-free, non-exclusive [all …]
|
H A D | MPL-1.1 | 1 Valid-License-Identifier: MPL-1.1 2 SPDX-URL: https://spdx.org/licenses/MPL-1.1.html 3 Usage-Guide: 4 Do NOT use. The MPL-1.1 is not GPL2 compatible. It may only be used for 5 dual-licensed files where the other license is GPL2 compatible. 11 SPDX-License-Identifier: MPL-1.1 12 License-Text: 17 --------------- 81 appropriate decompression or de-archiving software is widely available 98 The Initial Developer hereby grants You a world-wide, royalty-free, [all …]
|
/linux/mm/ |
H A D | swap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * Linux VM subsystem. Fine-tuning documentation can be found in 11 * Documentation/admin-guide/sysctl/vm.rst. 32 #include <linux/backing-dev.h> 84 * This path almost never happens for VM activity - pages are normally freed 85 * in batches. But it gets used by networking - and for compound pages. 112 free_frozen_pages(&folio->pag in __folio_put() 243 unsigned long cost; lru_note_cost() local [all...] |
/linux/block/ |
H A D | blk-iocost.c | 1 /* SPDX-License-Identifier: GPL-2.0 3 * IO cost model based controller. 10 * observable cost metric. This is distinguished from CPU and memory where 17 * useless for the purpose of IO capacity distribution. While on-device 19 * non-queued rotational devices, this is no longer viable with modern 22 * While there is no cost metric we can trivially observe, it isn't a 23 * complete mystery. For example, on a rotational device, seek cost 27 * implement a reasonable work-conserving proportional IO resource 30 * 1. IO Cost Model 32 * IO cost model estimates the cost of an IO given its basic parameters and [all …]
|
/linux/Documentation/admin-guide/ |
H A D | xfs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 on the SGI IRIX platform. It is completely multi-threaded, can 15 for further details. This implementation is on-disk compatible 25 Sets the buffered I/O end-of-file preallocation size when 28 through to 1GiB, inclusive, in power-of-2 increments. 30 The default behaviour is for dynamic end-of-file 40 on-disk. When the new form is used for the first time when 42 attributes) the on-disk superblock feature bit field will be 45 The default behaviour is determined by the on-disk feature 116 Set the number of in-memory log buffers. Valid numbers [all …]
|
/linux/rust/kernel/ |
H A D | task.rs | 1 // SPDX-License-Identifier: GPL-2.0 62 /// The following is an example of getting the PID of the current thread with zero additional cost 69 /// Getting the PID of the current process, also zero additional cost: 87 /// fn new() -> Self { 112 /// For example, to retrieve the pid-namespace of a task, you must use rcu protection unless it is 126 /// Other operations temporarily create a new sub-context: 142 fn deref(&self) -> &Task { in deref() 161 pub fn current_raw() -> *mut bindings::task_struct { in current_raw() 177 pub unsafe fn current() -> impl Deref<Target = CurrentTask> { in current() 185 fn deref(&self) -> &Self::Target { in current() [all …]
|
/linux/kernel/bpf/ |
H A D | cgroup.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <linux/bpf-cgroup.h> 22 #include "../cgroup/cgroup-internal.h" 76 array = rcu_dereference(cgrp->effective[atype]); in bpf_prog_run_array_cg() 77 item = &array->items[0]; in bpf_prog_run_array_cg() 79 while ((prog = READ_ONCE(item->prog))) { in bpf_prog_run_array_cg() 87 run_ctx.retval = -EPERM; in bpf_prog_run_array_cg() 108 shim_prog = (const struct bpf_prog *)((void *)insn - offsetof(struct bpf_prog, insnsi)); in __cgroup_bpf_run_lsm_sock() 110 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_lsm_sock() 112 ret = bpf_prog_run_array_cg(&cgrp->bpf, in __cgroup_bpf_run_lsm_sock() [all …]
|
/linux/arch/powerpc/kvm/ |
H A D | book3s_64_entry.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 #include <asm/asm-offsets.h> 5 #include <asm/code-patching-asm.h> 6 #include <asm/exception-64s.h> 13 #include <asm/ultravisor-api.h> 16 * These are branched to from interrupt handlers in exception-64s.S which set 17 * IKVM_REAL or IKVM_VIRT, if HSTATE_IN_GUEST was found to be non-zero. 24 * This may also be a syscall from PR-KVM userspace that is to be 28 * and CR0, so PR-KVM can not support a guest kernel that preserves 53 * guest R9-R13, CTR, CFAR, PPR saved in PACA EX_xxx save area [all …]
|
/linux/init/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 8 - Re-run Kconfig when the compiler is updated 13 - Ensure full rebuild when the compiler is updated 14 include/linux/compiler-version.h contains this option in the comment 16 auto-generated dependency. When the compiler is updated, syncconfig 20 def_bool $(success,test "$(cc-name)" = GCC) 24 default $(cc-version) if CC_IS_GCC 28 def_bool $(success,test "$(cc-name)" = Clang) 32 default $(cc-version) if CC_IS_CLANG 36 def_bool $(success,test "$(as-name)" = GNU) [all …]
|
/linux/Documentation/admin-guide/sysctl/ |
H A D | vm.rst | 13 ------------------------------------------------------------------------------ 27 - admin_reserve_kbytes 28 - compact_memory 29 - compaction_proactiveness 30 - compact_unevictable_allowed 31 - defrag_mode 32 - dirty_background_bytes 33 - dirty_background_ratio 34 - dirty_bytes 35 - dirty_expire_centisecs [all …]
|
/linux/kernel/cgroup/ |
H A D | cpuset.c | 7 * Copyright (C) 2004-2007 Silicon Graphics, Inc. 11 * sysfs is Copyright (c) 2001-3 Patrick Mochel 13 * 2003-10-10 Written by Simon Derr. 14 * 2003-10-22 Updates by Stephen Hemminger. 15 * 2004 May-July Rework by Paul Jackson. 24 #include "cpuset-internal.h" 49 * node binding, add this key to provide a quick low-cost judgmen [all...] |
/linux/Documentation/userspace-api/ |
H A D | dma-buf-alloc-exchange.rst | 1 .. SPDX-License-Identifier: GPL-2.0 2 .. Copyright 2021-2023 Collabora Ltd. 9 support for sharing pixel-buffer allocations between processes, devices, and 12 approach this sharing for two-dimensional image data. 25 Conceptually a two-dimensional array of pixels. The pixels may be stored 30 A span along a single y-axis value, e.g. from co-ordinates (0,100) to 37 A span along a single x-axis value, e.g. from co-ordinates (100,0) to 46 A two-dimensional array of some or all of an image's color and alpha 80 A value that denotes the relationship between pixel-location co-ordinates 81 and byte-offset values. Typically used as the byte offset between two [all …]
|
/linux/drivers/media/pci/tw5864/ |
H A D | tw5864-reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * TW5864 driver - registers description 8 /* According to TW5864_datasheet_0.6d.pdf, tw5864b1-ds.pdf */ 10 /* Register Description - Direct Map Space */ 11 /* 0x0000 ~ 0x1ffc - H264 Register Map */ 76 * 0->3 4 VLC data buffer in DDR (1M each) 77 * 0->7 8 VLC data buffer in DDR (512k each) 147 /* DDR-DPR Burst Read Enable */ 157 * 0 Single R/W Access (Host <-> DDR) 158 * 1 Burst R/W Access (Host <-> DPR) [all …]
|
/linux/drivers/cpufreq/ |
H A D | intel_pstate.c | 1 // SPDX-License-Identifier: GPL-2.0-only 38 #include <asm/intel-family.h> 56 #define ONE_EIGHTH_FP ((int64_t)1 << (FRAC_BITS - 3)) 78 mask = (1 << FRAC_BITS) - 1; in ceiling_fp() 95 * struct sample - Store performance sample 122 * struct pstate_data - Store P state data 129 * @perf_ctl_scaling: PERF_CTL P-state to frequency scaling factor 152 * struct vid_data - Stores voltage information data 157 * @ratio: Ratio of (vid max - vid min) / 158 * (max P state - Min P State) [all …]
|
/linux/lib/crypto/ |
H A D | aesgcm.c | 1 // SPDX-License-Identifier: GPL-2.0 21 * In AES-GCM, both the GHASH key derivation and the CTR mode in aesgcm_encrypt_block() 24 * mitigates this risk to some extent by pulling the entire S-box into in aesgcm_encrypt_block() 26 * effective when running with interrupts disabled. in aesgcm_encrypt_block() 34 * aesgcm_expandkey - Expands the AES and GHASH keys for the AES-GCM key 37 * @ctx: The data structure that will hold the AES-GCM key schedule 42 * Returns: 0 on success, or -EINVAL if @keysize or @authsize contain values 52 aes_expandkey(&ctx->aes_ctx, key, keysize); in aesgcm_expandkey() 56 ctx->authsize = authsize; in aesgcm_expandkey() 57 aesgcm_encrypt_block(&ctx->aes_ctx, &ctx->ghash_key, kin); in aesgcm_expandkey() [all …]
|
/linux/Documentation/filesystems/ |
H A D | fscrypt.rst | 2 Filesystem-level encryption (fscrypt) 11 Note: "fscrypt" in this document refers to the kernel-level portion, 14 covers the kernel-level portion. For command-line examples of how to 20 <https://source.android.com/security/encryption/file-based>`_, over 25 Unlike dm-crypt, fscrypt operates at the filesystem level rather than 28 filesystem. This is useful for multi-user systems where each user's 29 data-at-rest needs to be cryptographically isolated from the others. 34 directly into supported filesystems --- currently ext4, F2FS, UBIFS, 44 fscrypt does not support encrypting files in-place. Instead, it 54 --------------- [all …]
|