Home
last modified time | relevance | path

Searched +full:i +full:- +full:leak +full:- +full:current (Results 1 – 25 of 176) sorted by relevance

12345678

/linux/Documentation/devicetree/bindings/power/
H A Dpower_domain.txt5 current.
12 #power-domain-cells property in the PM domain provider node.
16 See power-domain.yaml.
21 - power-domains : A list of PM domain specifiers, as defined by bindings of
25 - power-domain-names : A list of power domain name strings sorted in the same
26 order as the power-domains property. Consumers drivers will use
27 power-domain-names to match power domains with power-domains
32 leaky-device@12350000 {
33 compatible = "foo,i-leak-current";
35 power-domains = <&power 0>;
[all …]
H A Dqcom,rpmpd.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bjorn Andersson <andersson@kernel.org>
19 - enum:
20 - qcom,glymur-rpmhpd
21 - qcom,mdm9607-rpmpd
22 - qcom,milos-rpmhpd
23 - qcom,msm8226-rpmpd
24 - qcom,msm8909-rpmpd
[all …]
/linux/tools/testing/selftests/powerpc/tm/
H A Dtm-poison.c1 // SPDX-License-Identifier: GPL-2.0-only
11 * present child's poison will leak into parent's f31 or vr31 registers,
12 * otherwise, poison will never leak into parent's f31 and vr31 registers.
74 * The Time Base (TB) is a 64-bit counter register that is in tm_poison_test()
81 * to r6. When r7 (current) - r6 (initial) > 61440000000 we bail in tm_poison_test()
90 "1: mfspr 7, 268 ;" // r7 (TB current) in tm_poison_test()
91 " subf 7, 6, 7 ;" // r7 - r6 > 61440000000 ? in tm_poison_test()
102 " bne 2f ;" // broken :-( in tm_poison_test()
114 * On leak 'unknown' will contain 'poison' value from child, in tm_poison_test()
115 * otherwise (no leak) 'unknown' will contain the same value in tm_poison_test()
[all …]
/linux/fs/ocfs2/
H A Dbuffer_head_io.c1 // SPDX-License-Identifier: GPL-2.0-or-later
27 * Bits on bh->b_state used by ocfs2.
43 trace_ocfs2_write_block((unsigned long long)bh->b_blocknr, ci); in ocfs2_write_block()
45 BUG_ON(bh->b_blocknr < OCFS2_SUPER_BLOCK_BLKNO); in ocfs2_write_block()
50 * can get modified during recovery even if read-only. */ in ocfs2_write_block()
52 ret = -EROFS; in ocfs2_write_block()
62 /* remove from dirty list before I/O. */ in ocfs2_write_block()
66 bh->b_end_io = end_buffer_write_sync; in ocfs2_write_block()
77 ret = -EIO; in ocfs2_write_block()
86 /* Caller must provide a bhs[] with all NULL or non-NULL entries, so it
[all …]
/linux/drivers/of/
H A Dunittest.c1 // SPDX-License-Identifier: GPL-2.0
6 #define pr_fmt(fmt) "### dt-test ### " fmt
10 #include <linux/dma-direct.h> /* to test phys_to_dma/dma_to_phys */
29 #include <linux/i2c-mux.h>
45 pr_err("FAIL %s():%i " fmt, __func__, __LINE__, ##__VA_ARGS__); \
48 pr_info("pass %s():%i\n", __func__, __LINE__); \
54 #define OF_KREF_READ(NODE) kref_read(&(NODE)->kobj.kref)
61 * Print the expected message only if the current loglevel will allow
85 np = of_find_node_by_path("/testcase-data"); in of_unittest_find_node_by_name()
87 unittest(np && name && !strcmp("/testcase-data", name), in of_unittest_find_node_by_name()
[all …]
/linux/mm/
H A Dkmemleak.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * Documentation/dev-tools/kmemleak.rst.
12 * ----------------
16 * - kmemleak_lock (raw_spinlock_t): protects the object_list as well as
21 * red black trees used to look-up metadata based on a pointer to the
26 * - kmemleak_object.lock (raw_spinlock_t): protects a kmemleak_object.
33 * - scan_mutex (mutex): ensures that only one thread may scan the memory for
46 * scan_mutex [-> object->lock] -> kmemleak_lock -> other_object->lock (SINGLE_DEPTH_NESTING)
48 * No kmemleak_lock and object->lock nesting is allowed outside scan_mutex
125 #define KMEMLEAK_BLACK -1
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtimer.c1 // SPDX-License-Identifier: GPL-2.0
80 /* *key == 0 - the callback was called for array timer. in timer_cb1()
81 * *key == 4 - the callback was called from lru timer. in timer_cb1()
98 int lru_key, i; in timer_cb1() local
100 for (i = LRU + 1; in timer_cb1()
101 i <= 100 /* for current LRU eviction algorithm this number in timer_cb1()
102 * should be larger than ~ lru->max_entries * 2 in timer_cb1()
104 i++) { in timer_cb1()
110 lru_key = i; in timer_cb1()
112 /* add more elements into lru map to push out current in timer_cb1()
[all …]
/linux/net/
H A Dsysctl_net.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* -*- linux-c -*-
33 return &current->nsproxy->net_ns->sysctls; in net_ctl_header_lookup()
38 return &current->nsproxy->net_ns->sysctls == set; in is_seen()
45 struct net *net = container_of(head->set, struct net, sysctls); in net_ctl_permissions()
48 if (ns_capable_noaudit(net->user_ns, CAP_NET_ADMIN)) { in net_ctl_permissions()
49 int mode = (table->mode >> 6) & 7; in net_ctl_permissions()
53 return table->mode; in net_ctl_permissions()
59 struct net *net = container_of(head->set, struct net, sysctls); in net_ctl_set_ownership()
63 ns_root_uid = make_kuid(net->user_ns, 0); in net_ctl_set_ownership()
[all …]
/linux/tools/perf/tests/
H A Ddso-data.c1 // SPDX-License-Identifier: GPL-2.0
21 #define TEMPL "/tmp/perf-test-XXXXXX" in test_file()
24 int fd, i; in test_file()
42 for (i = 0; i < size; i++) in test_file()
43 buf[i] in test_file()
23 int fd, i; test_file() local
121 size_t i; test__dso_data() local
206 int i; dsos__create() local
226 int i; dsos__delete() local
255 int dso_cnt, limit, i, fd; test__dso_data_cache() local
[all...]
/linux/kernel/rcu/
H A Dsrcutree.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Sleepable Read-Copy Update mechanism for mutual exclusion.
11 * For detailed explanation of Read-Copy Update mechanism see -
33 /* Holdoff in nanoseconds for auto-expediting. */
38 /* Overflow-check frequency. N bits roughly says every 2**N grace periods. */
63 /* Number of CPUs to trigger init_srcu_struct()-time transition to big. */
71 /* Early-boot callback-management, so early that no lock is required! */
117 * Initialize SRCU per-CPU data. Note that statically allocated
120 * parameter is set, don't initialize ->srcu_ctrs[].srcu_locks and
121 * ->srcu_ctrs[].srcu_unlocks.
[all …]
/linux/tools/testing/selftests/clone3/
H A Dclone3_set_tid.c1 // SPDX-License-Identifier: GPL-2.0
45 pid_t pid = -1; in call_clone3_set_tid()
56 ksft_print_msg("%s - Failed to create new process\n", in call_clone3_set_tid()
58 return -errno; in call_clone3_set_tid()
66 ksft_print_msg("I am the child, my PID is %d (expected %d)\n", in call_clone3_set_tid()
97 ksft_print_msg("I am the parent (%d). My child's pid is %d\n", in call_clone3_set_tid()
103 return -1; in call_clone3_set_tid()
108 return -errno; in call_clone3_set_tid()
112 return -1; in call_clone3_set_tid()
133 "[%d] clone3() with CLONE_SET_TID %d says: %d - expected %d\n", in test_clone3_set_tid()
[all …]
/linux/drivers/irqchip/
H A Dirq-gic-v4.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <linux/irqchip/arm-gic-v4.h>
23 * core GIC code (that would in turn leak into the hypervisor code),
26 * agnostic actually means KVM-specific - what were you thinking?).
31 * - Any guest-visible VLPI is backed by a Linux interrupt (and a
37 * - Enabling/disabling a VLPI is done by issuing mask/unmask calls.
39 * - Guest INT/CLEAR commands are implemented through
42 * - The *bizarre* stuff (mapping/unmapping an interrupt to a VLPI, or
62 * interrupts which are delivered when a VLPI targeting a non-running
71 * - VMs (or rather the VM abstraction that matters to the GIC)
[all …]
/linux/kernel/sched/
H A Didle.c1 // SPDX-License-Identifier: GPL-2.0-only
19 * sched_idle_set_state - Record idle state for the current CPU.
34 cpu_idle_force_poll--; in cpu_idle_poll_ctrl()
109 * default_idle_call - Default CPU idle routine.
137 return -EBUSY; in call_cpuidle_s2idle()
150 dev->last_residency_ns = 0; in call_cpuidle()
152 return -EBUSY; in call_cpuidle()
158 * care of re-enabling the local interrupts in call_cpuidle()
164 * cpuidle_idle_call - the main idle function
180 * case, exit the function after re-enabling the local IRQ. in cpuidle_idle_call()
[all …]
/linux/Documentation/admin-guide/hw-vuln/
H A Dcore-scheduling.rst1 .. SPDX-License-Identifier: GPL-2.0
15 ----------------
16 A cross-HT attack involves the attacker and victim running on different Hyper
18 full mitigation of cross-HT attacks is to disable Hyper Threading (HT). Core
19 scheduling is a scheduler feature that can mitigate some (not all) cross-HT
21 user-designated trusted group can share a core. This increase in core sharing
27 core involves additional overhead - especially when the system is lightly
29 scheduling to perform more poorly compared to SMT-disabled, where N_CPUS is the
33 -----
35 Using this feature, userspace defines groups of tasks that can be co-scheduled
[all …]
H A Dl1tf.rst1 L1TF - L1 Terminal Fault
10 -------------------
15 - Processors from AMD, Centaur and other non Intel vendors
17 - Older processor models, where the CPU family is < 6
19 - A range of Intel ATOM processors (Cedarview, Cloverview, Lincroft,
22 - The Intel XEON PHI family
24 - Intel processors which have the ARCH_CAP_RDCL_NO bit set in the
33 ------------
38 CVE-2018-3615 L1 Terminal Fault SGX related aspects
39 CVE-2018-3620 L1 Terminal Fault OS, SMM related aspects
[all …]
/linux/arch/parisc/include/asm/
H A Delf.h1 /* SPDX-License-Identifier: GPL-2.0 */
28 #define EFA_PARISC_1_0 0x020b /* PA-RISC 1.0 big-endian. */
29 #define EFA_PARISC_1_1 0x0210 /* PA-RISC 1.1 big-endian. */
30 #define EFA_PARISC_2_0 0x0214 /* PA-RISC 2.0 big-endian. */
60 #define R_PARISC_DIR32 1 /* Direct 32-bit reference. */
65 #define R_PARISC_PCREL32 9 /* 32-bit rel. address. */
72 #define R_PARISC_GPREL21L 26 /* GP-relative, left 21 bits. */
73 #define R_PARISC_GPREL14R 30 /* GP-relative, right 14 bits. */
74 #define R_PARISC_LTOFF21L 34 /* LT-relative, left 21 bits. */
75 #define R_PARISC_LTOFF14R 38 /* LT-relative, right 14 bits. */
[all …]
/linux/Documentation/process/
H A Dmaintainer-kvm-x86.rst1 .. SPDX-License-Identifier: GPL-2.0
7 --------
17 -----
21 -----
25 specific tree, ``github.com/kvm-x86/linux.git``.
27 Generally speaking, fixes for the current cycle are applied directly to the
29 KVM x86 tree. In the unlikely event that a fix for the current cycle is routed
33 Note, this transition period is expected to last quite some time, i.e. will be
39 using finer-grained topic branches is to make it easier to keep tabs on an area
42 in-flight commits' SHA1 hashes, and having to reject a pull request due to bugs
[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
54 using single or multiple byte access to the I/O ports. There are 6 modes
59 -------------- ----------------
61 | 1.1932 MHz|---------->| CLOCK OUT | ---------> IRQ 0
[all …]
/linux/scripts/dtc/
H A Dsrcpos.c1 // SPDX-License-Identifier: GPL-2.0-or-later
33 int len = slash - path; in get_dirname()
51 int i, len = strlen(fname); in set_initial_path() local
55 for (i = 0; i != len; i++) in set_initial_path()
56 if (initial_path[i] == '/') in set_initial_path()
75 int diff = initial_pathlen - slashes, i, j; in shorten_to_initial_path() local
76 int restlen = strlen(fname) - (p1 - fname); in shorten_to_initial_path()
80 for (i = 0, j = 0; i != diff; i++) { in shorten_to_initial_path()
135 /* Try current directory first */ in fopen_any_on_path()
138 cur_dir = current_srcfile->dir; in fopen_any_on_path()
[all …]
/linux/Documentation/scsi/
H A DChangeLog.megaraid_sas1 Release Date : Thu. Jun 19, 2014 17:00:00 PST 2014 -
2 (emaild-id:megaraidlinux@lsi.com)
7 Current Version : 06.803.02.00-rc1
8 Old Version : 06.803.01.00-rc1
9 1. Fix reset_mutex leak in megasas_reset_fusion().
14 -------------------------------------------------------------------------------
15 Release Date : Mon. Mar 10, 2014 17:00:00 PST 2014 -
16 (emaild-id:megaraidlinux@lsi.com)
20 Current Version : 06.803.01.00-rc1
21 Old Version : 06.700.06.00-rc1
[all …]
/linux/drivers/hv/
H A Dring_buffer.c1 // SPDX-License-Identifier: GPL-2.0-only
40 * interrupt_mask and re-check to see if new data has
47 * transitions from empty to non-empty (or full to non full on the guest
55 struct hv_ring_buffer_info *rbi = &channel->outbound; in hv_signal_on_write()
58 if (READ_ONCE(rbi->ring_buffer->interrupt_mask)) in hv_signal_on_write()
65 * ring transitions from being empty to non-empty. in hv_signal_on_write()
67 if (old_write == READ_ONCE(rbi->ring_buffer->read_index)) { in hv_signal_on_write()
68 ++channel->intr_out_empty; in hv_signal_on_write()
77 u32 next = ring_info->ring_buffer->write_index; in hv_get_next_write_location()
87 ring_info->ring_buffer->write_index = next_write_location; in hv_set_next_write_location()
[all …]
/linux/arch/x86/kernel/cpu/
H A Dbugs.c1 // SPDX-License-Identifier: GPL-2.0
6 * - Rafael R. Reilova (moved everything from head.S),
8 * - Channing Corn (tests & fixes),
9 * - Andrew D. Balsa (code cleanup).
20 #include <asm/spec-ctrl.h>
24 #include <asm/processor-flags.h>
41 * <vuln>_select_mitigation() -- Selects a mitigation to use. This should
44 * <vuln>_update_mitigation() -- This is called after all vulnerabilities have
48 * <vuln>_apply_mitigation() -- Enable the selected mitigation.
50 * The compile-time mitigation in all cases should be AUTO. An explicit
[all …]
/linux/kernel/
H A Dfork.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * 'fork.c' contains the help-routines for the 'fork' system call
84 #include <linux/posix-timers.h>
85 #include <linux/user-return-notifier.h>
213 unsigned int i; in try_release_thread_stack_to_cache() local
215 for (i = 0; i < NR_CACHED_STACKS; i++) { in try_release_thread_stack_to_cache()
218 if (this_cpu_try_cmpxchg(cached_stacks[i], &tmp, vm_area)) in try_release_thread_stack_to_cache()
227 struct vm_struct *vm_area = vm_stack->stack_vm_area; in thread_stack_free_rcu()
229 if (try_release_thread_stack_to_cache(vm_stack->stack_vm_area)) in thread_stack_free_rcu()
232 vfree(vm_area->addr); in thread_stack_free_rcu()
[all …]
/linux/Documentation/dev-tools/kunit/
H A Dusage.rst1 .. SPDX-License-Identifier: GPL-2.0
7 ----------
13 .. code-block:: c
38 .. code-block:: c
48 ``struct kunit *``, which contains information about the current test context.
59 To learn about more KUnit expectations, see Documentation/dev-tools/kunit/api/test.rst.
69 .. code-block:: c
79 KUNIT_EXPECT_EQ(test, 0, add(-1, 1));
85 KUNIT_EXPECT_EQ(test, -1, add(INT_MAX, INT_MIN));
99 .. code-block:: c
[all …]
/linux/fs/afs/
H A Drotate.c1 // SPDX-License-Identifier: GPL-2.0-or-later
20 unsigned int i; in afs_clear_server_states() local
22 if (op->server_states) { in afs_clear_server_states()
23 for (i = 0; i < op->server_list->nr_servers; i++) in afs_clear_server_states()
24 afs_put_endpoint_state(op->server_states[i].endpoint_state, in afs_clear_server_states()
26 kfree(op->server_states); in afs_clear_server_states()
39 int i; in afs_start_fs_iteration() local
43 read_lock(&op->volume->servers_lock); in afs_start_fs_iteration()
44 op->server_list = afs_get_serverlist( in afs_start_fs_iteration()
45 rcu_dereference_protected(op->volume->servers, in afs_start_fs_iteration()
[all …]

12345678