Home
last modified time | relevance | path

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

12345678910>>...203

/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 …]
H A Dkobject.c26 * Returns namespace tag of @kobj if its parent has namespace ops enabled
109 const struct kobject *parent = kobj; in get_kobj_path_length() local
116 if (kobject_name(parent) == NULL) in get_kobj_path_length()
118 length += strlen(kobject_name(parent)) + 1; in get_kobj_path_length()
119 parent = parent->parent; in get_kobj_path_length()
120 } while (parent); in get_kobj_path_length()
126 const struct kobject *parent; in fill_kobj_path() local
129 for (parent = kobj; parent; parent = parent->parent) { in fill_kobj_path()
130 int cur = strlen(kobject_name(parent)); in fill_kobj_path()
135 memcpy(path + length, kobject_name(parent), cur); in fill_kobj_path()
[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/vfio/mdev/
H A 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/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 …]
/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/drivers/i2c/
H A 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/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/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/include/linux/
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/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/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/tools/testing/selftests/cgroup/
H A Dtest_kmem.c130 static int cg_run_in_subcgroups(const char *parent, in cg_run_in_subcgroups()
138 child = cg_name_indexed(parent, "child", i); in cg_run_in_subcgroups()
164 * threads. Then it checks the sanity of numbers on the parent level:
172 char *parent; in test_kmem_memcg_deletion()
174 parent = cg_name(root, "kmem_memcg_deletion_test"); in test_kmem_memcg_deletion()
175 if (!parent) in test_kmem_memcg_deletion()
178 if (cg_create(parent)) in test_kmem_memcg_deletion()
181 if (cg_write(parent, "cgroup.subtree_control", "+memory")) in test_kmem_memcg_deletion()
184 if (cg_run_in_subcgroups(parent, alloc_kmem_smp, NULL, 100)) in test_kmem_memcg_deletion()
187 current = cg_read_long(parent, "memor in test_kmem_memcg_deletion()
129 cg_run_in_subcgroups(const char * parent,int (* fn)(const char * cgroup,void * arg),void * arg,int times) cg_run_in_subcgroups() argument
171 char *parent; test_kmem_memcg_deletion() local
308 char *parent; test_kmem_dead_cgroups() local
358 char *parent, *child; test_percpu_basic() local
[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/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/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; in __dtpm_add_power() local
119 while (parent) { in __dtpm_add_power()
120 parent->power_min += dtpm->power_min; in __dtpm_add_power()
[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>>...203