Home
last modified time | relevance | path

Searched full:parent (Results 1 – 25 of 6929) sorted by relevance

12345678910>>...278

/linux-6.12.1/tools/lib/
Drbtree.c55 * are left undone as of now. Nor did I check for loops involving parent
71 * - old's parent and color get assigned to new
72 * - old gets assigned new as a parent and 'color' as a color.
78 struct rb_node *parent = rb_parent(old); in __rb_rotate_set_parents() local
81 __rb_change_child(old, new, parent, root); in __rb_rotate_set_parents()
88 struct rb_node *parent = rb_red_parent(node), *gparent, *tmp; in __rb_insert() local
94 if (unlikely(!parent)) { in __rb_insert()
105 * If there is a black parent, we are done. in __rb_insert()
110 if(rb_is_black(parent)) in __rb_insert()
113 gparent = rb_red_parent(parent); in __rb_insert()
[all …]
/linux-6.12.1/lib/
Drbtree.c55 * are left undone as of now. Nor did I check for loops involving parent
71 * - old's parent and color get assigned to new
72 * - old gets assigned new as a parent and 'color' as a color.
78 struct rb_node *parent = rb_parent(old); in __rb_rotate_set_parents() local
81 __rb_change_child(old, new, parent, root); in __rb_rotate_set_parents()
88 struct rb_node *parent = rb_red_parent(node), *gparent, *tmp; in __rb_insert() local
94 if (unlikely(!parent)) { in __rb_insert()
105 * If there is a black parent, we are done. in __rb_insert()
110 if(rb_is_black(parent)) in __rb_insert()
113 gparent = rb_red_parent(parent); in __rb_insert()
[all …]
/linux-6.12.1/drivers/vfio/mdev/
Dmdev_core.c26 /* Caller must hold parent unreg_sem read or write lock */
29 struct mdev_parent *parent = mdev->type->parent; in mdev_device_remove_common() local
33 lockdep_assert_held(&parent->unreg_sem); in mdev_device_remove_common()
46 * mdev_register_parent: Register a device as parent for mdevs
47 * @parent: parent structure registered
48 * @dev: device structure representing parent device.
53 * Registers the @parent stucture as a parent for mdev types and thus mdev
59 int mdev_register_parent(struct mdev_parent *parent, struct device *dev, in mdev_register_parent() argument
67 memset(parent, 0, sizeof(*parent)); in mdev_register_parent()
68 init_rwsem(&parent->unreg_sem); in mdev_register_parent()
[all …]
/linux-6.12.1/drivers/clk/
Dclk-gate_test.c31 struct clk_hw *parent; in clk_gate_register_test_parent_names() local
34 parent = clk_hw_register_fixed_rate(NULL, "test_parent", NULL, 0, in clk_gate_register_test_parent_names()
36 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_gate_register_test_parent_names()
41 KUNIT_EXPECT_PTR_EQ(test, parent, clk_hw_get_parent(ret)); in clk_gate_register_test_parent_names()
44 clk_hw_unregister_fixed_rate(parent); in clk_gate_register_test_parent_names()
49 struct clk_hw *parent; in clk_gate_register_test_parent_data() local
53 parent = clk_hw_register_fixed_rate(NULL, "test_parent", NULL, 0, in clk_gate_register_test_parent_data()
55 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_gate_register_test_parent_data()
56 pdata.hw = parent; in clk_gate_register_test_parent_data()
61 KUNIT_EXPECT_PTR_EQ(test, parent, clk_hw_get_parent(ret)); in clk_gate_register_test_parent_data()
[all …]
Dclk_test.c128 * between rates above the parent rate which would be rounded to
129 * what the parent can provide, but rates below will simply
328 * Test suite for a basic rate clock, without any parent.
449 * Test suite for a basic, uncached, rate clock, without any parent.
464 const char *parents[2] = { "parent-0", "parent-1"}; in clk_multiple_parents_mux_test_init()
472 ctx->parents_ctx[0].hw.init = CLK_HW_INIT_NO_PARENT("parent-0", in clk_multiple_parents_mux_test_init()
480 ctx->parents_ctx[1].hw.init = CLK_HW_INIT_NO_PARENT("parent-1", in clk_multiple_parents_mux_test_init()
509 struct clk *parent = clk_hw_get_clk(&ctx->parents_ctx[0].hw, NULL); in clk_test_multiple_parents_mux_get_parent() local
511 KUNIT_EXPECT_TRUE(test, clk_is_match(clk_get_parent(clk), parent)); in clk_test_multiple_parents_mux_get_parent()
513 clk_put(parent); in clk_test_multiple_parents_mux_get_parent()
[all …]
/linux-6.12.1/kernel/
Daudit_watch.c28 * event. Each audit_watch holds a reference to its associated parent.
41 struct audit_parent *parent; /* associated parent */ member
42 struct list_head wlist; /* entry in parent->watches list */
58 static void audit_free_parent(struct audit_parent *parent) in audit_free_parent() argument
60 WARN_ON(!list_empty(&parent->watches)); in audit_free_parent()
61 kfree(parent); in audit_free_parent()
66 struct audit_parent *parent; in audit_watch_free_mark() local
68 parent = container_of(entry, struct audit_parent, mark); in audit_watch_free_mark()
69 audit_free_parent(parent); in audit_watch_free_mark()
72 static void audit_get_parent(struct audit_parent *parent) in audit_get_parent() argument
[all …]
/linux-6.12.1/tools/testing/selftests/tc-testing/tc-tests/filters/
Dfw.json15 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65535 fw action ok",
17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65535 protocol all fw",
37 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65536 fw action ok",
39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65536 protocol all fw",
59 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action ok",
61 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw",
82 … "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action gact index 1",
84 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw",
104 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action continue",
106 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw",
[all …]
Dbasic.json15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm…
17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic",
18 …"matchPattern": "^filter parent ffff: protocol ip pref 1 basic.*handle 0x1 flowid 1:1.*cmp\\(u8 at…
37 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm…
39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic",
40 …"matchPattern": "^filter parent ffff: protocol ip pref 1 basic.*handle 0x1 flowid 1:1.*cmp\\(u8 at…
59 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm…
61 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic",
62 …"matchPattern": "^filter parent ffff: protocol ip pref 1 basic.*handle 0x1.*cmp\\(u16 at 0 layer 0…
81 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm…
[all …]
Dflow.json15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds…
17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 1 flow",
18 …"matchPattern": "filter parent ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys dst …
37 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds…
39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 1 flow",
40 …"matchPattern": "filter parent ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys dst.…
59 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds…
61 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 1 flow",
62 …"matchPattern": "filter parent ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys dst …
81 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds…
[all …]
Dmatchall.json15 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…
17 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall",
18 …"matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*r…
37 …"cmdUnderTest": "$TC filter add dev $DUMMY parent 1: handle 0x1 prio 1 protocol ip matchall action…
39 "verifyCmd": "$TC filter get dev $DUMMY parent 1: handle 1 prio 1 protocol ip matchall",
40 …"matchPattern": "^filter parent 1: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*ref …
59 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ipv6 matchall a…
61 … "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ipv6 matchall",
62 …"matchPattern": "^filter parent ffff: protocol ipv6 pref 1 matchall.*handle 0x1.*gact action drop.…
81 …"cmdUnderTest": "$TC filter add dev $DUMMY parent 1: handle 0x1 prio 1 protocol ipv6 matchall acti…
[all …]
Dcgroup.json15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 cgroup match 'c…
17 "verifyCmd": "$TC filter show dev $DEV1 parent ffff:",
37 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 cgroup match 'c…
39 "verifyCmd": "$TC filter show dev $DEV1 parent ffff:",
59 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 cgroup match 'c…
61 "verifyCmd": "$TC filter show dev $DEV1 parent ffff:",
81 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 cgroup match 'c…
83 "verifyCmd": "$TC filter show dev $DEV1 parent ffff:",
103 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 0xab protocol ip prio 11 cgroup matc…
105 "verifyCmd": "$TC filter show dev $DEV1 parent ffff:",
[all …]
/linux-6.12.1/tools/testing/selftests/drivers/net/mlxsw/
Dsch_offload.sh44 sed s/root/parent\ root/ |
129 local parent=$1; shift
136 $cmd $(printf %x: $parent) "$@"
138 if ((parent == 0)); then
141 locus=$(printf "parent %x:1" $parent)
151 local parent=$1; shift
154 if ((parent != 0)); then
155 kind=$(qdisc_stats_get $h1 $parent: .kind)
167 local parent=$1; shift
170 with_qdiscs $handle $parent "$@" -- check_all_offloaded
[all …]
/linux-6.12.1/drivers/i2c/
Di2c-mux.c44 struct i2c_adapter *parent = muxc->parent; in __i2c_mux_master_xfer() local
51 ret = __i2c_transfer(parent, msgs, num); in __i2c_mux_master_xfer()
63 struct i2c_adapter *parent = muxc->parent; in i2c_mux_master_xfer() local
70 ret = i2c_transfer(parent, msgs, num); in i2c_mux_master_xfer()
84 struct i2c_adapter *parent = muxc->parent; in __i2c_mux_smbus_xfer() local
91 ret = __i2c_smbus_xfer(parent, addr, flags, in __i2c_mux_smbus_xfer()
106 struct i2c_adapter *parent = muxc->parent; in i2c_mux_smbus_xfer() local
113 ret = i2c_smbus_xfer(parent, addr, flags, in i2c_mux_smbus_xfer()
121 /* Return the parent's functionality */
125 struct i2c_adapter *parent = priv->muxc->parent; in i2c_mux_functionality() local
[all …]
/linux-6.12.1/include/linux/
Ddebugfs.h72 struct dentry *debugfs_lookup(const char *name, struct dentry *parent);
75 struct dentry *parent, void *data,
78 struct dentry *parent, void *data,
82 struct dentry *parent, void *data,
86 struct dentry *debugfs_create_dir(const char *name, struct dentry *parent);
88 struct dentry *debugfs_create_symlink(const char *name, struct dentry *parent,
92 struct dentry *parent,
99 void debugfs_lookup_and_remove(const char *name, struct dentry *parent);
116 void debugfs_create_u8(const char *name, umode_t mode, struct dentry *parent,
118 void debugfs_create_u16(const char *name, umode_t mode, struct dentry *parent,
[all …]
Dproc_fs.h94 struct proc_dir_entry *parent, const struct seq_operations *ops,
96 #define proc_create_seq_data(name, mode, parent, ops, data) \ argument
97 proc_create_seq_private(name, mode, parent, ops, 0, data)
98 #define proc_create_seq(name, mode, parent, ops) \ argument
99 proc_create_seq_private(name, mode, parent, ops, 0, NULL)
101 struct proc_dir_entry *parent,
103 #define proc_create_single(name, mode, parent, show) \ argument
104 proc_create_single_data(name, mode, parent, show, NULL)
111 struct proc_dir_entry *proc_create(const char *name, umode_t mode, struct proc_dir_entry *parent, c…
130 struct proc_dir_entry *parent, const struct seq_operations *ops,
[all …]
/linux-6.12.1/drivers/edac/
Ddebugfs.c57 struct dentry *parent; in edac_create_debugfs_nodes() local
61 parent = debugfs_create_dir(mci->dev.kobj.name, edac_debugfs); in edac_create_debugfs_nodes()
66 debugfs_create_u8(name, S_IRUGO | S_IWUSR, parent, in edac_create_debugfs_nodes()
70 debugfs_create_bool("fake_inject_ue", S_IRUGO | S_IWUSR, parent, in edac_create_debugfs_nodes()
73 debugfs_create_u16("fake_inject_count", S_IRUGO | S_IWUSR, parent, in edac_create_debugfs_nodes()
76 debugfs_create_file("fake_inject", S_IWUSR, parent, &mci->dev, in edac_create_debugfs_nodes()
79 mci->debugfs = parent; in edac_create_debugfs_nodes()
92 /* Create a toplevel dir under EDAC's debugfs hierarchy with parent @parent */
94 edac_debugfs_create_dir_at(const char *dirname, struct dentry *parent) in edac_debugfs_create_dir_at() argument
96 return debugfs_create_dir(dirname, parent); in edac_debugfs_create_dir_at()
[all …]
/linux-6.12.1/drivers/clk/imx/
Dclk.h118 #define imx_clk_gate_exclusive(name, parent, reg, shift, exclusive_mask) \ argument
119 to_clk(imx_clk_hw_gate_exclusive(name, parent, reg, shift, exclusive_mask))
124 #define imx_clk_fixed_factor(name, parent, mult, div) \ argument
125 to_clk(imx_clk_hw_fixed_factor(name, parent, mult, div))
127 #define imx_clk_divider(name, parent, reg, shift, width) \ argument
128 to_clk(imx_clk_hw_divider(name, parent, reg, shift, width))
130 #define imx_clk_divider_flags(name, parent, reg, shift, width, flags) \ argument
131 to_clk(imx_clk_hw_divider_flags(name, parent, reg, shift, width, flags))
133 #define imx_clk_gate(name, parent, reg, shift) \ argument
134 to_clk(imx_clk_hw_gate(name, parent, reg, shift))
[all …]
/linux-6.12.1/include/trace/events/
Dqdisc.h28 __field( u32, parent )
40 __entry->parent = qdisc->parent;
44 TP_printk("dequeue ifindex=%d qdisc handle=0x%X parent=0x%X txq_state=0x%lX packets=%d skbaddr=%p",
45 __entry->ifindex, __entry->handle, __entry->parent,
61 __field(u32, parent)
70 __entry->parent = qdisc->parent;
73 TP_printk("enqueue ifindex=%d qdisc handle=0x%X parent=0x%X skbaddr=%p",
74 __entry->ifindex, __entry->handle, __entry->parent, __entry->skbaddr)
86 __field( u32, parent )
93 __entry->parent = q->parent;
[all …]
/linux-6.12.1/tools/testing/selftests/tc-testing/tc-tests/infra/
Dactions.json16 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…
18 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall",
19 "matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*",
39 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…
41 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall",
42 "matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*",
62 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…
64 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall",
65 "matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*",
85 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…
[all …]
/linux-6.12.1/sound/pci/hda/
Dhda_component.c18 void hda_component_acpi_device_notify(struct hda_component_parent *parent, in hda_component_acpi_device_notify() argument
24 mutex_lock(&parent->mutex); in hda_component_acpi_device_notify()
25 for (i = 0; i < ARRAY_SIZE(parent->comps); i++) { in hda_component_acpi_device_notify()
26 comp = hda_component_from_index(parent, i); in hda_component_acpi_device_notify()
30 mutex_unlock(&parent->mutex); in hda_component_acpi_device_notify()
35 struct hda_component_parent *parent, in hda_component_manager_bind_acpi_notifications() argument
44 adev = parent->comps[0].adev; in hda_component_manager_bind_acpi_notifications()
48 for (i = 0; i < ARRAY_SIZE(parent->comps); i++) { in hda_component_manager_bind_acpi_notifications()
49 comp = hda_component_from_index(parent, i); in hda_component_manager_bind_acpi_notifications()
70 struct hda_component_parent *parent, in hda_component_manager_unbind_acpi_notifications() argument
[all …]
Dhda_component.h38 void hda_component_acpi_device_notify(struct hda_component_parent *parent,
41 struct hda_component_parent *parent,
44 struct hda_component_parent *parent,
47 static inline void hda_component_acpi_device_notify(struct hda_component_parent *parent, in hda_component_acpi_device_notify() argument
55 struct hda_component_parent *parent, in hda_component_manager_bind_acpi_notifications() argument
64 struct hda_component_parent *parent, in hda_component_manager_unbind_acpi_notifications() argument
70 void hda_component_manager_playback_hook(struct hda_component_parent *parent, int action);
73 struct hda_component_parent *parent, int count,
78 void hda_component_manager_free(struct hda_component_parent *parent,
81 int hda_component_manager_bind(struct hda_codec *cdc, struct hda_component_parent *parent);
[all …]
/linux-6.12.1/arch/arm/boot/dts/arm/
Darm-realview-pba8.dts45 interrupt-parent = <&intc>;
62 interrupt-parent = <&intc>;
67 interrupt-parent = <&intc>;
80 interrupt-parent = <&intc>;
85 interrupt-parent = <&intc>;
90 interrupt-parent = <&intc>;
95 interrupt-parent = <&intc>;
100 interrupt-parent = <&intc>;
105 interrupt-parent = <&intc>;
110 interrupt-parent = <&intc>;
[all …]
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dqos.c93 /* configure parent txschq */ in otx2_config_sched_shaping()
94 cfg->regval[*num_regs] = node->parent->schq << 16; in otx2_config_sched_shaping()
108 (node->schq - node->parent->prio_anchor) << 24; in otx2_config_sched_shaping()
113 cfg->regval[*num_regs] = node->parent->child_dwrr_prio << 24 | in otx2_config_sched_shaping()
176 if (node->qid == OTX2_QOS_QID_INNER && !node->parent) { in __otx2_qos_txschq_cfg()
193 struct otx2_qos_node *parent) in otx2_qos_txschq_set_parent_topology() argument
199 if (parent->level == NIX_TXSCH_LVL_MDQ) in otx2_qos_txschq_set_parent_topology()
210 cfg->lvl = parent->level; in otx2_qos_txschq_set_parent_topology()
212 if (parent->level == NIX_TXSCH_LVL_TL4) in otx2_qos_txschq_set_parent_topology()
213 cfg->reg[0] = NIX_AF_TL4X_TOPOLOGY(parent->schq); in otx2_qos_txschq_set_parent_topology()
[all …]
/linux-6.12.1/fs/kernfs/
Ddir.c20 static DEFINE_RWLOCK(kernfs_rename_lock); /* kn->parent and ->name */
59 return strscpy(buf, kn->parent ? kn->name : "/", buflen); in kernfs_name_locked()
67 while (to->parent && to != from) { in kernfs_depth()
69 to = to->parent; in kernfs_depth()
87 a = a->parent; in kernfs_common_ancestor()
91 b = b->parent; in kernfs_common_ancestor()
97 b = b->parent; in kernfs_common_ancestor()
98 a = a->parent; in kernfs_common_ancestor()
172 kn = kn->parent; in kernfs_path_from_node_locked()
209 * @from: parent kernfs_node relative to which we need to build the path
[all …]
/linux-6.12.1/drivers/clk/sunxi-ng/
Dccu_phase.c16 struct clk_hw *parent, *grandparent; in ccu_phase_get_phase() local
29 /* Get our parent clock, it's the one that can adjust its rate */ in ccu_phase_get_phase()
30 parent = clk_hw_get_parent(hw); in ccu_phase_get_phase()
31 if (!parent) in ccu_phase_get_phase()
35 parent_rate = clk_hw_get_rate(parent); in ccu_phase_get_phase()
39 /* Now, get our parent's parent (most likely some PLL) */ in ccu_phase_get_phase()
40 grandparent = clk_hw_get_parent(parent); in ccu_phase_get_phase()
49 /* Get our parent clock divider */ in ccu_phase_get_phase()
59 struct clk_hw *parent, *grandparent; in ccu_phase_set_phase() local
65 /* Get our parent clock, it's the one that can adjust its rate */ in ccu_phase_set_phase()
[all …]

12345678910>>...278