/openbmc/linux/include/linux/ |
H A D | rbtree_augmented.h | 73 parent = *link; in rb_add_augmented_cached() 74 if (less(node, parent)) { in rb_add_augmented_cached() 75 link = &parent->rb_left; in rb_add_augmented_cached() 77 link = &parent->rb_right; in rb_add_augmented_cached() 198 if (parent) { in __rb_change_child() 211 if (parent) { in __rb_change_child_rcu() 241 parent = __rb_parent(pc); in __rb_erase_augmented() 248 tmp = parent; in __rb_erase_augmented() 255 tmp = parent; in __rb_erase_augmented() 270 parent = successor; in __rb_erase_augmented() [all …]
|
H A D | bpf_mprog.h | 141 struct bpf_mprog_bundle *parent; member 161 if (entry == &entry->parent->a) in bpf_mprog_peer() 162 return &entry->parent->b; in bpf_mprog_peer() 164 return &entry->parent->a; in bpf_mprog_peer() 175 bundle->a.parent = bundle; in bpf_mprog_bundle_init() 176 bundle->b.parent = bundle; in bpf_mprog_bundle_init() 181 entry->parent->count++; in bpf_mprog_inc() 186 entry->parent->count--; in bpf_mprog_dec() 231 if (entry->parent->ref) { in bpf_mprog_complete_release() 233 entry->parent->ref = NULL; in bpf_mprog_complete_release() [all …]
|
H A D | rbtree.h | 173 parent = *link; in rb_add_cached() 174 if (less(node, parent)) { in rb_add_cached() 175 link = &parent->rb_left; in rb_add_cached() 177 link = &parent->rb_right; in rb_add_cached() 202 parent = *link; in rb_add() 203 if (less(node, parent)) in rb_add() 204 link = &parent->rb_left; in rb_add() 231 parent = *link; in rb_find_add() 232 c = cmp(node, parent); in rb_find_add() 235 link = &parent->rb_left; in rb_find_add() [all …]
|
/openbmc/phosphor-networkd/src/ |
H A D | dhcp_configuration.cpp | 23 Iface(bus, objPath.c_str(), Iface::action::defer_emit), parent(parent) in Configuration() 26 parent.get().manager.get().getConfDir(), parent.get().interfaceName())); in Configuration() 45 parent.get().writeConfigurationFile(); in sendHostNameEnabled() 46 parent.get().reloadConfigs(); in sendHostNameEnabled() 58 parent.get().writeConfigurationFile(); in hostNameEnabled() 59 parent.get().reloadConfigs(); in hostNameEnabled() 72 parent.get().writeConfigurationFile(); in ntpEnabled() 73 parent.get().reloadConfigs(); in ntpEnabled() 86 parent.get().writeConfigurationFile(); in dnsEnabled() 87 parent.get().reloadConfigs(); in dnsEnabled() [all …]
|
/openbmc/u-boot/drivers/clk/renesas/ |
H A D | clk-rcar-gen3.c | 100 parent->dev = clk->dev; in gen3_clk_get_parent() 101 parent->id = core->parent >> (priv->sscg ? 16 : 0); in gen3_clk_get_parent() 102 parent->id &= 0xffff; in gen3_clk_get_parent() 115 struct clk parent; in gen3_clk_setup_sdif_div() local 124 if (renesas_clk_is_mod(&parent)) in gen3_clk_setup_sdif_div() 159 struct clk parent; in gen3_clk_get_rate64() local 176 rate = gen3_clk_get_rate64(&parent); in gen3_clk_get_rate64() 224 core->parent, pll_config->pll1_mult, in gen3_clk_get_rate64() 241 core->parent, pll_config->pll3_mult, in gen3_clk_get_rate64() 277 rate = gen3_clk_get_rate64(&parent) / in gen3_clk_get_rate64() [all …]
|
H A D | clk-rcar-gen2.c | 78 struct clk parent; in gen2_clk_get_rate() local 94 rate = gen2_clk_get_rate(&parent); in gen2_clk_get_rate() 134 core->parent, value, rate); in gen2_clk_get_rate() 179 rate = gen2_clk_get_rate(&parent) / div; in gen2_clk_get_rate() 182 core->parent, div, rate); in gen2_clk_get_rate() 188 rate = gen2_clk_get_rate(&parent) / div; in gen2_clk_get_rate() 191 core->parent, div, rate); in gen2_clk_get_rate() 197 rate = gen2_clk_get_rate(&parent) / div; in gen2_clk_get_rate() 200 core->parent, div, rate); in gen2_clk_get_rate() 214 struct clk parent, pparent; in gen2_clk_setup_mmcif_div() local [all …]
|
/openbmc/linux/drivers/powercap/ |
H A D | dtpm.c | 105 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 …]
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | pci_dn.c | 45 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 …]
|
/openbmc/linux/tools/testing/selftests/cgroup/ |
H A D | test_core.c | 323 if (parent) in test_cgcore_invalid_domain() 328 free(parent); in test_cgcore_invalid_domain() 364 if (parent) in test_cgcore_parent_becomes_threaded() 367 free(parent); in test_cgcore_parent_becomes_threaded() 417 if (parent) in test_cgcore_no_internal_process_constraint_on_threads() 420 free(parent); in test_cgcore_no_internal_process_constraint_on_threads() 452 if (parent) in test_cgcore_top_down_constraint_enable() 455 free(parent); in test_cgcore_top_down_constraint_enable() 493 if (parent) in test_cgcore_top_down_constraint_disable() 496 free(parent); in test_cgcore_top_down_constraint_disable() [all …]
|
/openbmc/linux/drivers/s390/cio/ |
H A D | vfio_ccw_drv.c | 159 kfree(parent); in vfio_ccw_free_parent() 165 struct vfio_ccw_parent *parent; in vfio_ccw_sch_probe() local 174 parent = kzalloc(struct_size(parent, mdev_types, 1), 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 …]
|
/openbmc/linux/lib/ |
H A D | kobject.c | 119 parent = parent->parent; in get_kobj_path_length() 129 for (parent = kobj; parent; parent = parent->parent) { in fill_kobj_path() 225 parent = kobject_get(kobj->parent); in kobject_add_internal() 232 kobj->parent = parent; in kobject_add_internal() 237 parent ? kobject_name(parent) : "<NULL>", in kobject_add_internal() 253 parent ? kobject_name(parent) : "'none'"); in kobject_add_internal() 373 kobj->parent = parent; in kobject_add_varg() 626 parent = kobj->parent; in kobject_del() 665 struct kobject *parent = kobj->parent; in kobject_cleanup() local 1063 if (parent && parent->ktype && parent->ktype->child_ns_type) in kobj_child_ns_ops() [all …]
|
/openbmc/linux/drivers/pci/hotplug/ |
H A D | pciehp_pci.c | 36 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() 72 pci_bus_add_devices(parent); in pciehp_configure_device() 94 struct pci_bus *parent = ctrl->pcie->port->subordinate; in pciehp_unconfigure_device() local 98 __func__, pci_domain_nr(parent), parent->number); in pciehp_unconfigure_device() 101 pci_walk_bus(parent, pci_dev_set_disconnected, NULL); in pciehp_unconfigure_device() [all …]
|
/openbmc/linux/arch/arm/boot/dts/arm/ |
H A D | arm-realview-pba8.dts | 45 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 …]
|
/openbmc/linux/security/landlock/ |
H A D | ptrace.c | 32 static bool domain_scope_le(const struct landlock_ruleset *const parent, in domain_scope_le() argument 37 if (!parent) in domain_scope_le() 41 for (walker = child->hierarchy; walker; walker = walker->parent) { in domain_scope_le() 42 if (walker == parent->hierarchy) in domain_scope_le() 50 static bool task_is_scoped(const struct task_struct *const parent, in task_is_scoped() argument 57 dom_parent = landlock_get_task_domain(parent); in task_is_scoped() 64 static int task_ptrace(const struct task_struct *const parent, in task_ptrace() argument 68 if (!landlocked(parent)) in task_ptrace() 70 if (task_is_scoped(parent, child)) in task_ptrace() 106 static int hook_ptrace_traceme(struct task_struct *const parent) in hook_ptrace_traceme() argument [all …]
|
/openbmc/linux/fs/sysfs/ |
H A D | group.c | 70 remove_files(parent, grp); in create_files() 100 remove_files(parent, grp); in create_files() 288 kn = parent; in sysfs_remove_group() 340 if (!parent) in sysfs_merge_group() 352 kernfs_put(parent); in sysfs_merge_group() 370 if (parent) { in sysfs_unmerge_group() 373 kernfs_put(parent); in sysfs_unmerge_group() 392 if (!parent) in sysfs_add_link_to_group() 396 kernfs_put(parent); in sysfs_add_link_to_group() 414 if (parent) { in sysfs_remove_link_from_group() [all …]
|
/openbmc/linux/fs/exportfs/ |
H A D | expfs.c | 82 dput(parent); in dentry_connected() 85 dentry = parent; in dentry_connected() 104 dentry = parent; in clear_disconnected() 134 if (IS_ERR(parent)) { in reconnect_one() 137 return parent; in reconnect_one() 169 return parent; in reconnect_one() 172 dput(parent); in reconnect_one() 175 dput(parent); in reconnect_one() 226 if (!parent) in reconnect_path() 231 dentry = parent; in reconnect_path() [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | qos.c | 210 cfg->lvl = parent->level; in otx2_qos_txschq_set_parent_topology() 347 cfg->schq_contig[parent->level - 1] += parent->child_dwrr_cnt + in otx2_qos_fill_cfg_tl() 409 node->parent = NULL; in otx2_qos_alloc_root() 459 parent = node; in otx2_qos_alloc_txschq_node() 465 txschq_node->parent = parent; in otx2_qos_alloc_txschq_node() 483 parent = txschq_node; in otx2_qos_alloc_txschq_node() 510 node->parent = parent; in otx2_qos_sw_create_leaf_node() 1230 if (!parent) { in otx2_qos_leaf_alloc_queue() 1496 parent = node->parent; in otx2_qos_leaf_del() 1549 parent = otx2_sw_node_find(pfvf, node->parent->classid); in otx2_qos_leaf_del_last() [all …]
|
/openbmc/linux/drivers/pwm/ |
H A D | sysfs.c | 260 export->child.parent = parent; in pwm_export_child() 330 ret = pwm_export_child(parent, pwm); in export_store() 476 pwm_class_resume_npwm(parent, i); in pwm_class_suspend() 501 return dev_get_drvdata(parent) == data; in pwmchip_sysfs_match() 506 struct device *parent; in pwmchip_sysfs_export() local 514 if (IS_ERR(parent)) { in pwmchip_sysfs_export() 522 struct device *parent; in pwmchip_sysfs_unexport() local 527 if (!parent) in pwmchip_sysfs_unexport() 534 pwm_unexport_child(parent, pwm); in pwmchip_sysfs_unexport() 537 put_device(parent); in pwmchip_sysfs_unexport() [all …]
|
/openbmc/qemu/scripts/qapi/ |
H A D | source.py | 36 def __init__(self, fname: str, parent: Optional['QAPISourceInfo']): 39 self.parent = parent 41 parent.pragma if parent else QAPISchemaPragma() 66 parent = self.parent 67 while parent: 68 ret = 'In file included from %s:\n' % parent.loc() + ret 69 parent = parent.parent
|
/openbmc/linux/drivers/base/ |
H A D | component.c | 61 struct device *parent; member 147 if (m->parent == parent && (!ops || m->ops == ops)) in __aggregate_find() 249 ret = adev->ops->bind(adev->parent); in try_to_bring_up_aggregate_device() 257 devres_close_group(adev->parent, NULL); in try_to_bring_up_aggregate_device() 281 adev->ops->unbind(adev->parent); in take_down_aggregate_device() 353 mc->release(parent, mc->data); in devm_component_match_release() 401 devres_add(parent, match); in __component_match_add() 528 adev->parent = parent; in component_master_add_with_match() 563 adev = __aggregate_find(parent, ops); in component_master_del() 602 adev = __aggregate_find(parent, NULL); in component_unbind_all() [all …]
|
/openbmc/linux/security/apparmor/ |
H A D | policy_ns.c | 48 for ( ; view; view = view->parent) { in aa_ns_visible() 49 if (view->parent == curr) in aa_ns_visible() 155 aa_put_ns(ns->parent); in aa_free_ns() 259 AA_BUG(!parent); in __aa_create_ns() 261 AA_BUG(!mutex_is_locked(&parent->lock)); in __aa_create_ns() 266 ns->level = parent->level + 1; in __aa_create_ns() 276 ns->parent = aa_get_ns(parent); in __aa_create_ns() 323 mutex_lock_nested(&parent->lock, parent->level); in aa_prepare_ns() 329 mutex_unlock(&parent->lock); in aa_prepare_ns() 353 if (ns->parent) { in destroy_ns() [all …]
|
/openbmc/linux/drivers/vfio/mdev/ |
H A D | mdev_sysfs.c | 160 put_device(type->parent->dev); in mdev_type_release() 174 type->parent = parent; in mdev_type_add() 176 get_device(parent->dev); in mdev_type_add() 212 for (i = 0; i < parent->nr_types; i++) in parent_remove_sysfs_files() 213 mdev_type_remove(parent->types[i]); in parent_remove_sysfs_files() 214 kset_unregister(parent->mdev_types_kset); in parent_remove_sysfs_files() 222 NULL, &parent->dev->kobj); in parent_create_sysfs_files() 223 if (!parent->mdev_types_kset) in parent_create_sysfs_files() 226 for (i = 0; i < parent->nr_types; i++) { in parent_create_sysfs_files() 227 ret = mdev_type_add(parent, parent->types[i]); in parent_create_sysfs_files() [all …]
|
/openbmc/linux/fs/proc/ |
H A D | generic.c | 103 parent = *new; in pde_subdir_insert() 373 dp->parent = dir; in proc_register() 420 if (is_empty_pde(*parent)) { in __proc_create() 447 proc_set_user(ent, (*parent)->uid, (*parent)->gid); in __proc_create() 518 struct proc_dir_entry *parent) in proc_mkdir() argument 567 struct proc_dir_entry *parent, in proc_create_data() argument 577 return proc_register(parent, p); in proc_create_data() 647 struct proc_dir_entry *parent, in proc_create_single_data() argument 706 parent->nlink--; in remove_proc_entry() 764 next = de->parent; in remove_proc_subtree() [all …]
|
/openbmc/u-boot/drivers/mtd/ |
H A D | mtdpart.c | 240 if (sz < parent->writesize || do_div(sz, parent->writesize)) { in mtd_parse_partitions() 296 res = mtd->parent->_read(mtd->parent, from + mtd->offset, len, in part_read() 436 return mtd->parent->_writev(mtd->parent, vecs, count, in part_writev() 446 ret = mtd->parent->_erase(mtd->parent, instr); in part_erase() 484 mtd->parent->_sync(mtd->parent); in part_sync() 490 return mtd->parent->_suspend(mtd->parent); in part_suspend() 495 mtd->parent->_resume(mtd->parent); in part_resume() 502 return mtd->parent->_block_isreserved(mtd->parent, ofs); in part_block_isreserved() 508 return mtd->parent->_block_isbad(mtd->parent, ofs); in part_block_isbad() 516 res = mtd->parent->_block_markbad(mtd->parent, ofs); in part_block_markbad() [all …]
|
/openbmc/u-boot/drivers/virtio/ |
H A D | virtio-uclass.c | 34 ops = virtio_get_ops(vdev->parent); in virtio_get_config() 44 ops = virtio_get_ops(vdev->parent); in virtio_set_config() 53 ops = virtio_get_ops(vdev->parent); in virtio_generation() 64 ops = virtio_get_ops(vdev->parent); in virtio_get_status() 73 ops = virtio_get_ops(vdev->parent); in virtio_set_status() 82 ops = virtio_get_ops(vdev->parent); in virtio_reset() 84 return ops->reset(vdev->parent); in virtio_reset() 91 ops = virtio_get_ops(vdev->parent); in virtio_get_features() 100 ops = virtio_get_ops(vdev->parent); in virtio_set_features() 110 ops = virtio_get_ops(vdev->parent); in virtio_find_vqs() [all …]
|