Home
last modified time | relevance | path

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

123

/xen-4.10.0-shim-comet/xen/common/
A Drbtree.c37 if (parent) in __rb_rotate_left()
60 if (parent) in __rb_rotate_right()
76 while ((parent = rb_parent(node)) && rb_is_red(parent)) in rb_insert_color()
98 tmp = parent; in rb_insert_color()
99 parent = node; in rb_insert_color()
123 tmp = parent; in rb_insert_color()
270 if (parent) in rb_erase()
338 node = parent; in rb_next()
340 return parent; in rb_next()
365 return 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()
1027 if ( parent == NULL ) in dt_number_of_address()
[all …]
/xen-4.10.0-shim-comet/tools/blktap2/drivers/
A Dhashtable_itr.c11 struct entry *parent; member
27 itr->parent = NULL; in hashtable_iterator()
71 itr->parent = itr->e; in hashtable_iterator_advance()
76 itr->parent = NULL; in hashtable_iterator_advance()
112 if (NULL == (itr->parent)) in hashtable_iterator_remove()
126 remember_parent = itr->parent; in hashtable_iterator_remove()
128 if (itr->parent == remember_e) { itr->parent = remember_parent; } in hashtable_iterator_remove()
138 struct entry *e, *parent; in hashtable_iterator_search() local
145 parent = NULL; in hashtable_iterator_search()
153 itr->parent = parent; in hashtable_iterator_search()
[all …]
A Dtapdisk-vbd.c163 td_image_t *image, *parent, *tmp; in tapdisk_vbd_validate_chain() local
268 td_image_t *log, *parent; in tapdisk_vbd_add_dirty_log() local
277 parent->storage, in tapdisk_vbd_add_dirty_log()
278 parent->flags, in tapdisk_vbd_add_dirty_log()
914 td_image_t *parent; in tapdisk_vbd_open_image() local
1242 td_image_t *parent; in __tapdisk_vbd_reissue_td_request() local
1257 treq.image = parent; in __tapdisk_vbd_reissue_td_request()
1281 td_queue_write(parent, treq); in __tapdisk_vbd_reissue_td_request()
1292 parent->memshr_id, in __tapdisk_vbd_reissue_td_request()
1303 td_queue_read(parent, treq); in __tapdisk_vbd_reissue_td_request()
[all …]
/xen-4.10.0-shim-comet/tools/blktap2/vhd/lib/
A Dvhd-util-coalesce.c62 vhd_util_coalesce_block(vhd_context_t *vhd, vhd_context_t *parent, in vhd_util_coalesce_block() argument
85 if (parent->file) in vhd_util_coalesce_block()
86 err = vhd_io_write(parent, buf, sec, vhd->spb); in vhd_util_coalesce_block()
104 if (parent->file) in vhd_util_coalesce_block()
105 err = vhd_io_write(parent, in vhd_util_coalesce_block()
132 vhd_context_t vhd, parent; in vhd_util_coalesce() local
137 parent.file = NULL; in vhd_util_coalesce()
179 err = vhd_open(&parent, pname, VHD_OPEN_RDWR); in vhd_util_coalesce()
199 err = vhd_util_coalesce_block(&vhd, &parent, parent_fd, i); in vhd_util_coalesce()
209 if (parent.file) in vhd_util_coalesce()
[all …]
A Dvhd-util-scan.c227 if (image->parent) { in vhd_util_scan_pretty_add_image()
228 img->parent = strdup(image->parent); in vhd_util_scan_pretty_add_image()
229 if (!img->parent) in vhd_util_scan_pretty_add_image()
238 free(img->parent); in vhd_util_scan_pretty_add_image()
261 parent = (image->parent ? : "none"); in vhd_util_scan_print_image_indent()
270 if (image->parent) in vhd_util_scan_print_image_indent()
271 parent = basename(image->parent); in vhd_util_scan_print_image_indent()
299 free(image->parent); in vhd_util_scan_pretty_print_tree()
302 image->parent = NULL; in vhd_util_scan_pretty_print_tree()
334 parent = *parentp; in vhd_util_scan_pretty_print_images()
[all …]
A Dvhd-util-modify.c58 int err, c, size, parent, parent_raw; in vhd_util_modify() local
64 parent = 0; in vhd_util_modify()
83 parent = 1; in vhd_util_modify()
112 if (parent) { in vhd_util_modify()
A Dvhd-util-query.c41 int ret, err, c, size, physize, parent, fields, depth; in vhd_util_query() local
46 parent = 0; in vhd_util_query()
68 parent = 1; in vhd_util_query()
107 if (parent) { in vhd_util_query()
A Dvhd-util-check.c202 char *parent; in vhd_util_check_validate_differencing_header() local
209 if (vhd_header_decode_parent(vhd, header, &parent)) in vhd_util_check_validate_differencing_header()
212 free(parent); in vhd_util_check_validate_differencing_header()
311 vhd_context_t parent; in vhd_util_check_validate_parent() local
319 if (vhd_open(&parent, ppath, in vhd_util_check_validate_parent()
323 if (vhd_uuid_compare(&vhd->header.prt_uuid, &parent.footer.uuid)) { in vhd_util_check_validate_parent()
329 vhd_close(&parent); in vhd_util_check_validate_parent()
884 char *cur, *parent; in vhd_util_check_parents() local
899 err = vhd_parent_locator_get(&vhd, &parent); in vhd_util_check_parents()
909 cur = parent; in vhd_util_check_parents()
A Dlibvhd.c1250 if (!parent) in vhd_find_parent()
1547 *parent = NULL; in vhd_parent_locator_read()
1608 *parent = name; in vhd_parent_locator_read()
1633 *parent = NULL; in vhd_parent_locator_get()
1652 *parent = location; in vhd_parent_locator_get()
2532 vhd_context_t parent; in vhd_initialize_header() local
2571 vhd_close(&parent); in vhd_initialize_header()
2629 vhd_context_t parent; in vhd_change_parent() local
2659 vhd_close(&parent); in vhd_change_parent()
2846 if (!parent) in __vhd_create()
[all …]
/xen-4.10.0-shim-comet/tools/ocaml/libs/xl/
A Dgenwrap.py135 if parent is None:
138 nparent = parent + "_" + ty.keyvar.name
182 name = "%s__anon" % parent
266 def c_val(ty, c, o, indent="", parent = None): argument
293 s += c_val(ty.elem_type, c+"[i]", "Field(%s, i)" % o, indent="\t\t", parent=parent) + "\n"
296 elif isinstance(ty,idl.Enumeration) and (parent is None):
363 def ocaml_Val(ty, o, c, indent="", parent = None): argument
390 s += "\t %s\n" % ocaml_Val(ty.elem_type, "array_elem", c + "[i]", "", parent=parent)
394 elif isinstance(ty,idl.Enumeration) and (parent is None):
405 s += "switch(%s) {\n" % (parent + ty.keyvar.name)
[all …]
/xen-4.10.0-shim-comet/xen/tools/kconfig/
A Dmenu.c54 menu->parent = current_menu; in menu_add_entry()
289 sym = parent->sym; in menu_finalize()
290 if (parent->list) { in menu_finalize()
294 current_entry = parent; in menu_finalize()
309 } else if (parent->prompt) in menu_finalize()
312 parentdep = parent->dep; in menu_finalize()
342 basedep = parent->prompt ? parent->prompt->visible.expr : NULL; in menu_finalize()
364 menu->parent = parent; in menu_finalize()
368 parent->list = parent->next; in menu_finalize()
417 last_menu->parent = parent; in menu_finalize()
[all …]
A Dqconf.h56 ConfigView* parent(void) const in parent() function
58 return (ConfigView*)Parent::parent(); in parent()
148 : Parent(parent, after), menu(m), visible(v), goParent(false) in ConfigItem()
153 : Parent(parent, after), menu(m), visible(v), goParent(false) in ConfigItem()
157 ConfigItem(Q3ListView *parent, ConfigItem *after, bool v) in ConfigItem() argument
158 : Parent(parent, after), menu(0), visible(v), goParent(true) in ConfigItem()
207 ConfigLineEdit(ConfigView* parent);
208 ConfigView* parent(void) const in parent() function
210 return (ConfigView*)Parent::parent(); in parent()
223 ConfigView(QWidget* parent, const char *name = 0);
[all …]
A Dqconf.cc300 : Parent(parent) in ConfigLineEdit()
324 parent()->updateList(item); in keyPressEvent()
331 parent()->list->setFocus(); in keyPressEvent()
510 parent()->updateList(item); in setValue()
615 last = parent->firstChild(); in updateMenuList()
871 : Parent(parent, name) in ConfigView()
1522 struct menu *parent; in setMenuLink() local
1533 if (!parent) in setMenuLink()
1535 list->setRootMenu(parent); in setMenuLink()
1544 parent = menu_get_parent_menu(menu->parent); in setMenuLink()
[all …]
/xen-4.10.0-shim-comet/tools/libxl/
A Dgentypes.py66 if parent is None:
77 if parent is None:
169 if parent is None:
350 if parent is None:
354 if parent is None:
374 if parent is None:
414 if parent is None:
433 if parent is None:
438 if parent is None:
480 if parent is None:
[all …]
A Dgentest.py26 def gen_rand_init(ty, v, indent = " ", parent = None): argument
31 if parent is None:
33 s += "%s = test_rand(8);\n" % (parent + ty.lenvar.name)
35 (v, parent + ty.lenvar.name, v)
41 indent + " ", parent)
44 if parent is None:
46 s += gen_rand_init(ty.keyvar.type, parent + ty.keyvar.name, indent, parent)
47 s += "switch (%s) {\n" % (parent + ty.keyvar.name)
56 and (parent is None or ty.json_gen_fn is None):
68 (ty.pass_arg(v, parent is None),
[all …]
A Dlibxl_event.c2035 ao__manip_enter(parent); in ao__abort()
2037 if (parent->aborting) { in ao__abort()
2042 parent->aborting = 1; in ao__abort()
2044 if (LIBXL_LIST_EMPTY(&parent->abortables)) { in ao__abort()
2047 parent); in ao__abort()
2057 assert(!parent->complete); in ao__abort()
2060 assert(parent == ao_nested_root(abrt->ao)); in ao__abort()
2077 ao__manip_leave(ctx, parent); in ao__abort()
2214 libxl_ctx *ctx = libxl__gc_owner(&parent->gc); in libxl__nested_ao_create()
2216 assert(parent->magic == LIBXL__AO_MAGIC); in libxl__nested_ao_create()
[all …]
/xen-4.10.0-shim-comet/tools/xenstore/
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_watch.c60 static bool is_child(const char *child, const char *parent) in is_child() argument
62 unsigned int len = strlen(parent); in is_child()
68 if (streq(parent, "/")) in is_child()
71 if (strncmp(child, parent, len) != 0) in is_child()
A Dxenstored_core.c398 node->parent = NULL; in read_node()
497 char *parent; in get_parent() local
502 if (!parent) in get_parent()
505 return parent; in get_parent()
913 struct node *parent, *node; in construct_node() local
921 if (!parent) in construct_node()
923 if (!parent) in construct_node()
937 memcpy(children, parent->children, parent->childlen); in construct_node()
962 node->parent = parent; in construct_node()
1143 struct node *parent; in _rm() local
[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-4.10.0-shim-comet/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-4.10.0-shim-comet/xen/include/xen/
A Drbtree.h148 static inline void rb_link_node(struct rb_node * node, struct rb_node * parent, in rb_link_node() argument
151 node->rb_parent_color = (unsigned long )parent; in rb_link_node()
A Ddevice_tree.h87 struct dt_device_node *parent; member
608 int dt_child_n_size_cells(const struct dt_device_node *parent);
618 int dt_child_n_addr_cells(const struct dt_device_node *parent);
702 void dt_child_set_range(__be32 **cellp, const struct dt_device_node *parent,

Completed in 68 milliseconds

123