Searched defs:child (Results 51 - 75 of 263) sorted by relevance

1234567891011

/illumos-gate/usr/src/cmd/ypcmd/
H A Dypserv_resolv.c69 void setup_resolv(bool *fwding, int *child, argument
106 * pass child the fd to use for service.
116 switch (*child = vfork()) {
124 case 0: /* child */
130 * in child on our bound fd.
162 (void) kill (*child, SIGINT);
169 (void) kill (*child, SIGINT);
177 (void) kill (*child, SIGINT);
191 (void) kill (*child, SIGINT);
216 sprintf(fd_str, "-1"); /* have child clos
[all...]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dns_fnreaddir.c429 FN_string_t *child; local
439 while ((child = fn_bindinglist_next(bindings, &ref, status)) != NULL) {
440 if (fn_compound_name_append_comp(name, child, &stat) == 0) {
461 fn_string_destroy(child);
466 fn_string_destroy(child);
/illumos-gate/usr/src/cmd/script/
H A Dscript.c52 int child; variable
111 child = fork();
112 if (child < 0) {
116 if (child == 0) {
117 subchild = child = fork();
118 if (child < 0) {
122 if (child)
173 if (pid == child)
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo.c346 HalDevice *child; local
362 child = HAL_DEVICE (i->data);
363 HAL_INFO (("remove_branch: child %s\n", hal_device_get_udi (child)));
364 devinfo_remove_branch ((gchar *)hal_device_property_get_string (child, "solaris.devfs_path"), child);
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_info.c71 hp_node_t child; local
101 child = root->hp_child;
105 root = child;
106 for (child = root; child; child = child->hp_sibling)
107 child->hp_parent = NULL;
111 for (child = root; child !
180 di_node_t child; local
[all...]
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_conn.c147 struct smb_connobj *child)
151 * Set the child's pointer to the parent.
154 ASSERT(child->co_usecount == 1);
155 child->co_parent = parent;
158 * Add the child to the parent's list of
163 SLIST_INSERT_HEAD(&parent->co_children, child, co_next);
227 * We have the only reference to the child.
249 * the parent's hold count for the lost child.
145 smb_co_addchild( struct smb_connobj *parent, struct smb_connobj *child) argument
/illumos-gate/usr/src/tools/stabs/
H A Dstabs.h51 struct child *child; member in struct:node
54 struct child { struct
57 struct child *next;
132 extern struct child *find_child(struct node *np, char *w);
/illumos-gate/usr/src/uts/common/brand/sn1/
H A Dsn1_brand.c168 sn1_copy_procdata(proc_t *child, proc_t *parent) argument
170 brand_solaris_copy_procdata(child, parent, &sn1_brand);
/illumos-gate/usr/src/test/os-tests/tests/poll/
H A Dpoll_test.c408 pid_t child; local
414 child = vfork();
416 if (child == -1) {
419 } else if (child == 0) {
426 result = waitpid(child, &status, 0);
430 child, strerror(errno));
433 } while (result != child);
437 child, status);
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpinex/
H A Dacpinex_drv.c35 * It does not handle any of the DDI functions passed up to it by the child
289 /* Install event handler for child/descendant objects. */
352 name_child(dev_info_t *child, char *name, int namelen) argument
356 ddi_set_parent_data(child, NULL);
359 if (ddi_prop_lookup_string(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS,
364 ACPINEX_DEBUG(CE_NOTE, "!acpinex: failed to lookup child "
365 "unit-address prop for %p.", (void *)child);
372 init_child(dev_info_t *child) argument
376 (void) name_child(child, name, MAXNAMELEN);
377 ddi_set_name_addr(child, nam
[all...]
H A Dacpinex_event.c560 * Install/uninstall ACPI system event handler for child objects of hdl.
569 ACPI_HANDLE child = NULL; local
574 /* Walk all child objects. */
576 while (ACPI_SUCCESS(AcpiGetNextObject(ACPI_TYPE_ANY, hdl, child,
577 &child))) {
579 if (ACPI_FAILURE(AcpiGetType(child, &type)) ||
586 dhdl = acpidev_data_get_handle(child);
589 "associated with %p, skip.", child);
594 if (ACPI_FAILURE(AcpiGetObjectInfo(child, &infop))) {
597 child);
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Denx_main.c374 dev_info_t *child = arg; local
394 if ((ret = eibnx_name_child(child, name,
396 ddi_set_name_addr(child, name);
401 ddi_set_name_addr(child, NULL);
469 "unconfig child %s failed", (char *)arg);
H A Denx_misc.c54 eibnx_child_t *child; local
83 * resource we might've allocated; note that the child dips
92 for (child = children; child; child = nxt_child) {
93 nxt_child = child->ch_next;
95 if (child->ch_node_name) {
96 kmem_free(child->ch_node_name, MAXNAMELEN);
98 kmem_free(child, sizeof (eibnx_child_t));
140 "%s property to 0x%llx for child di
292 eibnx_name_child(dev_info_t *child, char *name, size_t namesz) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_hca.c137 ddi_bus_config_op_t op, void *devname, dev_info_t **child)
163 parent, devname, op, &flag, child);
222 parent, flag, op, devname, child, 0);
306 * Returns "dev_info_t" of the "child" node just created
307 * NULL when failed to enumerate the child node
472 ddi_bus_config_op_t op, uint_t *flag, dev_info_t **child)
511 * If child dip is present, just return
523 op, devname, child, &need_bus_config);
136 ibnex_hca_bus_config(dev_info_t *parent, uint_t flag, ddi_bus_config_op_t op, void *devname, dev_info_t **child) argument
471 ibnex_hca_bus_config_one(dev_info_t *parent, void *devname, ddi_bus_config_op_t op, uint_t *flag, dev_info_t **child) argument
/illumos-gate/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_ibnex.c80 dev_info_t *child; local
119 child = clntp->clnt_dip;
144 if (child == NULL) {
160 parent = ddi_get_parent(child);
162 ddi_get_parent_data(child) == NULL) {
168 node_name = ddi_node_name(child);
177 callback(child, &ret_apid);
186 if (child == NULL) {
194 * if the child has a alternate HCA then skip it
207 parent = ddi_get_parent(child);
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dpseudonex.c41 * pseudo.conf, adding another 'pseudo' nexus child of /pseudo, and then use
43 * for the name of the nexus child and a line in pseudo.conf such as:
49 * to our new pseudonex child node. A better way might be to teach the
315 pseudonex_check_assignment(dev_info_t *child, int test_inst) argument
319 const char *childname = ddi_driver_name(child);
327 if (tdip == child)
348 pseudonex_auto_assign(dev_info_t *child) argument
352 const char *childname = ddi_driver_name(child);
362 if (tdip == child)
393 dev_info_t *child local
490 dev_info_t *child = (dev_info_t *)arg; local
[all...]
H A Dtphci.c398 dev_info_t *child = (dev_info_t *)arg; local
399 return (tphci_initchild(dip, child));
404 dev_info_t *child = (dev_info_t *)arg; local
405 return (tphci_uninitchild(dip, child));
447 tphci_initchild(dev_info_t *dip, dev_info_t *child) argument
450 ddi_set_name_addr(child, "0");
456 tphci_uninitchild(dev_info_t *dip, dev_info_t *child) argument
458 ddi_set_name_addr(child, NULL);
H A Dtvhci.c456 dev_info_t *child = (dev_info_t *)arg; local
457 return (tvhci_initchild(dip, child));
462 dev_info_t *child = (dev_info_t *)arg; local
463 return (tvhci_uninitchild(dip, child));
506 tvhci_initchild(dev_info_t *dip, dev_info_t *child) argument
511 if (ddi_prop_lookup_string(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS,
519 ddi_set_name_addr(child, addr);
528 tvhci_uninitchild(dev_info_t *dip, dev_info_t *child) argument
530 ddi_set_name_addr(child, NULL);
565 void *arg, dev_info_t **child)
564 tvhci_bus_config(dev_info_t *pdip, uint_t flags, ddi_bus_config_op_t op, void *arg, dev_info_t **child) argument
[all...]
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dprocopen.c122 Fd_t child; member in struct:Mod_s::__anon2649::__anon2650
222 if ((m->arg.fd.child.fd = (short)arg2) != arg1)
226 m->arg.fd.child.flag = fcntl(arg2, F_GETFD, 0);
310 if (m->arg.fd.child.fd != m->arg.fd.parent.fd && m->arg.fd.child.fd != PROC_ARG_NULL)
317 fcntl(m->arg.fd.child.fd, F_DUPFD, m->arg.fd.parent.fd);
321 close(m->arg.fd.child.fd);
322 fcntl(m->save, F_DUPFD, m->arg.fd.child.fd);
324 if (m->arg.fd.child.flag)
325 fcntl(m->arg.fd.child
[all...]
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_dr.c105 pnode_t child; local
148 child = prom_childnode(node);
149 if (child != OBP_NONODE) {
150 for (; child != OBP_NONODE;
151 child = prom_nextnode(child)) {
152 sbdp_attach_branch(dip, child, (void *)apktp);
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_stree.c333 pnode_t child; local
337 child = prom_childnode(parent);
338 if (child == 0)
340 if (prom_getproplen(child, "name") <= 0) {
341 parent = child;
344 cnp = create_node(pnp, child);
346 create_peers(cnp, child);
348 parent = child;
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_util.c312 px_name_child(dev_info_t *child, char *name, int namelen) argument
326 if (ddi_prop_lookup_string_array(DDI_DEV_T_ANY, child,
331 " not well-formed", ddi_driver_name(child));
344 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS,
362 cmn_err(CE_WARN, "cannot name pci child '%s'", ddi_node_name(child));
367 px_uninit_child(px_t *px_p, dev_info_t *child) argument
371 ddi_driver_name(child), ddi_get_instance(child));
373 ddi_set_name_addr(child, NUL
404 px_init_child(px_t *px_p, dev_info_t *child) argument
550 px_get_reg_set_size(dev_info_t *child, int rnumber) argument
588 px_get_nreg_set(dev_info_t *child) argument
617 px_get_nintr(dev_info_t *child) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dmach_rootnex.c48 extern int rootnex_name_child(dev_info_t *child, char *name, int namelen);
295 rootnex_name_child_impl(dev_info_t *child, char *name, int namelen) argument
310 if (ddi_get_parent_data(child) == NULL) {
311 make_ddi_ppd(child, &pdptr);
312 ddi_set_parent_data(child, pdptr);
319 if (sparc_pd_getnreg(child) == 0) {
322 rp = sparc_pd_getreg(child, 0);
328 node_name = ddi_node_name(child);
344 if (ndi_prop_update_int(DDI_DEV_T_NONE, child, "upa-portid",
351 * Name node on behalf of child nexu
[all...]
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_util.c309 name_child(dev_info_t *child, char *name, int namelen) argument
323 if (ddi_prop_lookup_string_array(DDI_DEV_T_ANY, child,
328 " not well-formed", ddi_driver_name(child));
341 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS,
359 cmn_err(CE_WARN, "cannot name pci child '%s'", ddi_node_name(child));
364 uninit_child(pci_t *pci_p, dev_info_t *child) argument
368 ddi_driver_name(child), ddi_get_instance(child));
371 (void) pm_uninit_child(child);
399 init_child(pci_t *pci_p, dev_info_t *child) argument
652 get_nreg_set(dev_info_t *child) argument
681 get_nintr(dev_info_t *child) argument
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/fcoei/
H A Dfcoei.c980 dev_info_t *child = NULL; local
983 ndi_devi_alloc_sleep(ss->ss_dip, "fp", DEVI_PSEUDO_NODEID, &child);
984 if (child == NULL) {
992 if (ddi_prop_update_string(DDI_DEV_T_NONE, child,
995 (void) ndi_devi_free(child);
1003 if (ddi_prop_update_int(DDI_DEV_T_NONE, child,
1006 (void) ndi_devi_free(child);
1013 rval = ndi_devi_online(child, NDI_ONLINE_ATTACH);

Completed in 511 milliseconds

1234567891011