Home
last modified time | relevance | path

Searched refs:child (Results 76 – 100 of 426) sorted by relevance

12345678910>>...18

/illumos-gate/usr/src/cmd/tip/aculib/
H A Dv831.c25 static int child = -1; variable
46 (void) kill(child, SIGKILL); in v831_dialer()
53 if ((child = fork()) == 0) { in v831_dialer()
75 (void) kill(child, SIGKILL); in v831_dialer()
81 while ((pid = wait(&status)) != child && pid != -1) in v831_dialer()
132 if (child > 0) in v831_abort()
133 (void) kill(child, SIGKILL); in v831_abort()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_ire.c2817 if (ire == child) in parent_has_child()
2839 if (child != NULL) { in ire_dep_verify()
2926 ire_dep_verify(child); in ire_dep_parent_insert()
2951 ire_dep_verify(child); in ire_dep_parent_insert()
3259 child = child->ire_dep_sib_next; in ire_dep_invalidate_children()
3276 child = child->ire_dep_sib_next; in ire_dep_increment_children()
3547 ire_t *child, *next; in ire_dep_delete_if_clone() local
3560 ire_refhold(child); in ire_dep_delete_if_clone()
3562 ire_delete(child); in ire_dep_delete_if_clone()
3564 ire_refrele(child); in ire_dep_delete_if_clone()
[all …]
/illumos-gate/usr/src/uts/sun4u/sys/pci/
H A Dpci_util.h36 extern int init_child(pci_t *pci_p, dev_info_t *child);
37 extern int uninit_child(pci_t *pci_p, dev_info_t *child);
54 extern uint_t get_nreg_set(dev_info_t *child);
55 extern uint_t get_nintr(dev_info_t *child);
/illumos-gate/usr/src/test/libc-tests/tests/random/
H A Darc4random_fork.c43 pid_t p, child; in main() local
64 child = wait(&e); in main()
65 } while (child == -1 && errno == EINTR); in main()
66 assert(child == p); in main()
H A Darc4random_forkall.c43 pid_t p, child; in main() local
64 child = wait(&e); in main()
65 } while (child == -1 && errno == EINTR); in main()
66 assert(child == p); in main()
H A Darc4random_forksig.c53 pid_t child; in main() local
84 child = wait(&e); in main()
85 } while (child == -1 && errno == EINTR); in main()
86 assert(child == pid); in main()
/illumos-gate/usr/src/tools/smatch/src/
H A Davl.c358 *child = node->lr[side]; in balance() local
362 if (child->balance != -bal) { in balance()
364 node->lr[side] = child->lr[opposite]; in balance()
365 child->lr[opposite] = node; in balance()
366 *p = child; in balance()
368 child->balance -= bal; in balance()
369 node->balance = -child->balance; in balance()
373 AvlNode *grandchild = child->lr[opposite]; in balance()
377 grandchild->lr[side] = child; in balance()
382 child->balance = 0; in balance()
[all …]
H A Dflow.c530 struct basic_block *child; in mark_bb_reachable() local
535 FOR_EACH_PTR(bb->children, child) { in mark_bb_reachable()
536 mark_bb_reachable(child, generation); in mark_bb_reachable()
537 } END_FOR_EACH_PTR(child); in mark_bb_reachable()
555 struct basic_block *child, *parent; in kill_bb() local
569 FOR_EACH_PTR(bb->children, child) { in kill_bb()
571 } END_FOR_EACH_PTR(child); in kill_bb()
784 FOR_EACH_PTR(parent->children, child) { in pack_basic_blocks()
785 if (child != bb) in pack_basic_blocks()
787 } END_FOR_EACH_PTR(child); in pack_basic_blocks()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpinex/
H A Dacpinex_drv.c352 name_child(dev_info_t *child, char *name, int namelen) in name_child() argument
356 ddi_set_parent_data(child, NULL); in name_child()
359 if (ddi_prop_lookup_string(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS, in name_child()
365 "unit-address prop for %p.", (void *)child); in name_child()
372 init_child(dev_info_t *child) in init_child() argument
376 (void) name_child(child, name, MAXNAMELEN); in init_child()
377 ddi_set_name_addr(child, name); in init_child()
378 if ((ndi_dev_is_persistent_node(child) == 0) && in init_child()
379 (ndi_merge_node(child, name_child) == DDI_SUCCESS)) { in init_child()
380 impl_ddi_sunbus_removechild(child); in init_child()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_load-key/
H A Dzfs_load-key_recursive.ksh53 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1/child
56 log_must zfs unload-key $TESTPOOL/$TESTFS1/child
61 log_must key_available $TESTPOOL/$TESTFS1/child
64 log_must zfs mount $TESTPOOL/$TESTFS1/child
/illumos-gate/usr/src/uts/sun4v/io/niumx/
H A Dniumx.c151 static int niumx_initchild(dev_info_t *child);
541 ddi_driver_name(child)); in niumx_name_child()
568 niumx_initchild(dev_info_t *child) in niumx_initchild() argument
586 ddi_driver_name(child)); in niumx_initchild()
594 ddi_set_name_addr(child, name); in niumx_initchild()
595 ddi_set_parent_data(child, NULL); in niumx_initchild()
605 ddi_set_name_addr(child, NULL); in niumx_initchild()
615 ddi_driver_name(child), ddi_get_name_addr(child), in niumx_initchild()
616 ddi_driver_name(child)); in niumx_initchild()
617 ddi_set_name_addr(child, NULL); in niumx_initchild()
[all …]
/illumos-gate/usr/src/cmd/modload/
H A Dmodunload.c50 int child; in main() local
76 child = fork(); in main()
77 if (child == -1) in main()
79 else if (child == 0) in main()
/illumos-gate/usr/src/lib/fm/topo/modules/common/nic/
H A Dtopo_nic.c417 di_node_t child; in nic_enum_nexus() local
424 for (child = di_child_node(din); child != DI_NODE_NIL; in nic_enum_nexus()
425 child = di_sibling_node(child)) { in nic_enum_nexus()
429 if (!nic_enum_devinfo_linkid(handle, child, &linkid)) in nic_enum_nexus()
444 for (child = di_child_node(din); child != DI_NODE_NIL; in nic_enum_nexus()
445 child = di_sibling_node(child)) { in nic_enum_nexus()
449 if (!nic_enum_devinfo_linkid(handle, child, &linkid)) in nic_enum_nexus()
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpcieb.c870 ddi_driver_name(child)); in pcieb_name_child()
928 ddi_set_name_addr(child, name); in pcieb_initchild()
964 ddi_driver_name(child), ddi_get_name_addr(child), in pcieb_initchild()
965 ddi_driver_name(child)); in pcieb_initchild()
966 ddi_set_name_addr(child, NULL); in pcieb_initchild()
972 pcieb_plat_initchild(child); in pcieb_initchild()
993 ddi_get_name_addr(child)); in pcieb_initchild()
1001 ddi_node_name(child), ddi_get_name_addr(child)); in pcieb_initchild()
1003 pcie_init_dom(child); in pcieb_initchild()
1007 pcie_fini_dom(child); in pcieb_initchild()
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/cmd/badioctl/
H A Dbadioctl.c115 pid_t child, parent = getpid(); in main() local
119 if ((child = fork()) == 0) in main()
122 while (waitpid(child, &status, WEXITED) != child) in main()
/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfc_ops.c102 fc_ops_alloc_handle(dev_info_t *ap, dev_info_t *child, in fc_ops_alloc_handle() argument
111 rp->child = child; in fc_ops_alloc_handle()
510 if (rp->child != NULL) { in fco_new_device()
511 if (cdev != rp->child) in fco_new_device()
780 dev_info_t *child; in remove_subtree() local
787 while ((child = fc_child_node(root, subtree)) != NULL) in remove_subtree()
788 remove_subtree(child, subtree); in remove_subtree()
801 dev_info_t *root, *child; in fco_invalidate() local
818 root = rp->child ? rp->child : ap; in fco_invalidate()
822 "<%s> dip %p\n", ddi_node_name(child), child); in fco_invalidate()
[all …]
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Dgprof.callg.blurb64 self* the number of seconds of this child's self time
68 the number of seconds of this child's descendent's
72 called** the number of times this child is called by this
74 propagation fraction for this child.
76 total* the number of times this child is called by all
80 children the name of this child, and an indication of its
83 index the index of this child in the call graph listing,
90 the function (or child) is a member of a cycle,
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/
H A Dworkfile.c87 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL) in dev_next_node_by_compat()
141 picl_nodehdl_t *child) in find_child_device() argument
163 err = picl_get_propval_by_name(*child, PICL_PROP_NAME, name, in find_child_device()
181 err = picl_get_propval_by_name(*child, PICL_PROP_PEER, in find_child_device()
182 &(*child), sizeof (picl_nodehdl_t)); in find_child_device()
185 err = picl_get_propval_by_name(*child, PICL_PROP_NAME, in find_child_device()
714 child_name = (char *)get_node_name(pci_card_node->child); in fill_pci_card_list()
715 if ((pci_card_node->child != NULL) && in fill_pci_card_list()
717 value = get_prop_val(find_prop(pci_card_node->child, in fill_pci_card_list()
816 if (curr_node->child != NULL && is_pcidev) { in next_pci_card()
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/proc/
H A Dtst.exitexit.ksh39 /curpsinfo->pr_ppid == $child && args[0] == CLD_EXITED/
61 child=$!
66 kill $child
H A Dtst.exec.ksh39 /curpsinfo->pr_ppid == $child && args[0] == "/usr/bin/sleep"/
67 child=$!
72 kill $child
/illumos-gate/usr/src/test/os-tests/tests/poll/
H A Dpoll_test.c408 pid_t child; in trigger_wakeup() local
414 child = vfork(); in trigger_wakeup()
416 if (child == -1) { in trigger_wakeup()
419 } else if (child == 0) { in trigger_wakeup()
426 result = waitpid(child, &status, 0); in trigger_wakeup()
430 child, strerror(errno)); in trigger_wakeup()
433 } while (result != child); in trigger_wakeup()
437 child, status); in trigger_wakeup()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pid/
H A Dtst.vfork.d45 child = args[0]->pr_pid;
49 /child != pid/
51 printf("wrong pid (%d %d)", pid, child);
/illumos-gate/usr/src/uts/sparc/io/pciex/
H A Dpcieb_sparc.c168 pcieb_plat_initchild(dev_info_t *child) in pcieb_plat_initchild() argument
175 if (ddi_prop_exists(DDI_DEV_T_NONE, child, DDI_PROP_DONTPASS, in pcieb_plat_initchild()
179 ddi_set_parent_data(child, (void *)ppd); in pcieb_plat_initchild()
183 pcieb_plat_uninitchild(dev_info_t *child) in pcieb_plat_uninitchild() argument
189 if ((intptr_t)ddi_get_parent_data(child) == 1) in pcieb_plat_uninitchild()
190 ddi_set_parent_data(child, NULL); in pcieb_plat_uninitchild()
275 pcieb_init_plx_workarounds(pcieb_devstate_t *pcieb, dev_info_t *child) in pcieb_init_plx_workarounds() argument
304 if (pci_config_setup(child, &config_handle) != DDI_SUCCESS) { in pcieb_init_plx_workarounds()
313 pcieb_set_pci_perf_parameters(child, config_handle); in pcieb_init_plx_workarounds()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_clone/
H A Dzfs_clone_encrypted.ksh64 log_must zfs clone $TESTPOOL/$TESTFS1@now $TESTPOOL/$TESTFS1/child
67 log_must verify_encryption_root $TESTPOOL/$TESTFS1/child $TESTPOOL/$TESTFS1
76 log_must key_available $TESTPOOL/$TESTFS1/child
80 log_must zfs mount $TESTPOOL/$TESTFS1/child
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dssm.c249 static int init_child(dev_info_t *child);
544 make_ddi_ppd(child, &pdptr); in name_child()
545 ddi_set_parent_data(child, pdptr); in name_child()
548 if (sparc_pd_getnreg(child) == 0) in name_child()
551 rp = sparc_pd_getreg(child, 0); in name_child()
557 DEVI(child)->devi_node_name); in name_child()
566 init_child(dev_info_t *child) in init_child() argument
570 (void) name_child(child, name, MAXNAMELEN); in init_child()
571 ddi_set_name_addr(child, name); in init_child()
574 impl_ddi_sunbus_removechild(child); in init_child()
[all …]

12345678910>>...18