Home
last modified time | relevance | path

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

12

/xen/xen/tools/kconfig/
A Dconf.c232 struct menu *child; in conf_choice() local
267 for (child = menu->list; child; child = child->next) { in conf_choice()
322 for (child = menu->list; child; child = child->next) { in conf_choice()
323 if (!child->sym || !menu_is_visible(child)) in conf_choice()
328 if (!child) in conf_choice()
335 for (child = child->list; child; child = child->next) { in conf_choice()
337 conf(child); in conf_choice()
348 struct menu *child; in conf() local
405 for (child = menu->list; child; child = child->next) in conf()
406 conf(child); in conf()
[all …]
A Dmconf.c469 struct menu *child; in build_conf() local
533 for (child = menu->list; child; child = child->next) { in build_conf()
534 if (menu_is_visible(child) && child->sym == def_sym) in build_conf()
535 def_menu = child; in build_conf()
638 for (child = menu->list; child; child = child->next) in build_conf()
639 build_conf(child); in build_conf()
798 struct menu *child; in conf_choice() local
808 for (child = menu->list; child; child = child->next) { in conf_choice()
811 if (child->sym) in conf_choice()
834 if (!child->sym) in conf_choice()
[all …]
A Dnconf.c739 struct menu *child; in build_conf() local
800 for (child = menu->list; child; child = child->next) { in build_conf()
801 if (menu_is_visible(child) && child->sym == def_sym) in build_conf()
802 def_menu = child; in build_conf()
916 for (child = menu->list; child; child = child->next) in build_conf()
917 build_conf(child); in build_conf()
1250 for (i = 0, child = menu->list; child; child = child->next) { in conf_choice()
1257 else if (child->sym) in conf_choice()
1328 child = item_data(); in conf_choice()
1329 if (!child || !menu_is_visible(child) || !child->sym) in conf_choice()
[all …]
A Dgconf.c1090 struct menu *child; in fill_row() local
1096 for (child = menu->list; child; child = child->next) { in fill_row()
1099 def_menu = child; in fill_row()
1337 struct menu *child; in display_tree() local
1345 for (child = menu->list; child; child = child->next) { in display_tree()
1346 prop = child->prompt; in display_tree()
1347 sym = child->sym; in display_tree()
1364 place_node(child, fill_row(child)); in display_tree()
1427 struct menu *child; in fixup_rootmenu() local
1431 for (child = menu->list; child; child = child->next) { in fixup_rootmenu()
[all …]
A Dqconf.cc579 struct menu* child; in updateMenuList() local
597 for (child = menu->list; child; child = child->next) { in updateMenuList()
599 type = child->prompt ? child->prompt->type : P_UNKNOWN; in updateMenuList()
616 if (!child->sym && !child->list && !child->prompt) in updateMenuList()
644 struct menu* child; in updateMenuList() local
662 for (child = menu->list; child; child = child->next) { in updateMenuList()
664 type = child->prompt ? child->prompt->type : P_UNKNOWN; in updateMenuList()
681 if (!child->sym && !child->list && !child->prompt) in updateMenuList()
1831 struct menu *child; in fixup_rootmenu() local
1835 for (child = menu->list; child; child = child->next) { in fixup_rootmenu()
[all …]
A Dmenu.c615 struct menu *child; in menu_is_empty() local
617 for (child = menu->list; child; child = child->next) { in menu_is_empty()
618 if (menu_is_visible(child)) in menu_is_empty()
626 struct menu *child; in menu_is_visible() local
651 for (child = menu->list; child; child = child->next) { in menu_is_visible()
652 if (menu_is_visible(child)) { in menu_is_visible()
/xen/tools/xenstore/
A Dtalloc.c189 tc->child = NULL; in _talloc()
199 if (parent->child) { in _talloc()
512 while (tc->child) { in talloc_free_children()
518 void *child = TC_PTR_FROM_CHUNK(tc->child); in talloc_free_children() local
520 if (tc->child->refs) { in talloc_free_children()
586 if (tc->parent->child) { in talloc_free()
653 tc->parent->child = new_ptr; in _talloc_realloc()
655 if (tc->child) { in _talloc_realloc()
694 if (tc->parent->child) { in talloc_steal()
714 if (tc->parent->child) { in talloc_steal()
[all …]
A Dxenstored_watch.c58 static bool is_child(const char *child, const char *parent) in is_child() argument
69 if (strncmp(child, parent, len) != 0) in is_child()
72 return child[len] == '/' || child[len] == '\0'; in is_child()
A Dtalloc_guide.txt25 and the pointer X->name would be a "child" of the talloc context "X"
26 which is itself a child of mem_ctx. So if you do talloc_free(mem_ctx)
69 The returned pointer is a "child" of the supplied context. This means
70 that if you talloc_free() the context then the new child disappears as
71 well. Alternatively you can free just the child.
138 pointer as a child of its current parent.
174 one destructor then you can create a zero-length child of the pointer
208 The talloc_set_name() function allocates memory as a child of the
307 currently a child of is going to be freed and you wish to keep the
323 by this pointer and all child pointers. Mostly useful for debugging.
[all …]
A Dxenstored_core.c838 char *child, *data; in send_directory_part() local
864 child = node->children + off; in send_directory_part()
866 while (len + strlen(child) < maxlen) { in send_directory_part()
867 len += strlen(child) + 1; in send_directory_part()
868 child += strlen(child) + 1; in send_directory_part()
1141 struct node *child; in delete_node() local
1146 if (child) { in delete_node()
1147 if (delete_node(conn, ctx, node, child)) in delete_node()
1604 node->children = (char *)child; in manual_node()
1605 if (child) in manual_node()
[all …]
/xen/tools/xl/
A Dxl.c252 pid_t xl_fork(xlchildnum child, const char *description) { in xl_fork() argument
253 xlchild *ch = &children[child]; in xl_fork()
275 pid_t xl_waitpid(xlchildnum child, int *status, int flags) in xl_waitpid() argument
277 xlchild *ch = &children[child]; in xl_waitpid()
296 int xl_child_pid(xlchildnum child) in xl_child_pid() argument
298 xlchild *ch = &children[child]; in xl_child_pid()
303 xlchildnum child, pid_t pid, int status) in xl_report_child_exitstatus() argument
438 int child_report(xlchildnum child) in child_report() argument
441 pid_t got = xl_waitpid(child, &status, 0); in child_report()
444 children[child].description, strerror(errno)); in child_report()
[all …]
A Dxl_migrate.c39 pid_t child; in create_migration_child() local
49 if (!child) { in create_migration_child()
68 return child; in create_migration_child()
92 pid_t child; in migration_child_report() local
104 child = xl_waitpid(child_migration, &status, WNOHANG); in migration_child_report()
106 if (child == migration_child) { in migration_child_report()
112 if (child == -1) { in migration_child_report()
117 assert(child == 0); in migration_child_report()
183 pid_t child = -1; in migrate_domain() local
200 child = create_migration_child(rune, &send_fd, &recv_fd); in migrate_domain()
[all …]
/xen/tools/libxl/
A Dlibxl_colo.h24 #define ASYNC_CALL(egc, ao, child, param, func, callback) do { \ argument
28 pid = libxl__ev_child_fork(gc, child, callback); \
43 callback(egc, child, -1, 1); \
93 libxl__ev_child child; member
A Dlibxl_exec.c281 pid_t child; in libxl__spawn_spawn() local
309 child = in libxl__spawn_spawn()
314 if (child == -1) in libxl__spawn_spawn()
316 if (!child) { in libxl__spawn_spawn()
320 int failsig = ss->midproc_cb(gc, ss, child); in libxl__spawn_spawn()
322 kill(child, failsig); in libxl__spawn_spawn()
327 pid_t got = waitpid(child, &status, 0); in libxl__spawn_spawn()
332 assert(got == child); in libxl__spawn_spawn()
363 pid_t child = ss->mid.pid; in spawn_detach() local
364 r = kill(child, SIGKILL); in spawn_detach()
[all …]
A Dlibxl_aoutils.c413 libxl__openpty_state *op = CONTAINER_OF(child, *op, child); in openpty_exited()
512 if (libxl__ev_child_inuse(&op->child)) { in libxl__openptys()
538 assert(libxl__ev_child_inuse(&aes->child)); in async_exec_timeout()
541 if (kill(aes->child.pid, SIGKILL)) { in async_exec_timeout()
543 aes->what, (unsigned long)aes->child.pid); in async_exec_timeout()
550 libxl__ev_child *child, in async_exec_done() argument
553 libxl__async_exec_state *aes = CONTAINER_OF(child, *aes, child); in async_exec_done()
570 libxl__ev_child_init(&aes->child); in libxl__async_exec_init()
580 libxl__ev_child *const child = &aes->child; in libxl__async_exec_start() local
596 pid = libxl__ev_child_fork(gc, child, async_exec_done); in libxl__async_exec_start()
[all …]
A Dlibxl_convert_callout.c42 libxl__ev_child_init(&chs->child); in libxl__conversion_helper_init()
68 pid_t pid = libxl__ev_child_fork(gc, &chs->child, helper_exited); in libxl__convert_legacy_stream()
131 libxl__kill(gc, chs->child.pid, SIGTERM, "conversion helper"); in libxl__conversion_helper_abort()
148 libxl__conversion_helper_state *chs = CONTAINER_OF(ch, *chs, child); in helper_exited()
A Dlibxl_remus_disk_drbd.c158 libxl__ev_child *child,
184 ASYNC_CALL(egc, dev->cds->ao, &dev->aodev.child, dev, in drbd_preresume()
203 libxl__ev_child *child, in checkpoint_async_call_done() argument
207 libxl__ao_device *aodev = CONTAINER_OF(child, *aodev, child); in checkpoint_async_call_done()
A Dlibxl_bootloader.c38 static void bootloader_finished(libxl__egc *egc, libxl__ev_child *child,
221 libxl__ev_child_init(&bl->child); in libxl__bootloader_init()
300 if (libxl__ev_child_inuse(&bl->child)) { in bootloader_stop()
301 r = kill(bl->child.pid, SIGTERM); in bootloader_stop()
303 rc ? "after failure, " : "", (unsigned long)bl->child.pid); in bootloader_stop()
561 pid_t pid = libxl__ev_child_fork(gc, &bl->child, bootloader_finished); in bootloader_gotptys()
635 static void bootloader_finished(libxl__egc *egc, libxl__ev_child *child, in bootloader_finished() argument
638 libxl__bootloader_state *bl = CONTAINER_OF(child, *bl, child); in bootloader_finished()
A Dlibxl_internal.c602 libxl__ev_child_init(&lock->child); in ev_slowlock_init_internal()
620 static void ev_lock_child_callback(libxl__egc *egc, libxl__ev_child *child,
670 ev_lock_child_callback(egc, &lock->child, 0, 0); in ev_lock_prepare_fork()
675 pid = libxl__ev_child_fork(gc, &lock->child, ev_lock_child_callback); in ev_lock_prepare_fork()
710 static void ev_lock_child_callback(libxl__egc *egc, libxl__ev_child *child, in ev_lock_child_callback() argument
714 libxl__ev_slowlock *lock = CONTAINER_OF(child, *lock, child); in ev_lock_child_callback()
773 assert(!libxl__ev_child_inuse(&lock->child)); in libxl__ev_slowlock_unlock()
796 libxl__ev_child_kill_deregister(lock->ao, &lock->child, SIGKILL); in libxl__ev_slowlock_dispose()
A Dlibxl_save_callout.c120 libxl__ev_child_init(&shs->child); in libxl__save_helper_init()
210 pid_t pid = libxl__ev_child_fork(gc, &shs->child, helper_exited); in run_helper()
262 libxl__kill(gc, shs->child.pid, SIGKILL, "save/restore helper"); in helper_failed()
278 libxl__kill(gc, shs->child.pid, SIGTERM, "save/restore helper"); in helper_stop()
323 libxl__save_helper_state *shs = CONTAINER_OF(ch, *shs, child); in helper_exited()
A Dlibxl_no_convert_callout.c21 libxl__ev_child_init(&chs->child); in libxl__conversion_helper_init()
A Dlibxl_colo_save.c103 libxl__ev_child_init(&css->child); in libxl__colo_save_setup()
532 libxl__ev_child *child,
541 ASYNC_CALL(egc, dss->cds.ao, &css->child, css, in colo_proxy_wait_for_checkpoint()
564 libxl__ev_child *child, in colo_proxy_async_call_done() argument
568 libxl__colo_save_state *css = CONTAINER_OF(child, *css, child); in colo_proxy_async_call_done()
A Dlibxl_event.c2431 libxl__ao *child = NULL, *root; in libxl__nested_ao_create() local
2437 child = libxl__zalloc(&ctx->nogc_gc, sizeof(*child)); in libxl__nested_ao_create()
2438 child->magic = LIBXL__AO_MAGIC; in libxl__nested_ao_create()
2439 child->nested_root = root; in libxl__nested_ao_create()
2442 LIBXL_INIT_GC(child->gc, ctx); in libxl__nested_ao_create()
2443 libxl__gc *gc = &child->gc; in libxl__nested_ao_create()
2446 return child; in libxl__nested_ao_create()
2451 assert(child->magic == LIBXL__AO_MAGIC); in libxl__nested_ao_free()
2452 libxl__ao *root = child->nested_root; in libxl__nested_ao_free()
2456 libxl_ctx *ctx = libxl__gc_owner(&child->gc); in libxl__nested_ao_free()
[all …]
/xen/xen/common/
A Drbtree.c384 struct rb_node *child = node->rb_right, *tmp = node->rb_left; in rb_erase() local
398 __rb_change_child(node, child, parent, root); in rb_erase()
399 if (child) { in rb_erase()
400 child->__rb_parent_color = pc; in rb_erase()
404 } else if (!child) { in rb_erase()
411 struct rb_node *successor = child, *child2; in rb_erase()
412 tmp = child->rb_left; in rb_erase()
423 parent = child; in rb_erase()
424 child2 = child->rb_right; in rb_erase()
446 successor->rb_right = child; in rb_erase()
[all …]
/xen/docs/misc/
A Dxenstore.txt26 We can speak of two paths being <child> and <parent>, which is the
28 initial substring of <child>. (This includes <path> being a child of
150 DIRECTORY <path>| <child-leaf-name>|*
153 <path>/<child-leaf-name>.
155 DIRECTORY_PART <path>|<offset> <gencnt>|<child-leaf-name>|*
189 The event's path matches the watch's <wpath> if it is an child
226 <epath> is a child of <wpath>, regardless.

Completed in 55 milliseconds

12