Home
last modified time | relevance | path

Searched refs:parent (Results 1 – 25 of 57) sorted by relevance

123

/xen/xen/common/
A Drbtree.c84 if (parent) { in __rb_change_child()
120 if (!parent) { in rb_insert_color()
172 parent = node; in rb_insert_color()
285 if (parent) in __rb_erase_color()
354 if (parent) in __rb_erase_color()
526 while ((parent = rb_parent(node)) && node == parent->rb_right) in rb_next()
527 node = parent; in rb_next()
529 return parent; in rb_next()
555 while ((parent = rb_parent(node)) && node == parent->rb_left) in rb_prev()
556 node = parent; in rb_prev()
[all …]
A Ddevice_tree.c353 return node->parent; in dt_get_parent()
399 if ( np->parent && !parent ) in __dt_n_addr_cells()
401 parent = false; in __dt_n_addr_cells()
416 if ( np->parent && !parent ) in __dt_n_size_cells()
418 parent = false; in __dt_n_size_cells()
659 if ( parent == NULL ) in dt_get_address()
765 if ( parent == NULL ) in __dt_translate_address()
789 dev = parent; in __dt_translate_address()
875 if ( parent == NULL ) in dt_for_each_range()
1039 if ( parent == NULL ) in dt_number_of_address()
[all …]
A Dhypfs.c72 static int add_entry(struct hypfs_entry_dir *parent, struct hypfs_entry *new) in add_entry() argument
79 list_for_each_entry ( e, &parent->dirlist, list ) in add_entry()
99 list_add_tail(&new->list, &parent->dirlist); in add_entry()
106 parent->e.size += DIRENTRY_SIZE(sz); in add_entry()
114 int hypfs_add_dir(struct hypfs_entry_dir *parent, in hypfs_add_dir() argument
119 ret = add_entry(parent, &dir->e); in hypfs_add_dir()
125 int hypfs_add_leaf(struct hypfs_entry_dir *parent, in hypfs_add_leaf() argument
133 ret = add_entry(parent, &leaf->e); in hypfs_add_leaf()
/xen/tools/ocaml/libs/xl/
A Dgenwrap.py138 if parent is None:
141 nparent = parent + "_" + ty.keyvar.name
185 name = "%s__anon" % parent
269 def c_val(ty, c, o, indent="", parent = None): argument
296 s += c_val(ty.elem_type, c+"[i]", "Field(%s, i)" % o, indent="\t\t", parent=parent) + "\n"
299 elif isinstance(ty,idl.Enumeration) and (parent is None):
366 def ocaml_Val(ty, o, c, indent="", parent = None): argument
393 s += "\t %s\n" % ocaml_Val(ty.elem_type, "array_elem", c + "[i]", "", parent=parent)
397 elif isinstance(ty,idl.Enumeration) and (parent is None):
408 s += "switch(%s) {\n" % (parent + ty.keyvar.name)
[all …]
/xen/xen/tools/kconfig/
A Dqconf.h48 ConfigView* parent(void) const in parent() function
50 return (ConfigView*)Parent::parent(); in parent()
105 void updateMenuList(ConfigItem *parent, struct menu*);
106 void updateMenuList(ConfigList *parent, struct menu*);
136 ConfigItem(ConfigList *parent, ConfigItem *after, bool v) in ConfigItem() argument
157 ConfigItem *_parent = (ConfigItem *)parent(); in nextSibling()
196 ConfigLineEdit(ConfigView* parent);
197 ConfigView* parent(void) const in parent() function
199 return (ConfigView*)Parent::parent(); in parent()
212 ConfigView(QWidget* parent, const char *name = 0);
[all …]
A Dmenu.c54 menu->parent = current_menu; in menu_add_entry()
297 sym = parent->sym; in menu_finalize()
298 if (parent->list) { in menu_finalize()
307 current_entry = parent; in menu_finalize()
329 } else if (parent->prompt) in menu_finalize()
334 parentdep = parent->dep; in menu_finalize()
442 basedep = parent->prompt ? parent->prompt->visible.expr : NULL; in menu_finalize()
480 menu->parent = parent; in menu_finalize()
485 parent->list = parent->next; in menu_finalize()
563 last_menu->parent = parent; in menu_finalize()
[all …]
A Dqconf.cc268 : Parent(parent) in ConfigLineEdit()
292 parent()->updateList(item); in keyPressEvent()
299 parent()->list->setFocus(); in keyPressEvent()
485 parent()->updateList(item); in setValue()
594 last = parent->firstChild(); in updateMenuList()
914 : Parent(parent) in ConfigView()
1596 struct menu *parent; in setMenuLink() local
1607 if (!parent) in setMenuLink()
1609 list->setRootMenu(parent); in setMenuLink()
1618 parent = menu_get_parent_menu(menu->parent); in setMenuLink()
[all …]
A Dexpr.h22 struct file *parent; member
226 struct menu *parent; member
/xen/tools/libxl/
A Dgentypes.py68 if parent is None:
79 if parent is None:
184 if parent is None:
357 if parent is None:
361 if parent is None:
381 if parent is None:
421 if parent is None:
440 if parent is None:
445 if parent is None:
491 if parent is None:
[all …]
A Dgentest.py28 def gen_rand_init(ty, v, indent = " ", parent = None): argument
33 if parent is None:
37 (v, parent + ty.lenvar.name, v)
43 indent + " ", parent)
46 if parent is None:
48 s += gen_rand_init(ty.keyvar.type, parent + ty.keyvar.name, indent, parent)
49 s += "switch (%s) {\n" % (parent + ty.keyvar.name)
51 (nparent,fexpr) = ty.member(v, f, parent is None)
58 and (parent is None or ty.json_gen_fn is None):
70 (ty.pass_arg(v, parent is None),
[all …]
A Dlibxl_event.c2249 ao__manip_enter(parent); in ao__abort()
2251 if (parent->aborting) { in ao__abort()
2256 parent->aborting = 1; in ao__abort()
2258 if (LIBXL_LIST_EMPTY(&parent->abortables)) { in ao__abort()
2261 parent); in ao__abort()
2268 assert(!parent->complete); in ao__abort()
2271 assert(parent == ao_nested_root(abrt->ao)); in ao__abort()
2290 ao__manip_leave(ctx, parent); in ao__abort()
2432 libxl_ctx *ctx = libxl__gc_owner(&parent->gc); in libxl__nested_ao_create()
2434 assert(parent->magic == LIBXL__AO_MAGIC); in libxl__nested_ao_create()
[all …]
/xen/tools/xenstore/
A Dxenstored_watch.c58 static bool is_child(const char *child, const char *parent) in is_child() argument
60 unsigned int len = strlen(parent); in is_child()
66 if (streq(parent, "/")) in is_child()
69 if (strncmp(child, parent, len) != 0) in is_child()
119 struct node *parent; in watch_permitted() local
138 parent = node->parent; in watch_permitted()
139 if (!parent) { in watch_permitted()
143 parent = read_node(conn, ctx, parent_name); in watch_permitted()
144 if (!parent) in watch_permitted()
148 perm = perm_for_conn(conn, &parent->perms); in watch_permitted()
A Dtalloc.c159 return tc->parent; in talloc_parent_chunk()
197 tc->parent = parent; in _talloc()
200 parent->child->parent = NULL; in _talloc()
584 if (tc->parent) { in talloc_free()
587 tc->parent->child->parent = tc->parent; in talloc_free()
652 if (tc->parent) { in _talloc_realloc()
695 tc->parent->child->parent = tc->parent; in talloc_steal()
712 if (tc->parent) { in talloc_steal()
715 tc->parent->child->parent = tc->parent; in talloc_steal()
1292 tc = tc->parent; in talloc_find_parent_byname()
[all …]
A Dxenstored_core.c511 char *parent; in get_parent() local
516 if (!parent) in get_parent()
519 return parent; in get_parent()
936 if (!parent) in construct_node()
938 if (!parent) in construct_node()
947 memcpy(children, parent->children, parent->childlen); in construct_node()
972 node->parent = parent; in construct_node()
1022 if (i->parent && in create_node()
1038 for (i = node; i->parent; i = i->parent) in create_node()
1181 if (!parent) in _rm()
[all …]
A Dtalloc_guide.txt100 recently established parent is destroyed. See talloc_reference() for
103 For more control on which parent is removed, see talloc_unlink()
119 The talloc_reference() function makes "context" an additional parent
132 - you can talloc_free() any parent of the original pointer. That
137 most recently established parent to the pointer and leave the
138 pointer as a child of its current parent.
140 For more control on which parent to remove, see talloc_unlink()
146 The talloc_unlink() function removes a specific parent from ptr. The
148 with this pointer, or must be a direct parent of ptr.
292 more than one parent (see talloc_reference()).
[all …]
/xen/tools/hotplug/Linux/
A Dcolo-proxy-setup41 do_without_error tc filter add dev $vifname parent 1: protocol ip prio 10 \
43 do_without_error tc filter add dev $vifname parent 1: protocol arp prio 11 \
45 do_without_error tc filter add dev $vifname parent 1: protocol ipv6 prio \
61 do_without_error tc filter del dev $vifname parent 1: protocol ip prio 10 u32 match u32 \
63 do_without_error tc filter del dev $vifname parent 1: protocol arp prio 11 u32 match u32 \
65 do_without_error tc filter del dev $vifname parent 1: protocol ipv6 prio 12 u32 match u32 \
A Dremus-netbuf-setup166 tc filter add dev "$vif" parent ffff: proto ip prio 10 \
180 nl-qdisc-add --dev="$ifb" --parent root plug >/dev/null 2>&1
188 nl-qdisc-add --dev="$ifb" --parent root \
204 do_without_error nl-qdisc-delete --dev="$ifb" --parent root plug >/dev/null 2>&1
/xen/xen/arch/x86/mm/
A Dmem_sharing.c1475 struct domain *parent = d->parent; in mem_sharing_fork_page() local
1488 while ( parent ) in mem_sharing_fork_page()
1493 parent = parent->parent; in mem_sharing_fork_page()
1515 parent = d->parent; in mem_sharing_fork_page()
1517 while ( parent ) in mem_sharing_fork_page()
1526 parent = parent->parent; in mem_sharing_fork_page()
1529 if ( !parent ) in mem_sharing_fork_page()
1757 if ( !cd->parent ) in fork()
1767 cd->parent = d; in fork()
1784 cd->parent = NULL; in fork()
[all …]
/xen/xen/include/xen/
A Drbtree.h134 static inline void rb_link_node(struct rb_node * node, struct rb_node * parent, in rb_link_node() argument
137 node->__rb_parent_color = (unsigned long )parent; in rb_link_node()
A Dhypfs.h107 int hypfs_add_dir(struct hypfs_entry_dir *parent,
109 int hypfs_add_leaf(struct hypfs_entry_dir *parent,
A Ddevice_tree.h87 struct dt_device_node *parent; member
589 int dt_child_n_size_cells(const struct dt_device_node *parent);
599 int dt_child_n_addr_cells(const struct dt_device_node *parent);
/xen/docs/misc/arm/
A Dpassthrough.txt46 * The interrupt-parent property will be added by the toolstack in the
118 instance, it can be referenced by interrupt-parent under a device node.
130 referenced by interrupt-parent or similar.
173 interrupt-parent = <&gic>;
/xen/xen/include/asm-x86/
A Dmem_sharing.h82 return d->parent; in mem_sharing_is_fork()
/xen/docs/misc/
A Dxenstore.txt26 We can speak of two paths being <child> and <parent>, which is the
27 case if they're identical, or if <parent> is /, or if <parent>/ is an
137 WRITE creates any missing parent paths, with empty values.
142 or any parent already exists, its value is left unchanged.
147 not exist, but it _is_ an error if <path>'s immediate parent
213 parent. A notification may omitted if a node's permissions
224 parent of <wpath>, <epath> is just
/xen/xen/include/acpi/
A Dacpixf.h87 acpi_get_handle(acpi_handle parent,

Completed in 48 milliseconds

123