Home
last modified time | relevance | path

Searched +full:parent +full:- +full:locked (Results 1 – 25 of 447) sorted by relevance

12345678910>>...18

/linux/Documentation/i2c/
H A Di2c-topology.rst6 than a straight-forward I2C bus with one adapter and one or more devices.
23 each adapter has a parent adapter (except the root adapter) and zero or
25 I2C transfers, and all adapters with a parent are part of an "i2c-mux"
40 mux-locked or parent-locked muxes.
43 Mux-locked muxes
44 ----------------
46 Mux-locked muxes does not lock the entire parent adapter during the
47 full select-transfer-deselect transaction, only the muxes on the parent
48 adapter are locked. Mux-locked muxes are mostly interesting if the
50 their tasks. Since the parent adapter is not fully locked during the
[all …]
/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
30 * lock the parent (exclusive)
36 * lock the parent (exclusive)
40 5. rename that is _not_ cross-directory. Locking rules:
42 * lock the parent (exclusive)
44 * decide which of the source and target need to be locked.
45 The source needs to be locked if it's a non-directory, target - if it's
46 a non-directory or about to be removed.
[all …]
/linux/Documentation/devicetree/bindings/i2c/
H A Di2c-mux-gpmux.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/i2c/i2c-mux-gpmux.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Peter Rosin <peda@axentia.se>
16 .-----. .-----.
18 .------------. '-----' '-----'
20 | | .--------+--------'
21 | .------. | .------+ child bus A, on MUX value set to 0
22 | | I2C |-|--| Mux |
[all …]
/linux/Documentation/netlink/specs/
H A Ddpll.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
8 -
16 -
20 -
23 render-max: true
24 -
26 name: lock-status
31 -
34 dpll was not yet locked to any valid input (or forced by setting
[all …]
/linux/drivers/staging/vme_user/
H A Dvme.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 #include <linux/dma-mapping.h>
51 switch (resource->type) { in find_bridge()
53 return list_entry(resource->entry, struct vme_master_resource, in find_bridge()
54 list)->parent; in find_bridge()
56 return list_entry(resource->entry, struct vme_slave_resource, in find_bridge()
57 list)->parent; in find_bridge()
59 return list_entry(resource->entry, struct vme_dma_resource, in find_bridge()
60 list)->parent; in find_bridge()
62 return list_entry(resource->entry, struct vme_lm_resource, in find_bridge()
[all …]
/linux/fs/btrfs/
H A Ddefrag.c1 // SPDX-License-Identifier: GPL-2.0
8 #include "disk-io.h"
13 #include "delalloc-space.h"
16 #include "file-item.h"
41 * This value is different for compressed/non-compressed extents, thus
51 if (defrag1->root > defrag2->root) in compare_inode_defrag()
53 else if (defrag1->root < defrag2->root) in compare_inode_defrag()
54 return -1; in compare_inode_defrag()
55 else if (defrag1->ino > defrag2->ino) in compare_inode_defrag()
57 else if (defrag1->ino < defrag2->ino) in compare_inode_defrag()
[all …]
/linux/drivers/gpu/drm/i915/
H A Di915_scheduler.c2 * SPDX-License-Identifier: MIT
47 GEM_BUG_ON(rb_first_cached(&sched_engine->queue) != in assert_priolists()
48 rb_first(&sched_engine->queue.rb_root)); in assert_priolists()
51 for (rb = rb_first_cached(&sched_engine->queue); rb; rb = rb_next(rb)) { in assert_priolists()
54 GEM_BUG_ON(p->priority > last_prio); in assert_priolists()
55 last_prio = p->priority; in assert_priolists()
63 struct rb_node **parent, *rb; in i915_sched_lookup_priolist() local
66 lockdep_assert_held(&sched_engine->lock); in i915_sched_lookup_priolist()
69 if (unlikely(sched_engine->no_priolist)) in i915_sched_lookup_priolist()
75 parent = &sched_engine->queue.rb_root.rb_node; in i915_sched_lookup_priolist()
[all …]
/linux/drivers/watchdog/
H A Dintel_oc_wdt.c1 // SPDX-License-Identifier: GPL-2.0
25 * One-time writable lock bit. If set forbids
39 #define INTEL_OC_WDT_CTRL_REG(wdt) ((wdt)->ctrl_res->start)
45 bool locked; member
62 if (oc_wdt->locked) in intel_oc_wdt_start()
96 outl((inl(INTEL_OC_WDT_CTRL_REG(oc_wdt)) & ~INTEL_OC_WDT_TOV) | (t - 1), in intel_oc_wdt_set_timeout()
99 wdd->timeout = t; in intel_oc_wdt_set_timeout()
124 oc_wdt->wdd.bootstatus |= WDIOF_CARDRESET; in intel_oc_wdt_setup()
126 oc_wdt->locked = !!(val & INTEL_OC_WDT_CTL_LCK); in intel_oc_wdt_setup()
134 set_bit(WDOG_HW_RUNNING, &oc_wdt->wdd.status); in intel_oc_wdt_setup()
[all …]
/linux/drivers/clk/ti/
H A Ddpll3xxx.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * OMAP3/4 - specific DPLL control functions
5 * Copyright (C) 2009-2010 Texas Instruments, Inc.
6 * Copyright (C) 2009-2010 Nokia Corporation
46 /* _omap3_dpll_write_clken - write clken_bits arg to a DPLL's enable bits */
52 dd = clk->dpll_data; in _omap3_dpll_write_clken()
54 v = ti_clk_ll_ops->clk_readl(&dd->control_reg); in _omap3_dpll_write_clken()
55 v &= ~dd->enable_mask; in _omap3_dpll_write_clken()
56 v |= clken_bits << __ffs(dd->enable_mask); in _omap3_dpll_write_clken()
57 ti_clk_ll_ops->clk_writel(v, &dd->control_reg); in _omap3_dpll_write_clken()
[all …]
H A Dapll.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * J Keerthy <j-keerthy@ti.com>
11 #include <linux/clk-provider.h>
41 ad = clk->dpll_data; in dra7_apll_enable()
43 return -EINVAL; in dra7_apll_enable()
45 clk_name = clk_hw_get_name(&clk->hw); in dra7_apll_enable()
47 state <<= __ffs(ad->idlest_mask); in dra7_apll_enable()
49 /* Check is already locked */ in dra7_apll_enable()
50 v = ti_clk_ll_ops->clk_readl(&ad->idlest_reg); in dra7_apll_enable()
52 if ((v & ad->idlest_mask) == state) in dra7_apll_enable()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_cppcore.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 /* Copyright (C) 2015-2018 Netronome Systems, Inc. */
6 * Provides low-level access to the NFP's internal CPP bus
39 * struct nfp_cpp - main nfpcore device structure
40 * Following fields are read-only after probe() exits or netdevs are spawned.
42 * @op: low-level implementation ops
43 * @priv: private data of the low-level implementation
115 if (tmp->cpp_id > res->cpp_id) in __resource_add()
118 if (tmp->cpp_id == res->cpp_id && tmp->start > res->start) in __resource_add()
122 list_add_tail(&res->list, pos); in __resource_add()
[all …]
/linux/Documentation/driver-api/mmc/
H A Dmmc-dev-parts.rst10 parent /dev/mmcblkX.
21 To enable write access to /dev/mmcblkXbootY, disable the forced read-only
26 To re-enable read-only access::
30 The boot partitions can also be locked read only until the next power on,
37 feature has been disabled on the card, the file will be read-only.
39 The boot partitions can also be locked permanently, but this feature is
/linux/fs/resctrl/
H A Dinternal.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 * cpumask_any_housekeeping() - Choose any CPU in @mask, preferring those that
49 struct kernfs_fs_context *kfc = fc->fs_private; in rdt_fc2context()
55 * struct mon_evt - Properties of a monitor event
81 * struct mon_data - Monitoring details for each event file.
92 * Pointed to by the kernfs kn->priv field of monitoring event files.
104 * struct rmid_read - Data passed across smp_call*() to read event count.
105 * @rgrp: Resource group for which the counter is being read. If it is a parent
117 * @val: Returned value of event counter. If @rgrp is a parent resource group,
120 * (summed across child resource groups if @rgrp is a parent resource group).
[all …]
/linux/drivers/acpi/acpica/
H A Devrgnini.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
4 * Module Name: evrgnini- ACPI address_space (op_region) init
6 * Copyright (C) 2000 - 2025, Intel Corp.
23 * PARAMETERS: handle - Region we are interested in
24 * function - Start or stop
25 * handler_context - Address space handler context
26 * region_context - Region specific context
52 while (local_region_context->first_mm) { in acpi_ev_system_memory_region_setup()
53 mm = local_region_context->first_mm; in acpi_ev_system_memory_region_setup()
54 local_region_context->first_mm = mm->next_mm; in acpi_ev_system_memory_region_setup()
[all …]
/linux/Documentation/devicetree/bindings/clock/ti/
H A Dapll.txt4 register-mapped APLL with usually two selectable input clocks
5 (reference clock and bypass clock), with analog phase locked
8 modes (locked, low power stop etc.) APLL mostly behaves like
11 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
15 - compatible : shall be "ti,dra7-apll-clock" or "ti,omap2-apll-clock"
16 - #clock-cells : from common clock binding; shall be set to 0.
17 - clocks : link phandles of parent clocks (clk-ref and clk-bypass)
18 - reg : address and length of the register set for controlling the APLL.
20 "control" - contains the control register offset
21 "idlest" - contains the idlest register offset
[all …]
H A Ddpll.txt4 register-mapped DPLL with usually two selectable input clocks
5 (reference clock and bypass clock), with digital phase locked
8 modes (locked, low power stop etc.) This binding has several
9 sub-types, which effectively result in slightly different setup
12 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
15 - compatible : shall be one of:
16 "ti,omap3-dpll-clock",
17 "ti,omap3-dpll-core-clock",
18 "ti,omap3-dpll-per-clock",
19 "ti,omap3-dpll-per-j-type-clock",
[all …]
/linux/net/sunrpc/
H A Dsysfs.c1 // SPDX-License-Identifier: GPL-2.0
21 kfree(addr->addr); in free_xprt_addr()
47 struct kobject *parent) in rpc_sysfs_object_alloc() argument
53 kobj->kset = kset; in rpc_sysfs_object_alloc()
55 parent, "%s", name) == 0) in rpc_sysfs_object_alloc()
67 struct rpc_clnt *ret = c->clnt; in rpc_sysfs_client_kobj_get_clnt()
69 return refcount_inc_not_zero(&ret->cl_count) ? ret : NULL; in rpc_sysfs_client_kobj_get_clnt()
78 return xprt_get(x->xprt); in rpc_sysfs_xprt_kobj_get_xprt()
87 return xprt_switch_get(x->xprt_switch); in rpc_sysfs_xprt_kobj_get_xprt_switch()
96 return xprt_switch_get(x->xprt_switch); in rpc_sysfs_xprt_switch_kobj_get_xprt()
[all …]
/linux/drivers/clocksource/
H A Dtimer-tegra186.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2019-2025 NVIDIA Corporation. All rights reserved.
66 struct tegra186_timer *parent; member
77 bool locked; member
100 writel_relaxed(value, tmr->regs + offset); in tmr_writel()
105 writel_relaxed(value, wdt->regs + offset); in wdt_writel()
110 return readl_relaxed(wdt->regs + offset); in wdt_readl()
119 tmr = devm_kzalloc(tegra->dev, sizeof(*tmr), GFP_KERNEL); in tegra186_tmr_create()
121 return ERR_PTR(-ENOMEM); in tegra186_tmr_create()
123 tmr->parent = tegra; in tegra186_tmr_create()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_core.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
381 refcount_set(&node->refcount, 1); in tree_init_node()
382 INIT_LIST_HEAD(&node->list); in tree_init_node()
383 INIT_LIST_HEAD(&node->children); in tree_init_node()
384 init_rwsem(&node->lock); in tree_init_node()
385 node->del_hw_func = del_hw_func; in tree_init_node()
386 node->del_sw_func = del_sw_func; in tree_init_node()
387 node->active = false; in tree_init_node()
390 static void tree_add_node(struct fs_node *node, struct fs_node *parent) in tree_add_node() argument
[all …]
/linux/drivers/mfd/
H A Dwm831x-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm831x-core.c -- Device access for Wolfson WM831x PMICs
28 /* Current settings - values are 2*2^(reg_val/4) microamps. These are
93 if (!wm831x->locked) in wm831x_reg_locked()
125 dev_vdbg(wm831x->dev, "Registers locked\n"); in wm831x_reg_lock()
127 mutex_lock(&wm831x->io_lock); in wm831x_reg_lock()
128 WARN_ON(wm831x->locked); in wm831x_reg_lock()
129 wm831x->locked = 1; in wm831x_reg_lock()
130 mutex_unlock(&wm831x->io_lock); in wm831x_reg_lock()
132 dev_err(wm831x->dev, "Failed to lock registers: %d\n", ret); in wm831x_reg_lock()
[all …]
/linux/kernel/cgroup/
H A Dcpuset-internal.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
82 * The user-configured masks can only be changed by writing to
84 * parent masks.
90 * effective_mask == configured_mask & parent's effective_mask,
91 * and if it ends up empty, it will inherit the parent's mask.
96 * The user-configured masks are always the same with effective masks.
99 /* user-configured CPUs and Memory Nodes allow to tasks */
112 * to sub-partitions below & hence excluded from its effective_cpus.
138 * - top_cpuset.old_mems_allowed is initialized to mems_allowed.
139 * - A new cpuset's old_mems_allowed is initialized when some
[all …]
/linux/drivers/pcmcia/
H A Dpcmcia_resource.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * PCMCIA 16-bit resource management functions
10 * Copyright (C) 2004-2010 Dominik Brodowski
39 if (s->resource_ops->validate_mem) in pcmcia_validate_mem()
40 return s->resource_ops->validate_mem(s); in pcmcia_validate_mem()
48 if (s->resource_ops->find_mem) in pcmcia_find_mem_region()
49 return s->resource_ops->find_mem(base, num, align, low, s); in pcmcia_find_mem_region()
55 * release_io_space() - release IO ports allocated with alloc_io_space()
65 dev_dbg(&s->dev, "release_io_space for %pR\n", res); in release_io_space()
68 if (!s->io[i].res) in release_io_space()
[all …]
/linux/kernel/sched/
H A Dcpudeadline.c1 // SPDX-License-Identifier: GPL-2.0-only
11 static inline int parent(int i) in parent() function
13 return (i - 1) >> 1; in parent()
30 int orig_cpu = cp->elements[idx].cpu; in cpudl_heapify_down()
31 u64 orig_dl = cp->elements[idx].dl; in cpudl_heapify_down()
33 if (left_child(idx) >= cp->size) in cpudl_heapify_down()
45 if ((l < cp->size) && dl_time_before(orig_dl, in cpudl_heapify_down()
46 cp->elements[l].dl)) { in cpudl_heapify_down()
48 largest_dl = cp->elements[l].dl; in cpudl_heapify_down()
50 if ((r < cp->size) && dl_time_before(largest_dl, in cpudl_heapify_down()
[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/tools/perf/Documentation/
H A Dperf-report.txt1 perf-report(1)
5 ----
6 perf-report - Read perf.data (created by perf record) and display the profile
9 --------
11 'perf report' [-i <file> | --input=file]
14 -----------
19 -------
20 -i::
21 --input=::
24 -v::
[all …]

12345678910>>...18