Home
last modified time | relevance | path

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

12345678910>>...155

/linux-6.3-rc2/tools/lib/
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 …]
/linux-6.3-rc2/lib/
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 …]
A Dkobject.c110 parent = parent->parent; in get_kobj_path_length()
120 for (parent = kobj; parent; parent = parent->parent) { in fill_kobj_path()
216 parent = kobject_get(kobj->parent); in kobject_add_internal()
223 kobj->parent = parent; in kobject_add_internal()
228 parent ? kobject_name(parent) : "<NULL>", in kobject_add_internal()
244 parent ? kobject_name(parent) : "'none'"); in kobject_add_internal()
365 kobj->parent = parent; in kobject_add_varg()
618 parent = kobj->parent; in kobject_del()
657 struct kobject *parent = kobj->parent; in kobject_cleanup() local
1054 if (parent && parent->ktype && parent->ktype->child_ns_type) in kobj_child_ns_ops()
[all …]
/linux-6.3-rc2/drivers/vfio/mdev/
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()
110 up_write(&parent->unreg_sem); in mdev_unregister_parent()
119 struct mdev_parent *parent = mdev->type->parent; in mdev_device_release() local
138 struct mdev_parent *parent = type->parent; in mdev_device_create() local
170 mdev->dev.parent = parent->dev; in mdev_device_create()
206 up_read(&parent->unreg_sem); in mdev_device_create()
[all …]
/linux-6.3-rc2/drivers/i2c/
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
125 struct i2c_adapter *parent = priv->muxc->parent; in i2c_mux_functionality() local
127 return parent->algo->functionality(parent); in i2c_mux_functionality()
137 parent = i2c_parent_is_i2c_adapter(parent); in i2c_mux_parent_classes()
146 struct i2c_adapter *parent = priv->muxc->parent; in i2c_mux_lock_bus() local
255 muxc->parent = parent; in i2c_mux_alloc()
287 struct i2c_adapter *parent = muxc->parent; in i2c_mux_add_adapter() local
[all …]
/linux-6.3-rc2/tools/testing/selftests/drivers/net/mlxsw/
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 …]
/linux-6.3-rc2/kernel/
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 …]
/linux-6.3-rc2/drivers/clk/
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 …]
/linux-6.3-rc2/include/linux/
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 …]
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,
174 struct proc_dir_entry *parent) {return NULL;} in proc_mkdir() argument
207 #define remove_proc_entry(name, parent) do {} while (0) argument
[all …]
/linux-6.3-rc2/drivers/edac/
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 …]
/linux-6.3-rc2/tools/testing/selftests/cgroup/
A Dtest_kmem.c167 char *parent; in test_kmem_memcg_deletion() local
170 if (!parent) in test_kmem_memcg_deletion()
210 cg_destroy(parent); in test_kmem_memcg_deletion()
211 free(parent); in test_kmem_memcg_deletion()
311 char *parent; in test_kmem_dead_cgroups() local
316 if (!parent) in test_kmem_dead_cgroups()
343 cg_destroy(parent); in test_kmem_dead_cgroups()
344 free(parent); in test_kmem_dead_cgroups()
363 if (!parent) in test_percpu_basic()
401 cg_destroy(parent); in test_percpu_basic()
[all …]
A Dtest_core.c321 if (parent) in test_cgcore_invalid_domain()
326 free(parent); in test_cgcore_invalid_domain()
362 if (parent) in test_cgcore_parent_becomes_threaded()
365 free(parent); in test_cgcore_parent_becomes_threaded()
415 if (parent) in test_cgcore_no_internal_process_constraint_on_threads()
418 free(parent); in test_cgcore_no_internal_process_constraint_on_threads()
450 if (parent) in test_cgcore_top_down_constraint_enable()
453 free(parent); in test_cgcore_top_down_constraint_enable()
491 if (parent) in test_cgcore_top_down_constraint_disable()
494 free(parent); in test_cgcore_top_down_constraint_disable()
[all …]
/linux-6.3-rc2/fs/sysfs/
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 …]
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 …]
/linux-6.3-rc2/fs/kernfs/
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()
547 parent = kn->parent; in kernfs_put()
673 kn = __kernfs_new_node(kernfs_root(parent), parent, in kernfs_new_node()
677 kn->parent = parent; in kernfs_new_node()
745 struct kernfs_node *parent = kn->parent; in kernfs_add_one() local
863 parent = kernfs_find_ns(parent, name, ns); in kernfs_walk_ns()
1142 if (kn->parent && kernfs_ns_enabled(kn->parent) && in kernfs_dop_revalidate()
1462 pos->parent ? pos->parent->iattr : NULL; in __kernfs_remove()
[all …]
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 …]
/linux-6.3-rc2/include/trace/events/
A Dqdisc.h28 __field( u32, parent )
40 __entry->parent = qdisc->parent;
61 __field(u32, parent)
70 __entry->parent = qdisc->parent;
86 __field( u32, 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),
142 __entry->parent = parent;
[all …]
/linux-6.3-rc2/drivers/clk/imx/
A Dclk.h126 #define imx_clk_gate(name, parent, reg, shift) \ argument
127 to_clk(imx_clk_hw_gate(name, parent, reg, shift))
132 #define imx_clk_gate2(name, parent, reg, shift) \ argument
133 to_clk(imx_clk_hw_gate2(name, parent, reg, shift))
150 #define imx_clk_pllv1(type, name, parent, base) \ argument
151 to_clk(imx_clk_hw_pllv1(type, name, parent, base))
153 #define imx_clk_pllv2(name, parent, base) \ argument
154 to_clk(imx_clk_hw_pllv2(name, parent, base))
228 const char *parent, void __iomem *base);
239 u8 parent, u8 bypass1, u8 bypass2,
[all …]
/linux-6.3-rc2/drivers/platform/surface/
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 …]
/linux-6.3-rc2/drivers/powercap/
A Ddtpm.c105 struct dtpm *parent = dtpm->parent; in __dtpm_sub_power() local
107 while (parent) { in __dtpm_sub_power()
111 parent = parent->parent; in __dtpm_sub_power()
117 struct dtpm *parent = dtpm->parent; in __dtpm_add_power() local
123 parent = parent->parent; in __dtpm_add_power()
172 struct dtpm *parent = dtpm->parent; in dtpm_release_zone() local
177 if (parent) in dtpm_release_zone()
378 if (parent && parent->ops) in dtpm_register()
391 parent ? &parent->zone : NULL, in dtpm_register()
397 if (parent) { in dtpm_register()
[all …]
/linux-6.3-rc2/arch/powerpc/kernel/
A Dpci_dn.c45 pbus = pbus->parent; in pci_bus_to_pdn()
83 if (!parent) in pci_get_pdn_by_devfn()
115 if (!parent) in pci_get_pdn()
154 if (!parent) in add_one_sriov_vf_pdn()
162 pdn->parent = parent; in add_one_sriov_vf_pdn()
189 if (!parent) in add_sriov_vf_pdns()
234 if (!parent) in remove_sriov_vf_pdns()
332 pdn->parent = parent ? PCI_DN(parent) : NULL; in pci_add_device_node_info()
334 if (pdn->parent) in pci_add_device_node_info()
361 if (parent) in pci_remove_device_node_info()
[all …]
/linux-6.3-rc2/drivers/s390/cio/
A Dvfio_ccw_drv.c159 kfree(parent); in vfio_ccw_free_parent()
165 struct vfio_ccw_parent *parent; in vfio_ccw_sch_probe() local
174 parent = kzalloc(sizeof(*parent), GFP_KERNEL); in vfio_ccw_sch_probe()
175 if (!parent) in vfio_ccw_sch_probe()
179 parent->dev.parent = &sch->dev; in vfio_ccw_sch_probe()
189 parent->mdev_types[0] = &parent->mdev_type; in vfio_ccw_sch_probe()
190 ret = mdev_register_parent(&parent->parent, &sch->dev, in vfio_ccw_sch_probe()
192 parent->mdev_types, 1); in vfio_ccw_sch_probe()
202 device_del(&parent->dev); in vfio_ccw_sch_probe()
204 put_device(&parent->dev); in vfio_ccw_sch_probe()
[all …]
/linux-6.3-rc2/drivers/pci/hotplug/
A Dpciehp_pci.c36 struct pci_bus *parent = bridge->subordinate; in pciehp_configure_device() local
41 dev = pci_get_slot(parent, PCI_DEVFN(0, 0)); in pciehp_configure_device()
48 pci_name(dev), pci_domain_nr(parent), parent->number); in pciehp_configure_device()
54 num = pci_scan_slot(parent, PCI_DEVFN(0, 0)); in pciehp_configure_device()
61 for_each_pci_bridge(dev, parent) in pciehp_configure_device()
65 pcie_bus_configure_settings(parent); in pciehp_configure_device()
66 pci_bus_add_devices(parent); in pciehp_configure_device()
87 struct pci_bus *parent = ctrl->pcie->port->subordinate; in pciehp_unconfigure_device() local
91 __func__, pci_domain_nr(parent), parent->number); in pciehp_unconfigure_device()
94 pci_walk_bus(parent, pci_dev_set_disconnected, NULL); in pciehp_unconfigure_device()
[all …]
/linux-6.3-rc2/arch/arm/boot/dts/
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 …]

Completed in 43 milliseconds

12345678910>>...155