Home
last modified time | relevance | path

Searched refs:parent (Results 1 – 25 of 4643) sorted by relevance

12345678910>>...186

/openbmc/u-boot/lib/
H A Drbtree.c76 if (!parent) { in __rb_insert()
129 parent = node; in __rb_insert()
171 parent = node; in __rb_insert()
251 if (parent) in ____rb_erase_color()
459 while ((parent = rb_parent(node)) && node == parent->rb_right) in rb_next()
460 node = parent; in rb_next()
462 return parent; in rb_next()
488 while ((parent = rb_parent(node)) && node == parent->rb_left) in rb_prev()
489 node = parent; in rb_prev()
491 return parent; in rb_prev()
[all …]
/openbmc/linux/tools/lib/
H A Drbtree.c162 parent = node; in __rb_insert()
206 parent = node; in __rb_insert()
287 if (parent) in ____rb_erase_color()
377 if (parent) in ____rb_erase_color()
511 while ((parent = rb_parent(node)) && node == parent->rb_right) in rb_next()
512 node = parent; in rb_next()
514 return parent; in rb_next()
539 while ((parent = rb_parent(node)) && node == parent->rb_left) in rb_prev()
540 node = parent; in rb_prev()
542 return parent; in rb_prev()
[all …]
/openbmc/linux/lib/
H A Drbtree.c162 parent = node; in __rb_insert()
206 parent = node; in __rb_insert()
287 if (parent) in ____rb_erase_color()
377 if (parent) in ____rb_erase_color()
517 while ((parent = rb_parent(node)) && node == parent->rb_right) in rb_next()
518 node = parent; in rb_next()
520 return parent; in rb_next()
546 while ((parent = rb_parent(node)) && node == parent->rb_left) in rb_prev()
547 node = parent; in rb_prev()
549 return parent; in rb_prev()
[all …]
/openbmc/linux/drivers/i2c/
H A Di2c-mux.c44 struct i2c_adapter *parent = muxc->parent; in __i2c_mux_master_xfer() local
63 struct i2c_adapter *parent = muxc->parent; in i2c_mux_master_xfer() local
84 struct i2c_adapter *parent = muxc->parent; in __i2c_mux_smbus_xfer() local
106 struct i2c_adapter *parent = muxc->parent; in i2c_mux_smbus_xfer() local
127 return parent->algo->functionality(parent); in i2c_mux_functionality()
137 parent = i2c_parent_is_i2c_adapter(parent); in i2c_mux_parent_classes()
225 struct i2c_adapter *parent = muxc->parent; in i2c_mux_lock_select() local
247 struct i2c_adapter *parent = muxc->parent; in i2c_mux_unlock_deselect() local
298 muxc->parent = parent; in i2c_mux_alloc()
335 struct i2c_adapter *parent = muxc->parent; in i2c_mux_add_adapter() local
[all …]
/openbmc/qemu/util/
H A Dinterval-tree.c149 RBNode *parent; in rb_next() local
171 while ((parent = rb_parent(node)) && node == parent->rb_right) { in rb_next()
172 node = parent; in rb_next()
175 return parent; in rb_next()
181 if (!parent) { in rb_change_child()
210 if (unlikely(!parent)) { in rb_insert_augmented()
276 parent = node; in rb_insert_augmented()
321 parent = node; in rb_insert_augmented()
553 tmp = parent; in rb_erase_augmented()
561 tmp = parent; in rb_erase_augmented()
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dsch_offload.sh44 sed s/root/parent\ root/ |
129 local parent=$1; shift
138 if ((parent == 0)); then
151 local parent=$1; shift
154 if ((parent != 0)); then
240 with_$cont 8: "$parent" \
241 with_red 11: "parent 8:1" \
242 with_red 12: "parent 8:2" \
243 with_tbf 13: "parent 8:3" \
249 with_$cont 8: "$parent" \
[all …]
/openbmc/linux/drivers/vfio/mdev/
H A Dmdev_core.c29 struct mdev_parent *parent = mdev->type->parent; in mdev_device_remove_common() local
67 memset(parent, 0, sizeof(*parent)); in mdev_register_parent()
69 parent->dev = dev; in mdev_register_parent()
71 parent->types = types; in mdev_register_parent()
72 parent->nr_types = nr_types; in mdev_register_parent()
104 up_write(&parent->unreg_sem); in mdev_unregister_parent()
113 struct mdev_parent *parent = mdev->type->parent; in mdev_device_release() local
132 struct mdev_parent *parent = type->parent; in mdev_device_create() local
164 mdev->dev.parent = parent->dev; in mdev_device_create()
200 up_read(&parent->unreg_sem); in mdev_device_create()
[all …]
/openbmc/linux/kernel/
H A Daudit_watch.c61 kfree(parent); in audit_free_parent()
74 if (likely(parent)) in audit_get_parent()
80 if (likely(parent)) in audit_put_parent()
97 return parent; in audit_find_parent()
119 watch->parent = NULL; in audit_remove_watch()
142 parent = kzalloc(sizeof(*parent), GFP_KERNEL); in audit_init_parent()
156 return parent; in audit_init_parent()
221 new->parent = old->parent; in audit_dupe_watch()
390 watch->parent = parent; in audit_add_to_parent()
429 if (!parent) { in audit_add_watch()
[all …]
/openbmc/linux/drivers/clk/
H A Dclk-gate_test.c56 pdata.hw = parent; in clk_gate_register_test_parent_data()
151 struct clk_hw *parent = ctx->parent; in clk_gate_test_parent_rate() local
162 struct clk_hw *parent = ctx->parent; in clk_gate_test_enable() local
179 struct clk_hw *parent = ctx->parent; in clk_gate_test_disable() local
219 ctx->parent = parent; in clk_gate_test_init()
242 struct clk_hw *parent = ctx->parent; in clk_gate_test_invert_enable() local
259 struct clk_hw *parent = ctx->parent; in clk_gate_test_invert_disable() local
300 ctx->parent = parent; in clk_gate_test_invert_init()
315 struct clk_hw *parent = ctx->parent; in clk_gate_test_hiword_enable() local
332 struct clk_hw *parent = ctx->parent; in clk_gate_test_hiword_disable() local
[all …]
/openbmc/qemu/hw/misc/
H A Domap_clk.c30 struct clk *parent; member
73 .parent = &ck_ref,
80 .parent = &ck_ref,
113 .parent = &dpll1,
126 .parent = &dpll1,
134 .parent = &dpll1,
150 .parent = &clkm1,
618 parent = clk->parent->running; in omap_clk_update()
653 for (i = clk; i->parent; i = i->parent) { in omap_clk_rate_update()
670 clk->parent = parent; in omap_clk_reparent()
[all …]
/openbmc/linux/include/linux/
H A Ddebugfs.h93 struct dentry *parent,
145 struct dentry *parent,
149 struct dentry *parent,
156 struct dentry *parent,
160 struct dentry *parent,
212 struct dentry *parent)
225 struct dentry *parent,
291 struct dentry *parent,
311 struct dentry *parent,
324 struct dentry *parent,
[all …]
H A Dproc_fs.h96 proc_create_seq_private(name, mode, parent, ops, 0, data)
97 #define proc_create_seq(name, mode, parent, ops) \ argument
100 struct proc_dir_entry *parent,
102 #define proc_create_single(name, mode, parent, show) \ argument
103 proc_create_single_data(name, mode, parent, show, NULL)
134 struct proc_dir_entry *parent,
137 struct proc_dir_entry *parent,
142 struct proc_dir_entry *parent,
177 struct proc_dir_entry *parent) {return NULL;} in proc_mkdir() argument
210 #define remove_proc_entry(name, parent) do {} while (0) argument
[all …]
/openbmc/libbej/test/
H A Dbej_tree_test.cpp67 bejTreeInitSet(&parent, nullptr); in TEST()
68 EXPECT_THAT(parent.nChildren, 0); in TEST()
73 EXPECT_THAT(parent.nChildren, 1); in TEST()
78 EXPECT_THAT(parent.nChildren, 2); in TEST()
92 bejTreeInitSet(&parent, nullptr); in TEST()
110 bejTreeInitSet(&parent, nullptr); in TEST()
125 bejTreeInitSet(&parent, nullptr); in TEST()
144 bejTreeInitSet(&parent, nullptr); in TEST()
163 bejTreeInitSet(&parent, nullptr); in TEST()
182 bejTreeInitSet(&parent, nullptr); in TEST()
[all …]
/openbmc/linux/drivers/edac/
H A Ddebugfs.c57 struct dentry *parent; in edac_create_debugfs_nodes() local
79 mci->debugfs = parent; in edac_create_debugfs_nodes()
113 if (!parent) in edac_debugfs_create_file()
114 parent = edac_debugfs; in edac_debugfs_create_file()
122 struct dentry *parent, u8 *value) in edac_debugfs_create_x8() argument
124 if (!parent) in edac_debugfs_create_x8()
125 parent = edac_debugfs; in edac_debugfs_create_x8()
135 if (!parent) in edac_debugfs_create_x16()
136 parent = edac_debugfs; in edac_debugfs_create_x16()
146 if (!parent) in edac_debugfs_create_x32()
[all …]
/openbmc/u-boot/drivers/core/
H A Ddevice.c67 dev->parent = parent; in device_bind_common()
126 if (parent) { in device_bind_common()
143 if (parent) in device_bind_common()
156 if (parent && parent->driver->child_post_bind) { in device_bind_common()
167 if (parent) in device_bind_common()
345 if (dev->parent) { in device_probe()
400 if (dev->parent && dev->parent->driver->child_pre_probe) { in device_probe()
633 return parent; in _device_find_global_by_ofnode()
674 struct udevice *parent = dev->parent; in device_find_next_child() local
790 struct udevice *parent = dev->parent; in device_is_last_sibling() local
[all …]
/openbmc/linux/tools/testing/selftests/cgroup/
H A Dtest_kmem.c171 char *parent; in test_kmem_memcg_deletion() local
174 if (!parent) in test_kmem_memcg_deletion()
207 cg_destroy(parent); in test_kmem_memcg_deletion()
208 free(parent); in test_kmem_memcg_deletion()
308 char *parent; in test_kmem_dead_cgroups() local
313 if (!parent) in test_kmem_dead_cgroups()
340 cg_destroy(parent); in test_kmem_dead_cgroups()
341 free(parent); in test_kmem_dead_cgroups()
360 if (!parent) in test_percpu_basic()
398 cg_destroy(parent); in test_percpu_basic()
[all …]
H A Dtest_cpuset.c33 const char *parent = arg; in do_controller_fn() local
73 parent = cg_name(root, "cpuset_test_0"); in test_cpuset_perms_object()
74 if (!parent) in test_cpuset_perms_object()
79 if (cg_create(parent)) in test_cpuset_perms_object()
145 cg_destroy(parent); in test_cpuset_perms_object()
147 free(parent); in test_cpuset_perms_object()
169 char *parent = NULL, *child = NULL; in test_cpuset_perms_subtree() local
176 if (!parent) in test_cpuset_perms_subtree()
184 if (cg_create(parent)) in test_cpuset_perms_subtree()
227 cg_destroy(parent); in test_cpuset_perms_subtree()
[all …]
/openbmc/linux/fs/sysfs/
H A Ddir.c27 kernfs_path(parent, buf, PATH_MAX); in sysfs_warn_dup()
42 struct kernfs_node *parent, *kn; in sysfs_create_dir_ns() local
49 if (kobj->parent) in sysfs_create_dir_ns()
50 parent = kobj->parent->sd; in sysfs_create_dir_ns()
52 parent = sysfs_root_kn; in sysfs_create_dir_ns()
54 if (!parent) in sysfs_create_dir_ns()
63 sysfs_warn_dup(parent, kobject_name(kobj)); in sysfs_create_dir_ns()
108 struct kernfs_node *parent; in sysfs_rename_dir_ns() local
111 parent = kernfs_get_parent(kobj->sd); in sysfs_rename_dir_ns()
113 kernfs_put(parent); in sysfs_rename_dir_ns()
[all …]
H A Dsymlink.c26 if (WARN_ON(!name || !parent)) in sysfs_do_create_link_sd()
51 sysfs_warn_dup(parent, name); in sysfs_do_create_link_sd()
70 struct kernfs_node *parent = NULL; in sysfs_do_create_link() local
73 parent = sysfs_root_kn; in sysfs_do_create_link()
75 parent = kobj->sd; in sysfs_do_create_link()
77 if (!parent) in sysfs_do_create_link()
145 struct kernfs_node *parent = NULL; in sysfs_remove_link() local
148 parent = sysfs_root_kn; in sysfs_remove_link()
150 parent = kobj->sd; in sysfs_remove_link()
174 parent = sysfs_root_kn; in sysfs_rename_link_ns()
[all …]
/openbmc/linux/fs/kernfs/
H A Ddir.c87 a = a->parent; in kernfs_common_ancestor()
91 b = b->parent; in kernfs_common_ancestor()
298 parent = kn->parent; in kernfs_get_parent()
565 parent = kn->parent; in kernfs_put()
700 kn = __kernfs_new_node(kernfs_root(parent), parent, in kernfs_new_node()
704 kn->parent = parent; in kernfs_new_node()
772 struct kernfs_node *parent = kn->parent; in kernfs_add_one() local
893 parent = kernfs_find_ns(parent, name, ns); in kernfs_walk_ns()
1174 if (kn->parent && kernfs_ns_enabled(kn->parent) && in kernfs_dop_revalidate()
1494 pos->parent ? pos->parent->iattr : NULL; in __kernfs_remove()
[all …]
H A Dsymlink.c43 if (kernfs_ns_enabled(parent)) in kernfs_create_link()
64 base = parent; in kernfs_get_target_path()
65 while (base->parent) { in kernfs_get_target_path()
66 kn = target->parent; in kernfs_get_target_path()
67 while (kn->parent && base != kn) in kernfs_get_target_path()
68 kn = kn->parent; in kernfs_get_target_path()
78 base = base->parent; in kernfs_get_target_path()
83 while (kn->parent && kn != base) { in kernfs_get_target_path()
85 kn = kn->parent; in kernfs_get_target_path()
105 kn = kn->parent; in kernfs_get_target_path()
[all …]
/openbmc/linux/include/trace/events/
H A Dqdisc.h28 __field( u32, parent )
40 __entry->parent = qdisc->parent;
61 __field(u32, parent)
70 __entry->parent = qdisc->parent;
93 __entry->parent = q->parent;
98 __get_str(kind), TC_H_MAJ(__entry->parent) >> 16, TC_H_MIN(__entry->parent),
118 __entry->parent = q->parent;
123 __get_str(kind), TC_H_MAJ(__entry->parent) >> 16, TC_H_MIN(__entry->parent),
136 __field( u32, parent )
142 __entry->parent = parent;
[all …]
/openbmc/linux/drivers/clk/imx/
H A Dclk.h133 #define imx_clk_gate(name, parent, reg, shift) \ argument
134 to_clk(imx_clk_hw_gate(name, parent, reg, shift))
139 #define imx_clk_gate2(name, parent, reg, shift) \ argument
140 to_clk(imx_clk_hw_gate2(name, parent, reg, shift))
157 #define imx_clk_pllv1(type, name, parent, base) \ argument
160 #define imx_clk_pllv2(name, parent, base) \ argument
161 to_clk(imx_clk_hw_pllv2(name, parent, base))
232 const char *parent, void __iomem *base);
243 u8 parent, u8 bypass1, u8 bypass2,
357 const char *parent, in imx_clk_hw_divider_closest() argument
[all …]
/openbmc/linux/drivers/platform/surface/
H A Dsurface_aggregator_registry.c44 .parent = &ssam_node_root,
50 .parent = &ssam_node_root,
56 .parent = &ssam_node_root,
62 .parent = &ssam_node_root,
74 .parent = &ssam_node_root,
80 .parent = &ssam_node_root,
86 .parent = &ssam_node_root,
92 .parent = &ssam_node_root,
98 .parent = &ssam_node_root,
104 .parent = &ssam_node_root,
[all …]
/openbmc/libbej/src/
H A Dbej_tree.c58 bejTreeLinkChildToParent(parent, child); in bejTreeAddNull()
67 bejTreeLinkChildToParent(parent, child); in bejTreeAddInteger()
81 bejTreeLinkChildToParent(parent, child); in bejTreeAddEnum()
90 bejTreeLinkChildToParent(parent, child); in bejTreeAddString()
99 bejTreeLinkChildToParent(parent, child); in bejTreeAddReal()
113 bejTreeLinkChildToParent(parent, child); in bejTreeAddBool()
119 if (parent->firstChild == NULL) in bejTreeLinkChildToParent()
121 parent->firstChild = child; in bejTreeLinkChildToParent()
128 parent->lastChild = child; in bejTreeLinkChildToParent()
129 parent->nChildren += 1; in bejTreeLinkChildToParent()
[all …]

12345678910>>...186