Home
last modified time | relevance | path

Searched +full:non +full:- +full:exclusive (Results 1 – 25 of 532) sorted by relevance

12345678910>>...22

/linux/Documentation/filesystems/
H A Ddirectory-locking.rst7 kinds of locks - per-inode (->i_rwsem) and per-filesystem
8 (->s_vfs_rename_mutex).
10 When taking the i_rwsem on multiple non-directory objects, we
26 * lock the directory we are accessing (exclusive)
30 * lock the parent (exclusive)
32 * lock the victim (exclusive)
36 * lock the parent (exclusive)
38 * lock the source (exclusive; probably could be weakened to shared)
40 5. rename that is _not_ cross-directory. Locking rules:
42 * lock the parent (exclusive)
[all …]
H A Dgfs2-glocks.rst1 .. SPDX-License-Identifier: GPL-2.0
13 2. A non-blocking bit lock, GLF_LOCK, which is used to prevent other
26 namely shared (SH), deferred (DF) and exclusive (EX). Those translate
35 EX EX (Exclusive)
118 5. Transaction glock (via gfs2_trans_begin) for non-read operations
126 is on a per-inode basis. Locking of rgrps is on a per rgrp basis.
130 ----------------
143 The per-glock counters are initialised to zero when the
144 glock is created. The per-glock statistics are lost when
152 Volume 1", W. Richard Stevens, sect 21.3, "Round-Trip Time Measurement",
[all …]
/linux/tools/testing/selftests/net/
H A Dipv6_flowlabel_mgr.c1 // SPDX-License-Identifier: GPL-2.0
79 explain("cannot get non-existent label"); in run_tests()
82 explain("cannot put non-existent label"); in run_tests()
95 explain("cannot get it again with the exclusive (FL_FL_EXCL) flag"); in run_tests()
104 explain("create a new exclusive label (FL_S_EXCL)"); in run_tests()
106 explain("cannot get it again in non-exclusive mode"); in run_tests()
108 explain("cannot get it again in exclusive mode either"); in run_tests()
122 explain("create a new user-private label (FL_S_USER)"); in run_tests()
124 explain("cannot get it again in non-exclusive mode"); in run_tests()
126 explain("cannot get it again in exclusive mode"); in run_tests()
[all …]
/linux/kernel/sched/
H A Dwait.c1 // SPDX-License-Identifier: GPL-2.0-only
10 spin_lock_init(&wq_head->lock); in __init_waitqueue_head()
11 lockdep_set_class_and_name(&wq_head->lock, key, name); in __init_waitqueue_head()
12 INIT_LIST_HEAD(&wq_head->head); in __init_waitqueue_head()
21 wq_entry->flags &= ~WQ_FLAG_EXCLUSIVE; in add_wait_queue()
22 spin_lock_irqsave(&wq_head->lock, flags); in add_wait_queue()
24 spin_unlock_irqrestore(&wq_head->lock, flags); in add_wait_queue()
32 wq_entry->flags |= WQ_FLAG_EXCLUSIVE; in add_wait_queue_exclusive()
33 spin_lock_irqsave(&wq_head->lock, flags); in add_wait_queue_exclusive()
35 spin_unlock_irqrestore(&wq_head->lock, flags); in add_wait_queue_exclusive()
[all …]
/linux/Documentation/admin-guide/
H A Dcgroup-v2.rst1 .. _cgroup-v2:
11 conventions of cgroup v2. It describes all userland-visible aspects
14 v1 is available under :ref:`Documentation/admin-guide/cgroup-v1/index.rst <cgroup-v1>`.
19 1-1. Terminology
20 1-2. What is cgroup?
22 2-1. Mounting
23 2-2. Organizing Processes and Threads
24 2-2-1. Processes
25 2-2-2. Threads
26 2-3. [Un]populated Notification
[all …]
/linux/Documentation/locking/
H A Dlockdep-design.rst8 Lock-class
9 ----------
19 The validator tracks the 'usage state' of lock-classes, and it tracks
20 the dependencies between different lock-classes. Lock usage indicates
22 dependency can be understood as lock order, where L1 -> L2 suggests that
29 A lock-class's behavior is constructed by its instances collectively:
30 when the first instance of a lock-class is used after bootup the class
33 the class. A lock-class does not go away when a lock instance does, but
39 -----
41 The validator tracks lock-class usage history and divides the usage into
[all …]
H A Dspinlocks.rst20 there is only one thread-of-control within the region(s) protected by that
26 Documentation/memory-barriers.txt
33 spinlock for most things - using more than one spinlock can make things a
45 NOTE! The spin-lock is safe only when you **also** use the lock itself
50 ----
52 Lesson 2: reader-writer spinlocks.
56 to mostly read from the shared variables, the reader-writer locks
59 to change the variables it has to get an exclusive write lock.
61 NOTE! reader-writer locks require more atomic memory operations than
76 .. read and write exclusive access to the info ...
[all …]
/linux/include/linux/
H A Du64_stats_sync.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 * Protect against 64-bit values tearing on 32-bit architectures. This is
11 * - Use a seqcount on 32-bit
12 * - The whole thing is a no-op on 64-bit architectures.
36 * an exclusive access to counters (a lock is already taken, or per cpu
37 * data is used [in a non preemptable context])
39 * spin_lock_bh(...) or other synchronization to get exclusive access
41 * u64_stats_update_begin(&stats->syncp);
42 * u64_stats_add(&stats->bytes64, len); // non atomic operation
43 * u64_stats_inc(&stats->packets64); // non atomic operation
[all …]
/linux/Documentation/devicetree/bindings/i2c/
H A Di2c-gpio.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Wolfram Sang <wsa@kernel.org>
13 - $ref: /schemas/i2c/i2c-controller.yaml#
18 - const: i2c-gpio
20 sda-gpios:
24 from <dt-bindings/gpio/gpio.h> since the signal is by definition
28 scl-gpios:
[all …]
/linux/Documentation/arch/powerpc/
H A Dpmu-ebb.rst10 https://www.power.org/documentation/power-isa-version-2-07/
18 -----------
27 ----------
30 EBBs can only sensibly be used by programs for self-monitoring.
44 user process. This means once an EBB event is scheduled on the PMU, no non-EBB
53 existing "pinned" and "exclusive" attributes of perf_events. This means EBB
61 ---------------------
67 attributes - this is so that they interoperate correctly with the rest of the
70 An EBB event must be created with the "pinned" and "exclusive" attributes set.
88 ---------------------
[all …]
/linux/tools/perf/tests/
H A Dbuiltin-test.c1 // SPDX-License-Identifier: GPL-2.0
3 * builtin-test.c
25 #include <subcmd/parse-options.h>
26 #include <subcmd/run-command.h>
33 #include <subcmd/exec-cmd.h>
36 #include "tests-scripts.h"
155 for (idx = 0; (suite)->test_cases && (suite)->test_cases[idx].name != NULL; idx++)
168 if (!t->test_cases) in skip_reason()
171 return t->test_cases[test_case >= 0 ? test_case : 0].skip_reason; in skip_reason()
176 if (t->test_cases && test_case >= 0) in test_description()
[all …]
/linux/kernel/cgroup/
H A Dcpuset.c7 * 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 "cgroup-internal.h"
25 #include "cpuset-internal.h"
50 * node binding, add this key to provide a quick low-cost judgment
56 [PERR_INVCPUS] = "Invalid cpu list in cpuset.cpus.exclusive",
59 [PERR_NOTEXCL] = "Cpu list in cpuset.cpus not exclusive",
[all …]
/linux/Documentation/userspace-api/media/cec/
H A Dcec-ioc-receive.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
14 CEC_RECEIVE, CEC_TRANSMIT - Receive or transmit a CEC message
42 If the file descriptor is in non-blocking mode and there are no received
43 messages pending, then it will return -1 and set errno to the ``EAGAIN``
45 is non-zero and no message arrived within ``timeout`` milliseconds, then
46 it will return -1 and set errno to the ``ETIMEDOUT`` error code.
51 be 0, ``tx_status`` will be 0 and ``rx_status`` will be non-zero).
52 2. the transmit result of an earlier non-blocking transmit (the ``sequence``
53 field will be non-zero, ``tx_status`` will be non-zero and ``rx_status``
55 3. the reply to an earlier non-blocking transmit (the ``sequence`` field will
[all …]
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pko.h7 * Copyright (c) 2003-2008 Cavium Networks
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
44 * - PKO indexes are no longer stored in the FAU. A large
48 * - The PKO <b>use_locking</b> parameter can now have a global
52 * - PKO 3 word commands are now supported. Use
60 #include <asm/octeon/cvmx-fpa.h>
61 #include <asm/octeon/cvmx-pow.h>
62 #include <asm/octeon/cvmx-cmd-queue.h>
63 #include <asm/octeon/cvmx-pko-defs.h>
[all …]
/linux/tools/perf/pmu-events/arch/x86/icelakex/
H A Dother.json3 … where the core was running in a manner where Turbo may be clipped to the Non-AVX turbo schedule.",
7 …s running with power-delivery for baseline license level 0. This includes non-AVX codes, SSE, AVX…
16 … running with power-delivery for license level 1. This includes high current AVX 256-bit instruct…
25 …running with power-delivery for license level 2 (introduced in Skylake Server microarchitecture). …
34 …tor and indicating the data was found unmodified in the (FE) Forward or Exclusive State in this co…
52 …ing forwarded back to the requestor. The line was in Forward, Shared or Exclusive (FSE) state in t…
88 …y the data was found in the cache in the (FSE) Forward, Shared state or Exclusive state. A single…
123 … on a distant memory controller of this socket when the system is in SNC (sub-NUMA cluster) mode.",
203 … on a distant memory controller of this socket when the system is in SNC (sub-NUMA cluster) mode.",
213 … on a distant memory controller of this socket when the system is in SNC (sub-NUMA cluster) mode.",
[all …]
/linux/Documentation/firmware-guide/acpi/
H A Dgpio-properties.rst1 .. SPDX-License-Identifier: GPL-2.0
23 GpioIo (Exclusive, PullUp, 0, 0, IoRestrictionOutputOnly,
25 GpioIo (Exclusive, PullUp, 0, 0, IoRestrictionOutputOnly,
31 ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
34 Package () { "reset-gpios", Package () { ^BTH, 1, 1, 0 } },
35 Package () { "shutdown-gpios", Package () { ^BTH, 0, 0, 0 } },
61 In our Bluetooth example the "reset-gpios" refers to the second GpioIo()
70 +-------------+-------------+-----------------------------------------------+
74 +-------------+-------------+-----------------------------------------------+
76 +-------------+-------------+-----------------------------------------------+
[all …]
/linux/tools/perf/pmu-events/arch/x86/snowridgex/
H A Dcache.json24 … The XQ may reject transactions from the L2Q (non-cacheable requests), BBL (L2 misses) and WOB (L…
81 …talled due to an instruction cache or TLB miss which hit in the L2, LLC, DRAM or MMIO (Non-DRAM).",
85 …che or translation lookaside buffer (TLB) miss which hit in the L2, LLC, DRAM or MMIO (Non-DRAM).",
90 …the core is stalled due to an instruction cache or TLB miss which hit in DRAM or MMIO (Non-DRAM).",
94 …nstruction cache or translation lookaside buffer (TLB) miss which hit in DRAM or MMIO (non-DRAM).",
117 … the core is stalled due to a demand load miss which hit in the L2, LLC, DRAM or MMIO (Non-DRAM).",
125 …ber of cycles the core is stalled due to a demand load miss which hit in DRAM or MMIO (Non-DRAM).",
331 … were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was fo…
401 … were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was fo…
461 … were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was fo…
[all …]
/linux/tools/perf/pmu-events/arch/x86/elkhartlake/
H A Dcache.json24 … The XQ may reject transactions from the L2Q (non-cacheable requests), BBL (L2 misses) and WOB (L…
81 …talled due to an instruction cache or TLB miss which hit in the L2, LLC, DRAM or MMIO (Non-DRAM).",
85 …che or translation lookaside buffer (TLB) miss which hit in the L2, LLC, DRAM or MMIO (Non-DRAM).",
90 …the core is stalled due to an instruction cache or TLB miss which hit in DRAM or MMIO (Non-DRAM).",
94 …nstruction cache or translation lookaside buffer (TLB) miss which hit in DRAM or MMIO (non-DRAM).",
117 … the core is stalled due to a demand load miss which hit in the L2, LLC, DRAM or MMIO (Non-DRAM).",
125 …ber of cycles the core is stalled due to a demand load miss which hit in DRAM or MMIO (Non-DRAM).",
331 … were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was fo…
401 … were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was fo…
461 … were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was fo…
[all …]
/linux/sound/arm/
H A Dpxa2xx-ac97-regs.h1 /* SPDX-License-Identifier: GPL-2.0 */
25 #define GCR_nDMAEN (1 << 24) /* non DMA Enable */
32 #define GCR_ACLINK_OFF (1 << 3) /* AC-link Shut Off */
43 #define PISR_EOC (1 << 3) /* DMA End-of-Chain (exclusive clear) */
48 #define MCSR_EOC (1 << 3) /* DMA End-of-Chain (exclusive clear) */
65 #define GSR_ACOFFD (1 << 3) /* AC-link Shut Off Done */
74 #define MCDR (0x0060) /* Mic-in FIFO Data Register */
90 #define MISR_EOC (1 << 3) /* DMA End-of-Chain (exclusive clear) */
/linux/Documentation/driver-api/
H A Dreset.rst1 .. SPDX-License-Identifier: GPL-2.0-only
13 the `consumer driver interface <#consumer-driver-interface>`__ (`API reference
14 <#reset-consumer-api>`__), which allows peripheral drivers to request control
16 <#reset-controller-driver-interface>`__ (`API reference
17 <#reset-controller-driver-api>`__), which is used by drivers for reset
25 --------
39 is self-clearing and can be used to trigger a predetermined pulse on the
70 Shared and exclusive resets
71 ---------------------------
74 assertion or direct, exclusive control.
[all …]
/linux/tools/perf/pmu-events/arch/x86/rocketlake/
H A Dother.json3 … where the core was running in a manner where Turbo may be clipped to the Non-AVX turbo schedule.",
7 …s running with power-delivery for baseline license level 0. This includes non-AVX codes, SSE, AVX…
16 … running with power-delivery for license level 1. This includes high current AVX 256-bit instruct…
25 …running with power-delivery for license level 2 (introduced in Skylake Server microarchitecture). …
90 …s demand reads for ownership (RFO) requests and software prefetches for exclusive ownership (PREFE…
100 …s demand reads for ownership (RFO) requests and software prefetches for exclusive ownership (PREFE…
110 …s demand reads for ownership (RFO) requests and software prefetches for exclusive ownership (PREFE…
210 …"BriefDescription": "Counts miscellaneous requests, such as I/O and un-cacheable accesses that hav…
220 …"BriefDescription": "Counts miscellaneous requests, such as I/O and un-cacheable accesses that DRA…
230 …"BriefDescription": "Counts miscellaneous requests, such as I/O and un-cacheable accesses that DRA…
/linux/tools/perf/pmu-events/arch/x86/icelake/
H A Dother.json3 … where the core was running in a manner where Turbo may be clipped to the Non-AVX turbo schedule.",
7 …s running with power-delivery for baseline license level 0. This includes non-AVX codes, SSE, AVX…
16 … running with power-delivery for license level 1. This includes high current AVX 256-bit instruct…
25 …running with power-delivery for license level 2 (introduced in Skylake Server microarchitecture). …
90 …s demand reads for ownership (RFO) requests and software prefetches for exclusive ownership (PREFE…
100 …s demand reads for ownership (RFO) requests and software prefetches for exclusive ownership (PREFE…
110 …s demand reads for ownership (RFO) requests and software prefetches for exclusive ownership (PREFE…
210 …"BriefDescription": "Counts miscellaneous requests, such as I/O and un-cacheable accesses that hav…
220 …"BriefDescription": "Counts miscellaneous requests, such as I/O and un-cacheable accesses that DRA…
230 …"BriefDescription": "Counts miscellaneous requests, such as I/O and un-cacheable accesses that DRA…
/linux/Documentation/devicetree/bindings/cache/
H A Dandestech,ax45mp-cache.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/cache/andestech,ax45mp-cache.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
14 A level-2 cache (L2C) is used to improve the system performance by providing
16 is shared between cores, and a non-inclusive non-exclusive policy is used.
23 - andestech,ax45mp-cache
26 - compatible
31 - const: andestech,ax45mp-cache
[all …]
/linux/LICENSES/dual/
H A DApache-2.01 Valid-License-Identifier: Apache-2.0
2 SPDX-URL: https://spdx.org/licenses/Apache-2.0.html
3 Usage-Guide:
4 Do NOT use. The Apache-2.0 is not GPL2 compatible. It may only be used
5 for dual-licensed files where the other license is GPL2 compatible.
11 SPDX-License-Identifier: Apache-2.0
12 License-Text:
82 non-exclusive, no-charge, royalty-free, irrevocable copyright license to
89 non-exclusive, no-charge, royalty-free, irrevocable (except as stated in
96 against any entity (including a cross-claim or counterclaim in a
[all …]
/linux/fs/ext4/
H A Dfile.c1 // SPDX-License-Identifier: GPL-2.0
7 * Laboratoire MASI - Institut Blaise Pascal
18 * 64-bit file support on 64-bit platforms by Jakub Jelinek
32 #include <linux/backing-dev.h>
57 struct inode *inode = file_inode(iocb->ki_filp); in ext4_should_use_dio()
66 return IS_ALIGNED(iocb->ki_pos | iov_iter_alignment(iter), dio_align); in ext4_should_use_dio()
72 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dio_read_iter()
74 if (iocb->ki_flags & IOCB_NOWAIT) { in ext4_dio_read_iter()
76 return -EAGAIN; in ext4_dio_read_iter()
90 iocb->ki_flags &= ~IOCB_DIRECT; in ext4_dio_read_iter()
[all …]

12345678910>>...22