/Linux-v6.1/tools/lib/ |
D | rbtree.c | 55 * 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-v6.1/lib/ |
D | rbtree.c | 55 * 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-v6.1/drivers/vfio/mdev/ |
D | mdev_core.c | 26 /* 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-v6.1/drivers/clk/ |
D | clk-gate_test.c | 31 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-v6.1/drivers/i2c/ |
D | i2c-mux.c | 44 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-v6.1/kernel/ |
D | audit_watch.c | 28 * 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-v6.1/include/linux/ |
D | debugfs.h | 67 struct dentry *debugfs_lookup(const char *name, struct dentry *parent); 70 struct dentry *parent, void *data, 73 struct dentry *parent, void *data, 77 struct dentry *parent, void *data, 81 struct dentry *debugfs_create_dir(const char *name, struct dentry *parent); 83 struct dentry *debugfs_create_symlink(const char *name, struct dentry *parent, 87 struct dentry *parent, 94 void debugfs_lookup_and_remove(const char *name, struct dentry *parent); 109 void debugfs_create_u8(const char *name, umode_t mode, struct dentry *parent, 111 void debugfs_create_u16(const char *name, umode_t mode, struct dentry *parent, [all …]
|
D | proc_fs.h | 93 struct proc_dir_entry *parent, const struct seq_operations *ops, 95 #define proc_create_seq_data(name, mode, parent, ops, data) \ argument 96 proc_create_seq_private(name, mode, parent, ops, 0, data) 97 #define proc_create_seq(name, mode, parent, ops) \ argument 98 proc_create_seq_private(name, mode, parent, ops, 0, NULL) 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) 110 struct proc_dir_entry *proc_create(const char *name, umode_t mode, struct proc_dir_entry *parent, c… 129 struct proc_dir_entry *parent, const struct seq_operations *ops, [all …]
|
/Linux-v6.1/tools/testing/selftests/drivers/net/mlxsw/ |
D | sch_offload.sh | 44 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-v6.1/tools/testing/selftests/tc-testing/tc-tests/filters/ |
D | basic.json | 15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm… 17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic", 18 …"matchPattern": "^filter parent ffff: protocol ip pref 1 basic.*handle 0x1 flowid 1:1.*cmp\\(u8 at… 37 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm… 39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic", 40 …"matchPattern": "^filter parent ffff: protocol ip pref 1 basic.*handle 0x1 flowid 1:1.*cmp\\(u8 at… 59 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm… 61 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic", 62 …"matchPattern": "^filter parent ffff: protocol ip pref 1 basic.*handle 0x1.*cmp\\(u16 at 0 layer 0… 81 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm… [all …]
|
D | flow.json | 15 …"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 …]
|
D | fw.json | 15 "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", 164 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action ok", 166 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw", 186 … "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action gact index 1", 188 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw", 207 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action continue", 209 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw", [all …]
|
D | matchall.json | 13 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act… 15 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall", 16 …"matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*r… 34 …"cmdUnderTest": "$TC filter add dev $DUMMY parent 1: handle 0x1 prio 1 protocol ip matchall action… 36 "verifyCmd": "$TC filter get dev $DUMMY parent 1: handle 1 prio 1 protocol ip matchall", 37 …"matchPattern": "^filter parent 1: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*ref … 55 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ipv6 matchall a… 57 … "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ipv6 matchall", 58 …"matchPattern": "^filter parent ffff: protocol ipv6 pref 1 matchall.*handle 0x1.*gact action drop.… 76 …"cmdUnderTest": "$TC filter add dev $DUMMY parent 1: handle 0x1 prio 1 protocol ipv6 matchall acti… [all …]
|
D | cgroup.json | 15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 cgroup match 'c… 17 "verifyCmd": "$TC filter show dev $DEV1 parent ffff:", 37 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 cgroup match 'c… 39 "verifyCmd": "$TC filter show dev $DEV1 parent ffff:", 59 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 cgroup match 'c… 61 "verifyCmd": "$TC filter show dev $DEV1 parent ffff:", 81 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 cgroup match 'c… 83 "verifyCmd": "$TC filter show dev $DEV1 parent ffff:", 103 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 0xab protocol ip prio 11 cgroup matc… 105 "verifyCmd": "$TC filter show dev $DEV1 parent ffff:", [all …]
|
D | tcindex.json | 15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 tcindex classid… 17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip tcindex", 18 …"matchPattern": "^filter parent ffff: protocol ip pref 1 tcindex chain 0 handle 0x0001 classid 1:1… 37 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 tcindex hash 32… 39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip tcindex", 40 …"matchPattern": "^filter parent ffff: protocol ip pref.*tcindex chain [0-9]+ handle 0x0001 classid… 59 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 tcindex hash 32… 61 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip tcindex", 62 …"matchPattern": "^filter parent ffff: protocol ip pref.*tcindex chain [0-9]+ handle 0x0001 classid… 81 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 tcindex hash 32… [all …]
|
/Linux-v6.1/drivers/edac/ |
D | debugfs.c | 57 struct dentry *parent; in edac_create_debugfs_nodes() local 61 parent = debugfs_create_dir(mci->dev.kobj.name, edac_debugfs); in edac_create_debugfs_nodes() 66 debugfs_create_u8(name, S_IRUGO | S_IWUSR, parent, in edac_create_debugfs_nodes() 70 debugfs_create_bool("fake_inject_ue", S_IRUGO | S_IWUSR, parent, in edac_create_debugfs_nodes() 73 debugfs_create_u16("fake_inject_count", S_IRUGO | S_IWUSR, parent, in edac_create_debugfs_nodes() 76 debugfs_create_file("fake_inject", S_IWUSR, parent, &mci->dev, in edac_create_debugfs_nodes() 79 mci->debugfs = parent; in edac_create_debugfs_nodes() 92 /* Create a toplevel dir under EDAC's debugfs hierarchy with parent @parent */ 94 edac_debugfs_create_dir_at(const char *dirname, struct dentry *parent) in edac_debugfs_create_dir_at() argument 96 return debugfs_create_dir(dirname, parent); in edac_debugfs_create_dir_at() [all …]
|
/Linux-v6.1/drivers/clk/imx/ |
D | clk.h | 111 #define imx_clk_gate_exclusive(name, parent, reg, shift, exclusive_mask) \ argument 112 to_clk(imx_clk_hw_gate_exclusive(name, parent, reg, shift, exclusive_mask)) 117 #define imx_clk_fixed_factor(name, parent, mult, div) \ argument 118 to_clk(imx_clk_hw_fixed_factor(name, parent, mult, div)) 120 #define imx_clk_divider(name, parent, reg, shift, width) \ argument 121 to_clk(imx_clk_hw_divider(name, parent, reg, shift, width)) 123 #define imx_clk_divider_flags(name, parent, reg, shift, width, flags) \ argument 124 to_clk(imx_clk_hw_divider_flags(name, parent, reg, shift, width, flags)) 126 #define imx_clk_gate(name, parent, reg, shift) \ argument 127 to_clk(imx_clk_hw_gate(name, parent, reg, shift)) [all …]
|
/Linux-v6.1/include/trace/events/ |
D | qdisc.h | 28 __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, __entry->skbaddr) 86 __field( u32, parent ) 93 __entry->parent = q->parent; [all …]
|
/Linux-v6.1/fs/kernfs/ |
D | dir.c | 20 static DEFINE_SPINLOCK(kernfs_rename_lock); /* kn->parent and ->name */ 59 return strlcpy(buf, kn->parent ? kn->name : "/", buflen); in kernfs_name_locked() 67 while (to->parent && to != from) { in kernfs_depth() 69 to = to->parent; in kernfs_depth() 87 a = a->parent; in kernfs_common_ancestor() 91 b = b->parent; in kernfs_common_ancestor() 97 b = b->parent; in kernfs_common_ancestor() 98 a = a->parent; in kernfs_common_ancestor() 171 kn = kn->parent; in kernfs_path_from_node_locked() 208 * @from: parent kernfs_node relative to which we need to build the path [all …]
|
/Linux-v6.1/tools/testing/selftests/cgroup/ |
D | test_kmem.c | 125 static int cg_run_in_subcgroups(const char *parent, in cg_run_in_subcgroups() argument 133 child = cg_name_indexed(parent, "child", i); in cg_run_in_subcgroups() 159 * threads. Then it checks the sanity of numbers on the parent level: 167 char *parent; in test_kmem_memcg_deletion() local 169 parent = cg_name(root, "kmem_memcg_deletion_test"); in test_kmem_memcg_deletion() 170 if (!parent) in test_kmem_memcg_deletion() 173 if (cg_create(parent)) in test_kmem_memcg_deletion() 176 if (cg_write(parent, "cgroup.subtree_control", "+memory")) in test_kmem_memcg_deletion() 179 if (cg_run_in_subcgroups(parent, alloc_kmem_smp, NULL, 100)) in test_kmem_memcg_deletion() 182 current = cg_read_long(parent, "memory.current"); in test_kmem_memcg_deletion() [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
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 …]
|
/Linux-v6.1/drivers/clk/sunxi-ng/ |
D | ccu_phase.c | 16 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-v6.1/Documentation/devicetree/bindings/edac/ |
D | socfpga-eccmgr.txt | 89 - altr,ecc-parent : phandle to parent Ethernet node. 97 - altr,ecc-parent : phandle to parent NAND node. 105 - altr,ecc-parent : phandle to parent DMA node. 113 - altr,ecc-parent : phandle to parent USB node. 121 - altr,ecc-parent : phandle to parent QSPI node. 129 - altr,ecc-parent : phandle to parent SD/MMC node. 164 altr,ecc-parent = <&gmac0>; 172 altr,ecc-parent = <&gmac0>; 180 altr,ecc-parent = <&nand>; 188 altr,ecc-parent = <&nand>; [all …]
|
/Linux-v6.1/fs/exportfs/ |
D | expfs.c | 78 struct dentry *parent = dget_parent(dentry); in dentry_connected() local 81 if (dentry == parent) { in dentry_connected() 82 dput(parent); in dentry_connected() 85 dentry = parent; in dentry_connected() 95 struct dentry *parent = dget_parent(dentry); in clear_disconnected() local 104 dentry = parent; in clear_disconnected() 110 * Reconnect a directory dentry with its parent. 114 * In the first case the returned dentry is the parent of the given 115 * dentry, and may itself need to be reconnected to its parent. 124 struct dentry *parent; in reconnect_one() local [all …]
|
/Linux-v6.1/security/landlock/ |
D | ptrace.c | 26 * @parent: Parent domain. 27 * @child: Potential child of @parent. 29 * Checks if the @parent domain is less or equal to (i.e. an ancestor, which 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() 43 /* @parent is in the scoped hierarchy of @child. */ in domain_scope_le() 46 /* There is no relationship between @parent and @child. */ in domain_scope_le() 50 static bool task_is_scoped(const struct task_struct *const parent, in task_is_scoped() argument [all …]
|