Home
last modified time | relevance | path

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

12345678910>>...225

/linux/lib/
H A 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/tools/lib/
H A 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()
227 ____rb_erase_color(struct rb_node * parent,struct rb_root * root,void (* augment_rotate)(struct rb_node * old,struct rb_node * new)) ____rb_erase_color() argument
410 __rb_erase_color(struct rb_node * parent,struct rb_root * root,void (* augment_rotate)(struct rb_node * old,struct rb_node * new)) __rb_erase_color() argument
488 struct rb_node *parent; rb_next() local
519 struct rb_node *parent; rb_prev() local
548 struct rb_node *parent = rb_parent(victim); rb_replace_node() local
575 const struct rb_node *parent; rb_next_postorder() local
[all...]
/linux/drivers/clk/
H A 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 …]
/linux/tools/testing/selftests/tc-testing/tc-tests/filters/
H A 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 …]
H A 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 …]
H A 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 …]
H A Dbpf.json15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf bytecode …
17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf",
18 …"matchPattern": "filter parent ffff: protocol ip pref 100 bpf chain [0-9]+ handle 0x1.*bytecode '4…
37 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf bytecode …
39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf",
40 …"matchPattern": "filter parent ffff: protocol ip pref 100 bpf chain [0-9]+ handle 0x1.*bytecode '4…
61 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf object-fi…
63 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf",
64 …"matchPattern": "filter parent ffff: protocol ip pref 100 bpf chain [0-9]+ handle 0x1 action-ebpf:…
85 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf object-fi…
[all …]
/linux/kernel/
H A 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/tools/testing/selftests/drivers/net/mlxsw/
H A 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/drivers/clk/imx/
H A 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/include/linux/
H A Ddebugfs.h78 struct dentry *debugfs_lookup(const char *name, struct dentry *parent);
81 struct dentry *parent, void *data,
85 struct dentry *parent, void *data,
93 * @parent: a pointer to the parent dentry for this file. This should be a
125 #define debugfs_create_file(name, mode, parent, data, fops) \ argument
131 (name, mode, parent, data, NULL, fops)
133 #define debugfs_create_file_aux(name, mode, parent, data, aux, fops) \ argument
139 (name, mode, parent, data, aux, fops)
142 struct dentry *parent, void *data,
146 struct dentry *parent, void *data,
[all …]
H A Dproc_fs.h98 struct proc_dir_entry *parent, const struct seq_operations *ops,
100 #define proc_create_seq_data(name, mode, parent, ops, data) \ argument
101 proc_create_seq_private(name, mode, parent, ops, 0, data)
102 #define proc_create_seq(name, mode, parent, ops) \ argument
103 proc_create_seq_private(name, mode, parent, ops, 0, NULL)
105 struct proc_dir_entry *parent,
107 #define proc_create_single(name, mode, parent, show) \ argument
108 proc_create_single_data(name, mode, parent, show, NULL)
115 struct proc_dir_entry *proc_create(const char *name, umode_t mode, struct proc_dir_entry *parent, c…
134 struct proc_dir_entry *parent, const struct seq_operations *ops,
[all …]
/linux/tools/testing/selftests/tc-testing/tc-tests/infra/
H A 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 …]
H A Dqdiscs.json15 "$TC filter add dev $DUMMY parent 1: basic classid 1:1",
16 "$TC class add dev $DUMMY parent 1: classid 1:1 drr",
17 "$TC qdisc add dev $DUMMY parent 1:1 handle ffff: drr",
18 "$TC filter add dev $DUMMY parent ffff: basic classid ffff:1",
19 "$TC class add dev $DUMMY parent ffff: classid ffff:1 drr",
20 "$TC qdisc add dev $DUMMY parent ffff:1 netem delay 1s",
23 "$TC class add dev $DUMMY parent ffff: classid ffff:1 drr"
48 "$TC filter add dev $DUMMY parent ffff: basic classid ffff:1",
49 "$TC class add dev $DUMMY parent ffff: classid ffff:1 drr",
50 "$TC qdisc add dev $DUMMY parent ffff:1 netem delay 1s",
[all …]
/linux/include/trace/events/
H A 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, __entr
[all...]
/linux/sound/hda/codecs/side-codecs/
H A Dhda_component.c18 void hda_component_acpi_device_notify(struct hda_component_parent *parent, in hda_component_acpi_device_notify() argument
24 guard(mutex)(&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()
34 struct hda_component_parent *parent, in hda_component_manager_bind_acpi_notifications() argument
43 adev = parent->comps[0].adev; in hda_component_manager_bind_acpi_notifications()
47 for (i = 0; i < ARRAY_SIZE(parent->comps); i++) { in hda_component_manager_bind_acpi_notifications()
48 comp = hda_component_from_index(parent, i); in hda_component_manager_bind_acpi_notifications()
69 struct hda_component_parent *parent, in hda_component_manager_unbind_acpi_notifications() argument
75 adev = parent->comps[0].adev; in hda_component_manager_unbind_acpi_notifications()
[all …]
/linux/arch/arm/boot/dts/arm/
H A 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 …]
H A Darm-realview-pbx-a9.dts89 interrupt-parent = <&intc>;
96 interrupt-parent = <&intc>;
102 interrupt-parent = <&intc>;
120 interrupt-parent = <&intc>;
125 interrupt-parent = <&intc>;
130 interrupt-parent = <&intc>;
135 interrupt-parent = <&intc>;
140 interrupt-parent = <&intc>;
145 interrupt-parent = <&intc>;
150 interrupt-parent = <&intc>;
[all …]
/linux/drivers/mfd/
H A Dls2k-bmc-core.c159 /* Index of the parent PCI configuration space to be restored at BMC reset. */
190 static bool ls2k_bmc_pcie_is_connected(struct pci_dev *parent, struct ls2k_bmc_ddata *ddata) in ls2k_bmc_pcie_is_connected() argument
195 base = pci_iomap(parent, 0, LS7A_PCI_CFG_SIZE); in ls2k_bmc_pcie_is_connected()
206 pci_iounmap(parent, base); in ls2k_bmc_pcie_is_connected()
211 pci_iounmap(parent, base); in ls2k_bmc_pcie_is_connected()
215 static void ls2k_bmc_restore_bridge_pci_data(struct pci_dev *parent, struct ls2k_bmc_ddata *ddata) in ls2k_bmc_restore_bridge_pci_data() argument
219 pci_write_config_dword(parent, PCI_COMMAND, ddata->bridge_pci_data.pci_command); in ls2k_bmc_restore_bridge_pci_data()
222 pci_write_config_dword(parent, base, ddata->bridge_pci_data.base_address[i]); in ls2k_bmc_restore_bridge_pci_data()
224 pci_write_config_dword(parent, PCI_ROM_ADDRESS, ddata->bridge_pci_data.rom_addreess); in ls2k_bmc_restore_bridge_pci_data()
225 pci_write_config_dword(parent, PCI_INTERRUPT_LINE, ddata->bridge_pci_data.interrupt_line); in ls2k_bmc_restore_bridge_pci_data()
[all …]
/linux/tools/testing/selftests/cgroup/
H A Dtest_kmem.c129 static int cg_run_in_subcgroups(const char *parent, in cg_run_in_subcgroups() argument
137 child = cg_name_indexed(parent, "child", i); in cg_run_in_subcgroups()
163 * threads. Then it checks the sanity of numbers on the parent level:
171 char *parent; in test_kmem_memcg_deletion() local
173 parent = cg_name(root, "kmem_memcg_deletion_test"); in test_kmem_memcg_deletion()
174 if (!parent) in test_kmem_memcg_deletion()
177 if (cg_create(parent)) in test_kmem_memcg_deletion()
180 if (cg_write(parent, "cgroup.subtree_control", "+memory")) in test_kmem_memcg_deletion()
183 if (cg_run_in_subcgroups(parent, alloc_kmem_smp, NULL, 100)) in test_kmem_memcg_deletion()
186 current = cg_read_long(parent, "memory.current"); in test_kmem_memcg_deletion()
[all …]
/linux/drivers/clk/sunxi-ng/
H A 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 …]
/linux/Documentation/i2c/
H A Di2c-topology.rst23 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.
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
50 their tasks. Since the parent adapter is not fully locked during the
72 2. M1 locks muxes on its parent (the root adapter in this case).
75 These transfers are normal I2C transfers that locks the parent
77 5. M1 feeds the I2C transfer from step 1 to its parent adapter as a
78 normal I2C transfer that locks the parent adapter.
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A 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()
168 /* configure parent txschq */ in __otx2_qos_txschq_cfg()
181 if (node->qid == OTX2_QOS_QID_INNER && !node->parent) { in __otx2_qos_txschq_cfg()
198 struct otx2_qos_node *parent) in otx2_qos_txschq_set_parent_topology() argument
204 if (parent->level == NIX_TXSCH_LVL_MDQ) in otx2_qos_txschq_set_parent_topology()
215 cfg->lvl = parent->level; in otx2_qos_txschq_set_parent_topology()
217 if (parent->level == NIX_TXSCH_LVL_TL4) in otx2_qos_txschq_set_parent_topology()
[all …]
/linux/drivers/powercap/
H A Ddtpm.c12 * parent node is a virtual description of the aggregation of the
105 struct dtpm *parent = dtpm->parent; in __dtpm_sub_power() local
107 while (parent) { in __dtpm_sub_power()
108 parent->power_min -= dtpm->power_min; in __dtpm_sub_power()
109 parent->power_max -= dtpm->power_max; in __dtpm_sub_power()
110 parent->power_limit -= dtpm->power_limit; in __dtpm_sub_power()
111 parent = parent->parent; in __dtpm_sub_power()
117 struct dtpm *parent = dtpm->parent; __dtpm_add_power() local
172 struct dtpm *parent = dtpm->parent; dtpm_release_zone() local
365 dtpm_register(const char * name,struct dtpm * dtpm,struct dtpm * parent) dtpm_register() argument
416 dtpm_setup_virtual(const struct dtpm_node * hierarchy,struct dtpm * parent) dtpm_setup_virtual() argument
438 dtpm_setup_dt(const struct dtpm_node * hierarchy,struct dtpm * parent) dtpm_setup_dt() argument
479 dtpm_for_each_child(const struct dtpm_node * hierarchy,const struct dtpm_node * it,struct dtpm * parent) dtpm_for_each_child() argument
[all...]
/linux/fs/xfs/scrub/
H A Dparent.c47 /* Parent pointers */
49 /* Look for an entry in a parent pointing to this inode. */
85 * Try to lock a parent directory for checking dirents. Returns the inode
107 * Given the inode number of the alleged parent of the inode being scrubbed,
108 * try to validate that the parent has exactly one directory entry pointing
150 * If we're an unlinked directory, the parent /won't/ have a link in xchk_parent_validate()
156 * Grab the parent directory inode. This must be released before we in xchk_parent_validate()
159 * If _iget returns -EINVAL or -ENOENT then the parent inode number is in xchk_parent_validate()
161 * -EFSCORRUPTED or -EFSBADCRC then the parent is corrupt which is a in xchk_parent_validate()
187 * We cannot yet validate this parent pointer if the directory looks as in xchk_parent_validate()
[all …]

12345678910>>...225