Home
last modified time | relevance | path

Searched +full:de +full:- +full:serialized (Results 1 – 25 of 37) sorted by relevance

12

/linux/include/linux/
H A Dplist.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Descending-priority-sorted double-linked list
5 * (C) 2002-2003 Intel Corp
6 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>.
8 * 2001-2005 (c) MontaVista Software, Inc.
11 * (C) 2005 Thomas Gleixner <tglx@linutronix.de>
14 * Oleg Nesterov <oleg@tv-sign.ru>
18 * This is a priority-sorted list of nodes; each node has a
27 * - The tier 1 list is the prio_list, different priority nodes.
29 * - The tier 2 list is the node_list, serialized nodes.
[all …]
H A Dsched.h1 /* SPDX-License-Identifier: GPL-2.0 */
42 #include <linux/posix-timers_types.h>
49 #include <linux/tracepoint-defs.h>
94 * We have two separate sets of flags: task->__state
95 * is about runnability, while task->exit_state are
101 /* Used in tsk->__state: */
107 /* Used in tsk->exit_state: */
111 /* Used in tsk->__state again: */
124 #define TASK_ANY (TASK_STATE_MAX-1)
147 #define task_is_running(task) (READ_ONCE((task)->__state) == TASK_RUNNING)
[all …]
H A Dinterrupt.h1 /* SPDX-License-Identifier: GPL-2.0 */
44 * IRQF_SHARED - allow sharing the irq among several devices
45 * IRQF_PROBE_SHARED - set by callers when they expect sharing mismatches to occur
46 * IRQF_TIMER - Flag to mark this interrupt as timer interrupt
47 * IRQF_PERCPU - Interrupt is per cpu
48 * IRQF_NOBALANCING - Flag to exclude this interrupt from irq balancing
49 * IRQF_IRQPOLL - Interrupt is used for polling (only the interrupt that is
52 * IRQF_ONESHOT - Interrupt is not reenabled after the hardirq handler finished.
55 * IRQF_NO_SUSPEND - Do not disable this IRQ during suspend. Does not guarantee
57 * state. See Documentation/power/suspend-and-interrupts.rst
[all …]
H A Dperf_event.h4 * Copyright (C) 2008-2009, Thomas Gleixner <tglx@linutronix.de>
5 * Copyright (C) 2008-2011, Red Hat, Inc., Ingo Molnar
6 * Copyright (C) 2008-2011, Red Hat, Inc., Peter Zijlstra
12 * For licencing details see kernel-base/COPYING
21 * Kernel-internal data types and definitions:
30 # include <linux/rhashtable-types.h>
92 return frag->pad < sizeof(u64); in perf_raw_frag_last()
100 * -1ULL means invalid/unknown.
110 * The hw_idx index is between -1 (unknown) and max depth,
130 int idx; /* index in shared_regs->regs[] */
[all …]
/linux/arch/s390/appldata/
H A Dappldata_mem.c1 // SPDX-License-Identifier: GPL-2.0
3 * Data gathering module for Linux-VM Monitor Stream, Stage 1.
8 * Author: Gerald Schaefer <gerald.schaefer@de.ibm.com>
23 #define P2K(x) ((x) << (PAGE_SHIFT - 10)) /* Converts #Pages to KB */
58 // New in 2.6 -->
62 // <-- New in 2.6
76 * serialized through the appldata_ops_mutex and can use static in appldata_get_mem_data()
83 mem_data->sync_count_1++; in appldata_get_mem_data()
86 mem_data->pgpgin = ev[PGPGIN] >> 1; in appldata_get_mem_data()
87 mem_data->pgpgout = ev[PGPGOUT] >> 1; in appldata_get_mem_data()
[all …]
/linux/Documentation/core-api/
H A Dcpu_hotplug.rst6 :Author: Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
11 Thomas Gleixner <tglx@linutronix.de>
26 A more novel use of CPU-hotplug support is its use today in suspend resume
27 support for SMP. Dual-core and HT support makes even a laptop run SMP kernels
75 from the map depending on the event is hot-add/hot-remove. There are currently
80 be read-only for most use. When setting up per-cpu resources almost always use
94 $ ls -lh /sys/devices/system/cpu
96 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu0
97 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu1
98 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu2
[all …]
/linux/lib/reed_solomon/
H A Dreed_solomon.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2004 Thomas Gleixner (tglx@linutronix.de)
58 * codec_init - Initialize a Reed-Solomon codec
59 * @symsize: symbol size, bits (1-8)
80 INIT_LIST_HEAD(&rs->list); in codec_init()
82 rs->mm = symsize; in codec_init()
83 rs->nn = (1 << symsize) - 1; in codec_init()
84 rs->fcr = fcr; in codec_init()
85 rs->prim = prim; in codec_init()
86 rs->nroots = nroots; in codec_init()
[all …]
/linux/kernel/
H A Dasync.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Author: Arjan van de Ven <arjan@linux.intel.com>
16 decoupled and not strictly serialized.
21 have their externally visible parts happen sequentially and in-order.
22 (not unlike how out-of-order CPUs retire their instructions in order)
98 if (!list_empty(&domain->pending)) in lowest_in_progress()
99 first = list_first_entry(&domain->pending, in lowest_in_progress()
108 ret = first->cookie; in lowest_in_progress()
125 pr_debug("calling %lli_%pS @ %i\n", (long long)entry->cookie, in async_run_entry_fn()
126 entry->func, task_pid_nr(current)); in async_run_entry_fn()
[all …]
/linux/Documentation/scheduler/
H A Dcompletion.rst2 Completions - "wait for completion" barrier APIs
6 -------------
10 race-free solution to this problem. Semantically they are somewhat like a
11 pthread_barrier() and have similar use-cases.
14 misuse of locks/semaphores and busy-loops. Any time you think of using
34 ------
38 - the initialization of the 'struct completion' synchronization object
39 - the waiting part through a call to one of the variants of wait_for_completion(),
40 - the signaling side through a call to complete() or complete_all().
57 This provides the ->wait waitqueue to place tasks on for waiting (if any), and
[all …]
/linux/Documentation/virt/kvm/x86/
H A Dtimekeeping.rst1 .. SPDX-License-Identifier: GPL-2.0
4 Timekeeping Virtualization for X86-Based Architectures
32 information relevant to KVM and hardware-based virtualization.
41 2.1. i8254 - PIT
42 ----------------
46 channels which can be programmed to deliver periodic or one-shot interrupts.
53 The PIT uses I/O ports 0x40 - 0x43. Access to the 16-bit counters is done
59 -------------- ----------------
61 | 1.1932 MHz|---------->| CLOCK OUT | ---------> IRQ 0
63 -------------- | +->| GATE TIMER 0 |
[all …]
/linux/net/netfilter/ipset/
H A Dip_set_core.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu>
3 * Patrick Schaaf <bof@bof.de>
4 * Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@netfilter.org>
57 rcu_dereference_protected((inst)->ip_set_list, \
60 (inst)->is_deleted)
64 rcu_dereference_raw((inst)->ip_set_list)[id]
70 * serialized by ip_set_type_mutex.
94 if (STRNCMP(type->name, name) && in find_set_type()
95 (type->family == family || in find_set_type()
[all …]
/linux/arch/x86/kernel/cpu/microcode/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2000-2006 Tigran Aivazian <aivazian.tigran@gmail.com>
7 * 2013-2016 Borislav Petkov <bp@alien8.de>
13 * (C) 2015 Borislav Petkov <bp@alien8.de>
54 * All non cpu-hotplug-callback call sites use:
56 * - cpus_read_lock/unlock() to synchronize with
57 * the cpu-hotplug-callback call sites.
71 0, /* T-101 terminator */
80 * - true: if update should stop
81 * - false: otherwise
[all …]
/linux/arch/x86/kernel/
H A Dsmpboot.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 * Pentium Pro and Pentium-II/Xeon MP machines.
19 * Alan Cox : By repeated request 8) - Total BogoMIPS report.
32 * Martin J. Bligh : Added support for multi-quad systems
86 #include <asm/intel-family.h>
88 #include <asm/spec-ctrl.h>
92 #include <asm/spec-ctrl.h>
164 if (!--smpboot_warm_reset_vector_count) { in smpboot_restore_warm_reset_vector()
242 * 32-bit specific. 64-bit reaches this code with the correct page in start_secondary()
255 * point below so it is not part of the full per CPU serialized in start_secondary()
[all …]
/linux/drivers/i2c/busses/
H A Di2c-mlxbf.c1 // SPDX-License-Identifier: GPL-2.0
59 * memory-mapped region whose addresses are specified in either the DT or
69 /* Reference clock for Bluefield - 156 MHz. */
151 * SMBUS GW0 -> bits[26:25]
152 * SMBUS GW1 -> bits[28:27]
153 * SMBUS GW2 -> bits[30:29]
248 #define MLXBF_I2C_MASTER_DATA_W_LENGTH (MLXBF_I2C_MASTER_DATA_DESC_SIZE - 1)
324 .end = (addr) + (size) - 1, \
347 MLXBF_I2C_CHIP_TYPE_1, /* Mellanox BlueField-1 chip. */
348 MLXBF_I2C_CHIP_TYPE_2, /* Mellanox BlueField-2 chip. */
[all …]
H A Di2c-i801.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 Copyright (c) 1998 - 2002 Frodo Looijaard <frodol@dds.nl>,
6 Copyright (C) 2007 - 2014 Jean Delvare <jdelvare@suse.de>
18 * ---------------------------------------------------------------------------
43 * Lynx Point-LP (PCH) 0x9c22 32 hard yes yes yes
51 * Wildcat Point-LP (PCH) 0x9ca2 32 hard yes yes yes
54 * Sunrise Point-H (PCH) 0xa123 32 hard yes yes yes
55 * Sunrise Point-LP (PCH) 0x9d23 32 hard yes yes yes
61 * Kaby Lake PCH-H (PCH) 0xa2a3 32 hard yes yes yes
63 * Cannon Lake-H (PCH) 0xa323 32 hard yes yes yes
[all …]
/linux/drivers/s390/cio/
H A Dchsc.c1 // SPDX-License-Identifier: GPL-2.0
3 * S/390 common I/O routines -- channel subsystem call
6 * Author(s): Ingo Adlung (adlung@de.ibm.com)
7 * Cornelia Huck (cornelia.huck@de.ibm.com)
8 * Arnd Bergmann (arndb@de.ibm.com)
58 * chsc_error_from_response() - convert a chsc response to an error
75 return -EINVAL; in chsc_error_from_response()
78 return -EOPNOTSUPP; in chsc_error_from_response()
81 return -EBUSY; in chsc_error_from_response()
84 return -ENOMEM; in chsc_error_from_response()
[all …]
/linux/fs/
H A Ddcache.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * (C) 1997 Thomas Schoebel-Theuer,
13 * The dcache is a master of the icache - whenever a dcache entry
38 #include <asm/runtime-const.h>
42 * dcache->d_inode->i_lock protects:
43 * - i_dentry, d_u.d_alias, d_inode of aliases
45 * - the dcache hash table
47 * - the s_roots list (see __d_drop)
48 * dentry->d_sb->s_dentry_lru_lock protects:
49 * - the dcache lru lists and counters
[all …]
/linux/kernel/locking/
H A Dmutex.c1 // SPDX-License-Identifier: GPL-2.0-only
11 * Many thanks to Arjan van de Ven, Thomas Gleixner, Steven Rostedt and
14 * - Adaptive spinning for mutexes by Peter Zijlstra. (Ported to mainline
15 * from the -rt tree, where it was originally implemented for rtmutexes
19 * Also see Documentation/locking/mutex-design.rst.
49 atomic_long_set(&lock->owner, 0); in __mutex_init()
50 raw_spin_lock_init(&lock->wait_lock); in __mutex_init()
51 INIT_LIST_HEAD(&lock->wait_list); in __mutex_init()
53 osq_lock_init(&lock->osq); in __mutex_init()
79 unsigned long owner = atomic_long_read(&lock->owner); in mutex_get_owner()
[all …]
/linux/drivers/pci/controller/
H A Dvmd.c1 // SPDX-License-Identifier: GPL-2.0
10 #include <linux/irqchip/irq-msi-lib.h>
15 #include <linux/pci-acpi.h>
16 #include <linux/pci-ecam.h>
56 * vendor-specific capability space
61 * Device may use MSI-X vector 0 for software triggering and will not
67 * Device can bypass remapping MSI-X transactions into its MSI-X table,
97 * struct vmd_irq - private data to map driver IRQ to the VMD shared vector
103 * Every MSI/MSI-X IRQ requested for a device in a VMD domain will be mapped to
114 * struct vmd_irq_list - list of driver requested IRQs mapping to a VMD vector
[all …]
/linux/drivers/hwtracing/stm/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0
43 ret = sprintf(buf, "%u %u\n", stm->data->sw_start, stm->data->sw_end); in masters_show()
57 ret = sprintf(buf, "%u\n", stm->data->sw_nchannels); in channels_show()
71 ret = sprintf(buf, "%u\n", stm->data->hw_override); in hw_override_show()
93 * stm_find_device() - find stm device by name
117 if (!try_module_get(stm->owner)) { in stm_find_device()
127 * stm_put_device() - drop references on the stm device
135 module_put(stm->owner); in stm_put_device()
136 put_device(&stm->dev); in stm_put_device()
140 * Internally we only care about software-writable masters here, that is the
[all …]
/linux/drivers/s390/crypto/
H A Dzcrypt_api.c1 // SPDX-License-Identifier: GPL-2.0+
6 * Cornelia Huck <cornelia.huck@de.ibm.com>
8 * Hotplug & misc device support: Jochen Roehrig (roehrig@de.ibm.com)
9 * Major cleanup & driver split: Martin Schwidefsky <schwidefsky@de.ibm.com>
10 * Ralph Wuerthner <rwuerthn@de.ibm.com>
89 list_add_tail(&zops->list, &zcrypt_ops_list); in zcrypt_msgtype_register()
94 list_del_init(&zops->list); in zcrypt_msgtype_unregister()
102 if (zops->variant == variant && in zcrypt_msgtype()
103 (!strncmp(zops->name, name, sizeof(zops->name)))) in zcrypt_msgtype()
167 return -ERESTARTSYS; in ioctlmask_show()
[all …]
/linux/kernel/sched/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Copyright (C) 1991-2002 Linus Torvalds
8 * Copyright (C) 1998-2024 Ingo Molnar, Red Hat
73 # include <linux/irq-entry-common.h>
97 #include "../../io_uring/io-wq.h"
191 if (p->sched_class == &stop_sched_class) /* trumps deadline */ in __task_prio()
192 return -2; in __task_prio()
194 if (p->dl_server) in __task_prio()
195 return -1; /* deadline */ in __task_prio()
197 if (rt_or_dl_prio(p->prio)) in __task_prio()
[all …]
H A Dsched.h1 /* SPDX-License-Identifier: GPL-2.0 */
125 #define cpu_capacity_span(asym_data) to_cpumask((asym_data)->cpus)
133 * Increase resolution of nice-level calculations for 64-bit architectures.
135 * low-weight task groups (eg. nice +19 on an autogroup), deeper task-group
136 * hierarchies, especially on larger systems. This is not a user-visible change
137 * and does not change the user-interfac
[all...]
/linux/arch/m68k/kernel/
H A Dhead.S1 /* SPDX-License-Identifier: GPL-2.0-or-later
2 ** -*- mode: asm -*-
4 ** head.S -- This file contains the initial boot code for the
14 ** Atari support by Andreas Schwab, using ideas of Robert de Vries
20 ** ++ Bjoern & Roman: ATARI-68040 support for the Medusa
23 ** Magnum- and FX-alternate ram
26 ** for linux-2.1.115
28 ** 2004/05/13 Kars de Jong: Finalised HP300 support
49 * 1) Remove register dependency through-out the file.
57 * write-ups on the structure of the file, and the features of the
[all …]
/linux/kernel/time/
H A Dhrtimer.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright(C) 2005-2006, Thomas Gleixner <tglx@linutronix.de>
4 * Copyright(C) 2005-2007, Red Hat, Inc., Ingo Molnar
5 * Copyright(C) 2006-2007 Timesys Corp., Thomas Gleixner
7 * High-resolution kernel timers
9 * In contrast to the low-resolution timeout API, aka timer wheel,
50 #include "tick-internal.h"
54 * cpu_base->active
57 #define HRTIMER_ACTIVE_HARD ((1U << MASK_SHIFT) - 1)
125 return likely(base->online); in hrtimer_base_is_online()
[all …]

12