Home
last modified time | relevance | path

Searched refs:child (Results 1 – 25 of 27) sorted by relevance

12

/components/dfs/dfs_v2/src/
A Ddfs_mnt.c61 rt_list_init(&mnt->child); in dfs_mnt_create()
87 if (child) in dfs_mnt_insert()
96 mnt = child; in dfs_mnt_insert()
102 child = _root_mnt; in dfs_mnt_insert()
122 child->flags |= MNT_IS_ADDLIST; in dfs_mnt_insert()
123 if (child != mnt) in dfs_mnt_insert()
126 rt_list_insert_before(&mnt->child, &child->sibling); in dfs_mnt_insert()
128 dfs_mnt_ref(child); in dfs_mnt_insert()
131 child->parent = dfs_mnt_ref(mnt); in dfs_mnt_insert()
154 if (rt_list_isempty(&mnt->child)) in dfs_mnt_remove()
[all …]
/components/lwp/
A Dlwp_pid.c886 LWP_LOCK(child); in _query_event_from_lwp()
889 rc = child->pid; in _query_event_from_lwp()
894 rc = child->pid; in _query_event_from_lwp()
900 LWP_UNLOCK(child); in _query_event_from_lwp()
902 …LOG_D("%s(child_pid=%d ('%s'), stopped=%d) => %d", __func__, child->pid, child->cmd, child->jobctl… in _query_event_from_lwp()
912 struct rt_lwp *child; in _verify_child_and_reap() local
917 if (!child) in _verify_child_and_reap()
942 struct rt_lwp *child; in _reap_any_child_pid() local
948 while (child) in _reap_any_child_pid()
957 child = child->sibling; in _reap_any_child_pid()
[all …]
A Dlwp.c278 rt_err_t lwp_children_register(struct rt_lwp *parent, struct rt_lwp *child) in lwp_children_register() argument
282 child->sibling = parent->first_child; in lwp_children_register()
283 parent->first_child = child; in lwp_children_register()
284 child->parent = parent; in lwp_children_register()
287 LOG_D("%s(parent=%p, child=%p)", __func__, parent, child); in lwp_children_register()
291 lwp_ref_inc(child); in lwp_children_register()
303 while (*lwp_node != child) in lwp_children_unregister()
308 (*lwp_node) = child->sibling; in lwp_children_unregister()
309 child->parent = RT_NULL; in lwp_children_unregister()
312 LOG_D("%s(parent=%p, child=%p)", __func__, parent, child); in lwp_children_unregister()
[all …]
A Dlwp.h208 rt_err_t lwp_children_register(struct rt_lwp *parent, struct rt_lwp *child);
209 rt_err_t lwp_children_unregister(struct rt_lwp *parent, struct rt_lwp *child);
/components/drivers/usb/cherryusb/class/hub/
A Dusbh_hub.c378 hub->child[port].parent = hub; in usbh_hub_connect()
430 struct usbh_hubport *child; in usbh_hub_disconnect() local
445 child = &hub->child[port]; in usbh_hub_disconnect()
446 usbh_hubport_release(child); in usbh_hub_disconnect()
447 child->parent = NULL; in usbh_hub_disconnect()
462 struct usbh_hubport *child; in usbh_hub_events() local
610 child = &hub->child[port]; in usbh_hub_events()
615 child->parent = hub; in usbh_hub_events()
631 child = &hub->child[port]; in usbh_hub_events()
641 child = &hub->child[port]; in usbh_hub_events()
[all …]
/components/legacy/fdt/src/
A Ddtb_get.c114 dtb_node->child = (struct dtb_node *)malloc(sizeof(struct dtb_node)); in _dtb_node_get_dtb_nodes_list()
116 if (dtb_node->properties == NULL || dtb_node->child == NULL) in _dtb_node_get_dtb_nodes_list()
137 free(dtb_node->child); in _dtb_node_get_dtb_nodes_list()
138 dtb_node->child = NULL; in _dtb_node_get_dtb_nodes_list()
245 dtb_node_head->child = (struct dtb_node *)malloc(sizeof(struct dtb_node)); in dtb_node_get_dtb_list()
248 if (dtb_node_head->properties == NULL || dtb_node_head->child == NULL) in dtb_node_get_dtb_list()
295 _dtb_node_free_dtb_node(dtb_node->child); in _dtb_node_free_dtb_node()
449 _dtb_node_printf_dtb_node_info(dtb_node->child); in _dtb_node_printf_dtb_node_info()
479 _dtb_node_get_enum_dtb_node(dtb_node->child, callback); in _dtb_node_get_enum_dtb_node()
570 dtb_node = dtb_node->child; in dtb_node_get_dtb_node_by_path()
[all …]
A Ddtb_base.c153 for (node = node->child; node; node = node->sibling) in dtb_node_find_subnode()
170 return node->child; in dtb_node_first_subnode()
456 static struct dtb_node *dtb_node_irq_find_parent(struct dtb_node *child) in dtb_node_irq_find_parent() argument
461 if (!dtb_node_get(child)) in dtb_node_irq_find_parent()
465 if (dtb_node_read_u32_array(child, "interrupt-parent", &parent, 1)) in dtb_node_irq_find_parent()
467 p = dtb_node_get_parent(child); in dtb_node_irq_find_parent()
473 dtb_node_put(child); in dtb_node_irq_find_parent()
474 child = p; in dtb_node_irq_find_parent()
A Ddtb_access.c356 else if (prev->child) in dtb_node_find_all_nodes()
358 dn = prev->child; in dtb_node_find_all_nodes()
/components/drivers/ofw/
A Dbase.c168 else if (prev->child) in ofw_get_next_node()
170 np = prev->child; in ofw_get_next_node()
194 prev = np->parent->child; in ofw_node_destroy()
198 np->parent->child = RT_NULL; in ofw_node_destroy()
715 return child; in rt_ofw_get_child_by_tag()
733 return child; in rt_ofw_get_child_by_compatible()
742 struct rt_ofw_node *child; in rt_ofw_get_child_count() local
765 struct rt_ofw_node *child; in rt_ofw_get_available_child_count() local
932 cpu_np = ofw_node_cpus->child; in rt_ofw_get_next_cpu_node()
1389 if (parent->child) in rt_ofw_append_child()
[all …]
A Dfdt.c272 int nodeoffset, child; in fdt_scan_reserved_memory() local
280 fdt_for_each_subnode(child, _fdt, nodeoffset) in fdt_scan_reserved_memory()
285 if (!rt_fdt_device_is_available(_fdt, child)) in fdt_scan_reserved_memory()
290 uname = fdt_get_name(_fdt, child, RT_NULL); in fdt_scan_reserved_memory()
291 err = fdt_reserved_memory_reg(child, uname); in fdt_scan_reserved_memory()
293 if (err == -RT_EEMPTY && fdt_getprop(_fdt, child, "size", RT_NULL)) in fdt_scan_reserved_memory()
985 if (!np->child) in fdt_unflatten_single()
999 np->child = rt_calloc(1, sizeof(struct rt_ofw_node)); in fdt_unflatten_single()
1000 np = np->child; in fdt_unflatten_single()
A Dofw.c599 if (np->child) in ofw_node_dump_dts()
602 np = np->child; in ofw_node_dump_dts()
706 np = np->child; in ofw_dts()
/components/drivers/include/drivers/
A Dofw.h43 struct rt_ofw_node *child; member
403 #define rt_ofw_foreach_child_node(parent, child) \ argument
404 for (child = rt_ofw_get_next_child(parent, RT_NULL); \
405 child; child = rt_ofw_get_next_child(parent, child))
407 #define rt_ofw_foreach_available_child_node(parent, child) \ argument
408 for (child = rt_ofw_get_next_available_child(parent, RT_NULL); child; \
409 child = rt_ofw_get_next_available_child(parent, child))
A Dusb_host.h117 struct uinstance* child[USB_HUB_PORT_NUM]; member
/components/dfs/dfs_v2/include/
A Ddfs_mnt.h31 rt_list_t child; /* the child node for mounted list */ member
56 int dfs_mnt_insert(struct dfs_mnt* mnt, struct dfs_mnt* child);
/components/net/lwip/lwip-1.4.1/src/core/snmp/
A Dmib_structs.c1072 struct nse child; in snmp_expand_tree() local
1075 child.r_ptr = NULL; in snmp_expand_tree()
1076 child.r_id = 0; in snmp_expand_tree()
1077 child.r_nl = 0; in snmp_expand_tree()
1078 while ((node_stack_cnt > 0) && (child.r_ptr == NULL)) in snmp_expand_tree()
1080 pop_node(&child); in snmp_expand_tree()
1084 if (child.r_ptr != NULL) in snmp_expand_tree()
1088 oidret->id[oidret->len] = child.r_id; in snmp_expand_tree()
1090 node = child.r_ptr; in snmp_expand_tree()
1091 ext_level = child.r_nl; in snmp_expand_tree()
/components/legacy/usb/usbhost/core/
A Dhub.c426 if(hub->child[i] != RT_NULL && hub->child[i]->status != DEV_STATUS_IDLE) in rt_usbh_hub_port_change()
428 rt_usbh_detach_instance(hub->child[i]); in rt_usbh_hub_port_change()
431 hub->child[i] = RT_NULL; in rt_usbh_hub_port_change()
446 hub->child[i] = device; in rt_usbh_hub_port_change()
619 if(hub->child[i] != RT_NULL) in rt_usbh_hub_disable()
620 rt_usbh_detach_instance(hub->child[i]); in rt_usbh_hub_disable()
/components/dfs/dfs_v2/filesystems/procfs/
A Dproc.c280 static struct proc_dentry *proc_register(struct proc_dentry *parent, struct proc_dentry *child) in proc_register() argument
282 child->parent = parent; in proc_register()
283 dfs_vfs_append_node(&parent->node, &child->node); in proc_register()
284 child->ref_count += 1; in proc_register()
285 child->pid = parent->pid; in proc_register()
287 return child; in proc_register()
/components/drivers/pic/
A Dpic.c565 struct rt_pic_irq *child; in rt_pic_handle_isr() local
567 rt_list_for_each_entry(child, &pirq->children_nodes, list) in rt_pic_handle_isr()
569 if (child->pic->ops->irq_ack) in rt_pic_handle_isr()
571 child->pic->ops->irq_ack(child); in rt_pic_handle_isr()
574 err = rt_pic_handle_isr(child); in rt_pic_handle_isr()
576 if (child->pic->ops->irq_eoi) in rt_pic_handle_isr()
578 child->pic->ops->irq_eoi(child); in rt_pic_handle_isr()
/components/drivers/ofw/libfdt/
A Dfdt_overlay.c144 int child; in overlay_adjust_node_phandles() local
155 fdt_for_each_subnode(child, fdto, node) { in overlay_adjust_node_phandles()
156 ret = overlay_adjust_node_phandles(fdto, child, delta); in overlay_adjust_node_phandles()
/components/legacy/fdt/inc/
A Ddtb_fwnode.h70 struct fwnode_handle *child);
A Ddtb_node.h84 struct dtb_node *child; member
287 for (node_ptr = (node_ptr ? node_ptr->child : NULL); \
/components/drivers/usb/cherryusb/core/
A Dusbh_core.c795 hport = &hub->child[port]; in usbh_list_all_interface_name()
826 hport = &hub->child[port]; in usbh_list_all_interface_driver()
860 hport = &hub->child[port]; in usbh_list_all_interface_desc()
892 hport = &hub->child[hub_port - 1]; in usbh_list_all_hubport()
900 hport = &hub->child[port]; in usbh_list_all_hubport()
A Dusbh_core.h136 struct usbh_hubport child[CONFIG_USBHOST_MAX_EHPORTS]; member
/components/drivers/core/
A Dplatform_ofw.c146 if (id && np->child) in platform_ofw_device_probe_once()
/components/libc/posix/pthreads/
A Dpthread.h202 int pthread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void));

Completed in 49 milliseconds

12