Home
last modified time | relevance | path

Searched refs:parent (Results 76 - 100 of 11872) sorted by relevance

12345678910>>...475

/kernel/linux/linux-6.6/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; __dtpm_add_power() local
172 struct dtpm *parent = dtpm->parent; dtpm_release_zone() local
365 dtpm_register(const char *name, struct dtpm *dtpm, struct dtpm *parent) dtpm_register() argument
415 dtpm_setup_virtual(const struct dtpm_node *hierarchy, struct dtpm *parent) dtpm_setup_virtual() argument
437 dtpm_setup_dt(const struct dtpm_node *hierarchy, struct dtpm *parent) dtpm_setup_dt() argument
478 dtpm_for_each_child(const struct dtpm_node *hierarchy, const struct dtpm_node *it, struct dtpm *parent) dtpm_for_each_child() argument
[all...]
/third_party/alsa-utils/topology/
H A Dpre-processor.h37 snd_config_t *parent);
40 snd_config_t *obj, snd_config_t *parent);
62 snd_config_t *parent);
64 snd_config_t *parent);
66 snd_config_t *parent);
68 snd_config_t *parent);
70 snd_config_t *parent);
72 snd_config_t *parent);
74 snd_config_t *parent);
76 snd_config_t *parent);
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/pwm/
H A Dsysfs.c263 static int pwm_export_child(struct device *parent, struct pwm_device *pwm) in pwm_export_child() argument
283 export->child.parent = parent; in pwm_export_child()
297 kobject_uevent_env(&parent->kobj, KOBJ_CHANGE, pwm_prop); in pwm_export_child()
308 static int pwm_unexport_child(struct device *parent, struct pwm_device *pwm) in pwm_unexport_child() argument
317 child = device_find_child(parent, pwm, pwm_unexport_match); in pwm_unexport_child()
324 kobject_uevent_env(&parent->kobj, KOBJ_CHANGE, pwm_prop); in pwm_unexport_child()
335 static ssize_t export_store(struct device *parent, struct device_attribute *attr, const char *buf, size_t len) in export_store() argument
337 struct pwm_chip *chip = dev_get_drvdata(parent); in export_store()
356 ret = pwm_export_child(parent, pw in export_store()
365 unexport_store(struct device *parent, struct device_attribute *attr, const char *buf, size_t len) unexport_store() argument
386 npwm_show(struct device *parent, struct device_attribute *attr, char *buf) npwm_show() argument
403 pwm_class_get_state(struct device *parent, struct pwm_device *pwm, struct pwm_state *state) pwm_class_get_state() argument
436 pwm_class_resume_npwm(struct device *parent, unsigned int npwm) pwm_class_resume_npwm() argument
462 pwm_class_suspend(struct device *parent) pwm_class_suspend() argument
494 pwm_class_resume(struct device *parent) pwm_class_resume() argument
510 pwmchip_sysfs_match(struct device *parent, const void *data) pwmchip_sysfs_match() argument
517 struct device *parent; pwmchip_sysfs_export() local
531 struct device *parent; pwmchip_sysfs_unexport() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dpci_dn.c45 pbus = pbus->parent; in pci_bus_to_pdn()
62 struct pci_dn *parent, *pdn; in pci_get_pdn_by_devfn() local
82 parent = pci_bus_to_pdn(bus); in pci_get_pdn_by_devfn()
83 if (!parent) in pci_get_pdn_by_devfn()
86 list_for_each_entry(pdn, &parent->child_list, list) { in pci_get_pdn_by_devfn()
98 struct pci_dn *parent, *pdn; in pci_get_pdn() local
114 parent = pci_bus_to_pdn(pdev->bus); in pci_get_pdn()
115 if (!parent) in pci_get_pdn()
118 list_for_each_entry(pdn, &parent->child_list, list) { in pci_get_pdn()
148 static struct pci_dn *add_one_sriov_vf_pdn(struct pci_dn *parent, in add_one_sriov_vf_pdn() argument
175 struct pci_dn *parent, *pdn; add_sriov_vf_pdns() local
219 struct pci_dn *parent; remove_sriov_vf_pdns() local
287 struct device_node *parent; pci_add_device_node_info() local
344 struct device_node *parent; pci_remove_device_node_info() local
[all...]
/kernel/linux/linux-5.10/drivers/pwm/
H A Dsysfs.c241 static int pwm_export_child(struct device *parent, struct pwm_device *pwm) in pwm_export_child() argument
260 export->child.parent = parent; in pwm_export_child()
274 kobject_uevent_env(&parent->kobj, KOBJ_CHANGE, pwm_prop); in pwm_export_child()
285 static int pwm_unexport_child(struct device *parent, struct pwm_device *pwm) in pwm_unexport_child() argument
293 child = device_find_child(parent, pwm, pwm_unexport_match); in pwm_unexport_child()
299 kobject_uevent_env(&parent->kobj, KOBJ_CHANGE, pwm_prop); in pwm_unexport_child()
310 static ssize_t export_store(struct device *parent, in export_store() argument
314 struct pwm_chip *chip = dev_get_drvdata(parent); in export_store()
330 ret = pwm_export_child(parent, pw in export_store()
338 unexport_store(struct device *parent, struct device_attribute *attr, const char *buf, size_t len) unexport_store() argument
359 npwm_show(struct device *parent, struct device_attribute *attr, char *buf) npwm_show() argument
377 pwm_class_get_state(struct device *parent, struct pwm_device *pwm, struct pwm_state *state) pwm_class_get_state() argument
412 pwm_class_resume_npwm(struct device *parent, unsigned int npwm) pwm_class_resume_npwm() argument
443 pwm_class_suspend(struct device *parent) pwm_class_suspend() argument
484 pwm_class_resume(struct device *parent) pwm_class_resume() argument
500 pwmchip_sysfs_match(struct device *parent, const void *data) pwmchip_sysfs_match() argument
507 struct device *parent; pwmchip_sysfs_export() local
523 struct device *parent; pwmchip_sysfs_unexport() local
[all...]
/kernel/linux/linux-6.6/drivers/pwm/
H A Dsysfs.c241 static int pwm_export_child(struct device *parent, struct pwm_device *pwm) in pwm_export_child() argument
260 export->child.parent = parent; in pwm_export_child()
274 kobject_uevent_env(&parent->kobj, KOBJ_CHANGE, pwm_prop); in pwm_export_child()
285 static int pwm_unexport_child(struct device *parent, struct pwm_device *pwm) in pwm_unexport_child() argument
293 child = device_find_child(parent, pwm, pwm_unexport_match); in pwm_unexport_child()
299 kobject_uevent_env(&parent->kobj, KOBJ_CHANGE, pwm_prop); in pwm_unexport_child()
310 static ssize_t export_store(struct device *parent, in export_store() argument
314 struct pwm_chip *chip = dev_get_drvdata(parent); in export_store()
330 ret = pwm_export_child(parent, pw in export_store()
338 unexport_store(struct device *parent, struct device_attribute *attr, const char *buf, size_t len) unexport_store() argument
359 npwm_show(struct device *parent, struct device_attribute *attr, char *buf) npwm_show() argument
377 pwm_class_get_state(struct device *parent, struct pwm_device *pwm, struct pwm_state *state) pwm_class_get_state() argument
412 pwm_class_resume_npwm(struct device *parent, unsigned int npwm) pwm_class_resume_npwm() argument
443 pwm_class_suspend(struct device *parent) pwm_class_suspend() argument
484 pwm_class_resume(struct device *parent) pwm_class_resume() argument
499 pwmchip_sysfs_match(struct device *parent, const void *data) pwmchip_sysfs_match() argument
506 struct device *parent; pwmchip_sysfs_export() local
522 struct device *parent; pwmchip_sysfs_unexport() local
[all...]
/kernel/linux/linux-6.6/security/landlock/
H A Dptrace.c26 * @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
64 task_ptrace(const struct task_struct *const parent, const struct task_struct *const child) task_ptrace() argument
106 hook_ptrace_traceme(struct task_struct *const parent) hook_ptrace_traceme() argument
[all...]
/kernel/linux/linux-6.6/tools/include/linux/
H A Drbtree.h58 /* Postorder iteration - always visit the parent after its children */
66 static inline void rb_link_node(struct rb_node *node, struct rb_node *parent, in rb_link_node() argument
69 node->__rb_parent_color = (unsigned long)parent; in rb_link_node()
182 struct rb_node *parent = NULL; in rb_add_cached() local
186 parent = *link; in rb_add_cached()
187 if (less(node, parent)) { in rb_add_cached()
188 link = &parent->rb_left; in rb_add_cached()
190 link = &parent->rb_right; in rb_add_cached()
195 rb_link_node(node, parent, link); in rb_add_cached()
210 struct rb_node *parent in rb_add() local
238 struct rb_node *parent = NULL; rb_find_add() local
[all...]
/kernel/linux/linux-5.10/lib/
H A Dkobject.c24 * Returns namespace tag of @kobj if its parent has namespace ops enabled
132 struct kobject *parent = kobj; in get_kobj_path_length() local
139 if (kobject_name(parent) == NULL) in get_kobj_path_length()
141 length += strlen(kobject_name(parent)) + 1; in get_kobj_path_length()
142 parent = parent->parent; in get_kobj_path_length()
143 } while (parent); in get_kobj_path_length()
149 struct kobject *parent; in fill_kobj_path() local
152 for (parent in fill_kobj_path()
236 struct kobject *parent; kobject_add_internal() local
386 kobject_add_varg(struct kobject *kobj, struct kobject *parent, const char *fmt, va_list vargs) kobject_add_varg() argument
434 kobject_add(struct kobject *kobj, struct kobject *parent, const char *fmt, ...) kobject_add() argument
472 kobject_init_and_add(struct kobject *kobj, struct kobj_type *ktype, struct kobject *parent, const char *fmt, ...) kobject_init_and_add() argument
645 struct kobject *parent; kobject_del() local
689 struct kobject *parent = kobj->parent; kobject_cleanup() local
813 kobject_create_and_add(const char *name, struct kobject *parent) kobject_create_and_add() argument
1080 kobj_child_ns_ops(struct kobject *parent) kobj_child_ns_ops() argument
[all...]
/kernel/linux/linux-6.6/lib/
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 in fill_kobj_path()
213 struct kobject *parent; kobject_add_internal() local
362 kobject_add_varg(struct kobject *kobj, struct kobject *parent, const char *fmt, va_list vargs) kobject_add_varg() argument
410 kobject_add(struct kobject *kobj, struct kobject *parent, const char *fmt, ...) kobject_add() argument
448 kobject_init_and_add(struct kobject *kobj, const struct kobj_type *ktype, struct kobject *parent, const char *fmt, ...) kobject_init_and_add() argument
621 struct kobject *parent; kobject_del() local
665 struct kobject *parent = kobj->parent; kobject_cleanup() local
789 kobject_create_and_add(const char *name, struct kobject *parent) kobject_create_and_add() argument
1059 kobj_child_ns_ops(const struct kobject *parent) kobj_child_ns_ops() argument
[all...]
/third_party/skia/third_party/externals/tint/src/reader/spirv/
H A Dconstruct.cc29 : parent(the_parent), in Construct()
33 // Compare parent depth because loop and continue are siblings and in Construct()
37 : ((parent && parent->depth < the_depth) ? parent->enclosing_loop in Construct()
42 // Compare parent depth because loop and continue are siblings and in Construct()
45 : ((parent && parent->depth < the_depth) in Construct()
46 ? parent->enclosing_continue in Construct()
52 // Compare parent dept in Construct()
[all...]
/kernel/linux/linux-6.6/drivers/clk/uniphier/
H A Dclk-uniphier.h107 #define UNIPHIER_CLK_DIV(parent, div) \
108 UNIPHIER_CLK_FACTOR(parent "/" #div, -1, parent, 1, div)
110 #define UNIPHIER_CLK_DIV2(parent, div0, div1) \
111 UNIPHIER_CLK_DIV(parent, div0), \
112 UNIPHIER_CLK_DIV(parent, div1)
114 #define UNIPHIER_CLK_DIV3(parent, div0, div1, div2) \
115 UNIPHIER_CLK_DIV2(parent, div0, div1), \
116 UNIPHIER_CLK_DIV(parent, div2)
118 #define UNIPHIER_CLK_DIV4(parent, div
[all...]
/kernel/linux/linux-6.6/drivers/net/can/usb/
H A Dgs_usb.c303 struct gs_usb *parent; member
397 static inline int gs_usb_get_timestamp(const struct gs_usb *parent, in gs_usb_get_timestamp() argument
403 rc = usb_control_msg_recv(parent->udev, 0, GS_USB_BREQ_TIMESTAMP, in gs_usb_get_timestamp()
419 struct gs_usb *parent = container_of(cc, struct gs_usb, cc); variable
423 lockdep_assert_held(&parent->tc_lock);
426 spin_unlock_bh(&parent->tc_lock);
427 err = gs_usb_get_timestamp(parent, &timestamp);
428 spin_lock_bh(&parent->tc_lock);
430 dev_err(&parent->udev->dev,
440 struct gs_usb *parent; in gs_usb_timestamp_work() local
455 struct gs_usb *parent = dev->parent; gs_usb_skb_set_timestamp() local
465 gs_usb_timestamp_init(struct gs_usb *parent) gs_usb_timestamp_init() argument
484 gs_usb_timestamp_stop(struct gs_usb *parent) gs_usb_timestamp_stop() argument
571 struct gs_usb *parent = urb->context; gs_usb_receive_bulk_callback() local
871 struct gs_usb *parent = dev->parent; gs_can_open() local
1053 struct gs_usb *parent = dev->parent; gs_can_close() local
1414 struct gs_usb *parent; gs_usb_probe() local
1507 struct gs_usb *parent = usb_get_intfdata(intf); gs_usb_disconnect() local
[all...]
/kernel/liteos_a/fs/proc/src/
H A Dproc_file.c55 .parent = &g_procRootDirEntry,
71 static struct ProcDirEntry *ProcFindNode(struct ProcDirEntry *parent, const char *name) in ProcFindNode() argument
76 if ((parent == NULL) || (name == NULL)) { in ProcFindNode()
81 for (pn = parent->subdir; pn != NULL; pn = pn->next) { in ProcFindNode()
167 static int CheckProcName(const char *name, struct ProcDirEntry **parent, const char **lastName) in CheckProcName() argument
169 struct ProcDirEntry *pn = *parent; in CheckProcName()
197 *parent = pn; in CheckProcName()
203 static struct ProcDirEntry *ProcAllocNode(struct ProcDirEntry **parent, const char *name, mode_t mode) in ProcAllocNode() argument
213 if (CheckProcName(name, parent, &lastName) != 0) { in ProcAllocNode()
221 if ((S_ISDIR((*parent) in ProcAllocNode()
262 ProcAddNode(struct ProcDirEntry *parent, struct ProcDirEntry *pn) ProcAddNode() argument
301 struct ProcDirEntry *parent = pn->parent; ProcDetachNode() local
320 ProcCreateDir(struct ProcDirEntry *parent, const char *name, const struct ProcFileOperations *procFileOps, mode_t mode) ProcCreateDir() argument
342 ProcCreateFile(struct ProcDirEntry *parent, const char *name, const struct ProcFileOperations *procFileOps, mode_t mode) ProcCreateFile() argument
370 CreateProcEntry(const char *name, mode_t mode, struct ProcDirEntry *parent) CreateProcEntry() argument
438 RemoveProcEntry(const char *name, struct ProcDirEntry *parent) RemoveProcEntry() argument
470 ProcMkdirMode(const char *name, mode_t mode, struct ProcDirEntry *parent) ProcMkdirMode() argument
475 ProcMkdir(const char *name, struct ProcDirEntry *parent) ProcMkdir() argument
480 ProcCreateData(const char *name, mode_t mode, struct ProcDirEntry *parent, const struct ProcFileOperations *procFileOps, struct ProcDataParm *param) ProcCreateData() argument
496 ProcCreate(const char *name, mode_t mode, struct ProcDirEntry *parent, const struct ProcFileOperations *procFileOps) ProcCreate() argument
[all...]
/kernel/linux/linux-6.6/drivers/base/
H A Dcomponent.c61 struct device *parent; member
93 dev_name(m->parent), m->bound ? "bound" : "not bound"); in component_devices_show()
122 debugfs_create_file(dev_name(m->parent), 0444, component_debugfs_dir, m, in component_debugfs_add()
128 debugfs_lookup_and_remove(dev_name(m->parent), component_debugfs_dir); in component_debugfs_del()
141 static struct aggregate_device *__aggregate_find(struct device *parent, in __aggregate_find() argument
147 if (m->parent == parent && (!ops || m->ops == ops)) in __aggregate_find()
187 dev_dbg(adev->parent, "Looking for component %zu\n", i); in find_components()
198 dev_dbg(adev->parent, "found component %s, duplicate %u\n", in find_components()
232 dev_dbg(adev->parent, "tryin in try_to_bring_up_aggregate_device()
344 devm_component_match_release(struct device *parent, void *res) devm_component_match_release() argument
381 __component_match_add(struct device *parent, struct component_match **matchptr, void (*release)(struct device *, void *), int (*compare)(struct device *, void *), int (*compare_typed)(struct device *, int, void *), void *compare_data) __component_match_add() argument
445 component_match_add_release(struct device *parent, struct component_match **matchptr, void (*release)(struct device *, void *), int (*compare)(struct device *, void *), void *compare_data) component_match_add_release() argument
472 component_match_add_typed(struct device *parent, struct component_match **matchptr, int (*compare_typed)(struct device *, int, void *), void *compare_data) component_match_add_typed() argument
512 component_master_add_with_match(struct device *parent, const struct component_master_ops *ops, struct component_match *match) component_master_add_with_match() argument
557 component_master_del(struct device *parent, const struct component_master_ops *ops) component_master_del() argument
594 component_unbind_all(struct device *parent, void *data) component_unbind_all() argument
677 component_bind_all(struct device *parent, void *data) component_bind_all() argument
[all...]
/kernel/linux/linux-5.10/arch/c6x/platforms/
H A Dplldata.c39 .parent = &clkin1,
45 .parent = &c6x_soc_pll1.sysclks[0],
50 .parent = &c6x_soc_pll1.sysclks[0],
55 .parent = &c6x_soc_pll1.sysclks[0],
60 .parent = &c6x_soc_pll1.sysclks[0],
65 .parent = &c6x_soc_pll1.sysclks[0],
70 .parent = &c6x_soc_pll1.sysclks[0],
75 .parent = &c6x_soc_pll1.sysclks[0],
80 .parent = &c6x_soc_pll1.sysclks[0],
85 .parent
[all...]
/kernel/linux/linux-5.10/arch/arm/mach-ep93xx/
H A Dclock.c28 struct clk *parent; member
51 .parent = &clk_xtali,
58 .parent = &clk_xtali,
65 .parent = &clk_xtali,
72 .parent = &clk_xtali,
75 .parent = &clk_pll1,
78 .parent = &clk_pll1,
81 .parent = &clk_pll1,
84 .parent = &clk_xtali,
87 .parent
490 clk_set_parent(struct clk *clk, struct clk *parent) clk_set_parent() argument
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dpci_dn.c45 pbus = pbus->parent; in pci_bus_to_pdn()
62 struct pci_dn *parent, *pdn; in pci_get_pdn_by_devfn() local
82 parent = pci_bus_to_pdn(bus); in pci_get_pdn_by_devfn()
83 if (!parent) in pci_get_pdn_by_devfn()
86 list_for_each_entry(pdn, &parent->child_list, list) { in pci_get_pdn_by_devfn()
98 struct pci_dn *parent, *pdn; in pci_get_pdn() local
114 parent = pci_bus_to_pdn(pdev->bus); in pci_get_pdn()
115 if (!parent) in pci_get_pdn()
118 list_for_each_entry(pdn, &parent->child_list, list) { in pci_get_pdn()
148 static struct pci_dn *add_one_sriov_vf_pdn(struct pci_dn *parent, in add_one_sriov_vf_pdn() argument
175 struct pci_dn *parent, *pdn; add_sriov_vf_pdns() local
219 struct pci_dn *parent; remove_sriov_vf_pdns() local
287 struct device_node *parent; pci_add_device_node_info() local
344 struct device_node *parent; pci_remove_device_node_info() local
[all...]
/kernel/linux/linux-5.10/fs/exportfs/
H A Dexpfs.c78 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
214 struct dentry *dentry, *parent; reconnect_path() local
358 export_encode_fh(struct inode *inode, struct fid *fid, int *max_len, struct inode *parent) export_encode_fh() argument
385 exportfs_encode_inode_fh(struct inode *inode, struct fid *fid, int *max_len, struct inode *parent) exportfs_encode_inode_fh() argument
402 struct inode *inode = dentry->d_inode, *parent = NULL; exportfs_encode_fh() local
[all...]
/kernel/linux/linux-6.6/fs/exportfs/
H A Dexpfs.c78 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
214 struct dentry *dentry, *parent; reconnect_path() local
357 export_encode_fh(struct inode *inode, struct fid *fid, int *max_len, struct inode *parent) export_encode_fh() argument
394 exportfs_encode_inode_fh(struct inode *inode, struct fid *fid, int *max_len, struct inode *parent, int flags) exportfs_encode_inode_fh() argument
427 struct inode *inode = dentry->d_inode, *parent = NULL; exportfs_encode_fh() local
[all...]
/third_party/rust/crates/memoffset/src/
H A Dspan_of.rs103 (@helper $root:ident, $parent:path, [] ..) => {{
107 (@helper $root:ident, $parent:path, [] ..= $end:tt) => {{
108 let end = raw_field!($root, $parent, $end);
111 (@helper $root:ident, $parent:path, [] .. $end:tt) => {{
112 ($root as usize, raw_field!($root, $parent, $end) as usize)
115 (@helper $root:ident, $parent:path, # $begin:tt [] ..= $end:tt) => {{
116 let begin = raw_field!($root, $parent, $begin);
117 let end = raw_field!($root, $parent, $end);
120 (@helper $root:ident, $parent:path, # $begin:tt [] .. $end:tt) => {{
121 (raw_field!($root, $parent,
[all...]
/kernel/linux/linux-6.6/drivers/mtd/
H A Dmtdpart.c41 static struct mtd_info *allocate_partition(struct mtd_info *parent, in allocate_partition() argument
45 struct mtd_info *master = mtd_get_master(parent); in allocate_partition()
46 int wr_alignment = (parent->flags & MTD_NO_ERASE) ? in allocate_partition()
48 u64 parent_size = mtd_is_partition(parent) ? in allocate_partition()
49 parent->part.size : parent->size; in allocate_partition()
60 parent->name); in allocate_partition()
67 child->type = parent->type; in allocate_partition()
68 child->part.flags = parent->flags & ~part->mask_flags; in allocate_partition()
72 child->writesize = parent in allocate_partition()
245 mtd_add_partition(struct mtd_info *parent, const char *name, long long offset, long long length) mtd_add_partition() argument
394 add_mtd_partitions(struct mtd_info *parent, const struct mtd_partition *parts, int nbparts) add_mtd_partitions() argument
[all...]
/kernel/linux/linux-6.6/net/devlink/
H A Drate.c127 if (devlink_rate->parent) in devlink_nl_rate_fill()
129 devlink_rate->parent->name)) in devlink_nl_rate_fill()
244 struct devlink_rate *parent) in devlink_rate_is_parent_node()
246 while (parent) { in devlink_rate_is_parent_node()
247 if (parent == devlink_rate) in devlink_rate_is_parent_node()
249 parent = parent->parent; in devlink_rate_is_parent_node()
263 struct devlink_rate *parent; in devlink_nl_rate_parent_node_set() local
266 parent in devlink_nl_rate_parent_node_set()
243 devlink_rate_is_parent_node(struct devlink_rate *devlink_rate, struct devlink_rate *parent) devlink_rate_is_parent_node() argument
588 devl_rate_node_create(struct devlink *devlink, void *priv, char *node_name, struct devlink_rate *parent) devl_rate_node_create() argument
631 devl_rate_leaf_create(struct devlink_port *devlink_port, void *priv, struct devlink_rate *parent) devl_rate_leaf_create() argument
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/
H A Dtest_memcontrol.c33 char *parent, *child, *parent2 = NULL, *child2 = NULL; in test_memcg_subtree_control() local
38 parent = cg_name(root, "memcg_test_0"); in test_memcg_subtree_control()
40 if (!parent || !child) in test_memcg_subtree_control()
43 if (cg_create(parent)) in test_memcg_subtree_control()
46 if (cg_write(parent, "cgroup.subtree_control", "+memory")) in test_memcg_subtree_control()
85 cg_destroy(parent); in test_memcg_subtree_control()
87 free(parent); in test_memcg_subtree_control()
291 char *parent[3] = {NULL}; in test_memcg_protection() local
303 parent[0] = cg_name(root, "memcg_test_0"); in test_memcg_protection()
304 if (!parent[ in test_memcg_protection()
1118 char *parent, *child; test_memcg_oom_group_leaf_events() local
1190 char *parent, *child; test_memcg_oom_group_parent_events() local
[all...]
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/
H A Drb_tree.c35 /* estblish y->parent link */ in FillpRbRotateLeft()
66 /* estblish y->parent link */ in FillpRbRotateRight()
149 static int FillpRbEraseColorAtLeft(struct RbNode **x, struct RbNode **parent, struct RbRoot *root) in FillpRbEraseColorAtLeft() argument
151 struct RbNode *w = (*parent)->rbRight; in FillpRbEraseColorAtLeft()
154 (*parent)->color = RB_RED; /* parent != NIL? */ in FillpRbEraseColorAtLeft()
155 FillpRbRotateLeft((*parent), root); in FillpRbEraseColorAtLeft()
161 (*x) = (*parent); in FillpRbEraseColorAtLeft()
162 (*parent) = (*x)->rbParent; in FillpRbEraseColorAtLeft()
171 w = (*parent) in FillpRbEraseColorAtLeft()
184 FillpRbEraseColorAtRight(struct RbNode **x, struct RbNode **parent, struct RbRoot *root) FillpRbEraseColorAtRight() argument
219 FillpRbEraseColor(struct RbNode *x, struct RbNode *parent, struct RbRoot *root) FillpRbEraseColor() argument
[all...]

Completed in 17 milliseconds

12345678910>>...475