/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | procopen.c | 122 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/cmd/hal/hald/solaris/ |
H A D | devinfo.c | 346 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/uts/sun4u/serengeti/io/ |
H A D | ssm.c | 249 static int init_child(dev_info_t *child); 536 name_child(dev_info_t *child, char *name, int namelen) argument 544 make_ddi_ppd(child, &pdptr); 545 ddi_set_parent_data(child, pdptr); 548 if (sparc_pd_getnreg(child) == 0) 551 rp = sparc_pd_getreg(child, 0); 553 portid = ddi_prop_get_int(DDI_DEV_T_ANY, child, 557 DEVI(child)->devi_node_name); 566 init_child(dev_info_t *child) argument 570 (void) name_child(child, nam [all...] |
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | upa64s.c | 182 static int init_child(dev_info_t *child); 189 static int get_reg_set(dev_info_t *dip, dev_info_t *child, int rnumber, 191 static off_t get_reg_set_size(dev_info_t *child, int rnumber); 192 static uint_t get_nreg_set(dev_info_t *child); 924 get_reg_set(dev_info_t *dip, dev_info_t *child, int rnumber, argument 931 * Get child device "reg" property 933 if (ddi_getlongprop(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS, "reg", 1008 * Hack by adding a pratical max child reg bank length. 1065 init_child(dev_info_t *child) argument 1072 if ((portid = ddi_getprop(DDI_DEV_T_ANY, child, DDI_PROP_DONTPAS 1105 get_reg_set_size(dev_info_t *child, int rnumber) argument 1144 get_nreg_set(dev_info_t *child) argument [all...] |
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | ddi_impl.c | 109 * If there are no "reg"s in the child node, return. 182 * The "ranges" property describes the mapping of child addresses to parent 186 * parent child 193 make_ddi_ppd(dev_info_t *child, struct ddi_parent_private_data **ppd) argument 208 if ((parent = ddi_get_parent(child)) == NULL) 214 if ((get_prop_int_array(child, OBP_REG, ®_prop, ®_len) 224 * and * min(parent, child) #size-cells != 1 (see bugid 4211124). 232 if ((parent = ddi_get_parent(child)) == NULL) 235 child_addr_cells = ddi_prop_get_int(DDI_DEV_T_ANY, child, 237 child_size_cells = ddi_prop_get_int(DDI_DEV_T_ANY, child, 293 impl_sunbus_name_child(dev_info_t *child, char *name, int namelen) argument 334 impl_ddi_sunbus_initchild(dev_info_t *child) argument [all...] |
/illumos-gate/usr/src/uts/common/io/cardbus/ |
H A D | cardbus.c | 89 static void cardbus_init_child_regs(dev_info_t *child); 632 * The child of the dip is the cardbus dip. The child of the 1095 cardbus_init_child_regs(dev_info_t *child) argument 1107 * Map the child configuration space to for initialization. 1118 if (pci_config_setup(child, &config_handle) != DDI_SUCCESS) 1121 cardbus_err(child, 6, "cardbus_init_child_regs()\n"); 1137 command_preserve = ddi_prop_get_int(DDI_DEV_T_ANY, child, 1165 if (ddi_getprop(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS, 1172 (void) ndi_prop_update_int(DDI_DEV_T_NONE, child, 1209 cardbus_initchild(dev_info_t *rdip, dev_info_t *dip, dev_info_t *child, void *result) argument 1301 cardbus_name_child(dev_info_t *child, char *name, int namelen) argument [all...] |
/illumos-gate/usr/src/cmd/rexd/ |
H A D | rpc.rexd.c | 96 int child = 0; /* pid of the executed process */ variable 97 int ChildStatus = 0; /* saved return status of child */ 118 void CatchChild(int); /* handle child signals */ 243 * child process continues to establish connections 445 * child - close listner transport to avoid confusion 451 printf("child server process\n"); 686 if (pid == child) { 688 printf("pid==child\n"); 700 /* restart child */ 702 kill((-child), SIGCON [all...] |
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_subr.c | 999 if (node->child) { 1000 rn_free(node->child); 1022 * Find first child 1027 return (node->child); 1031 * Find child named childname. Create it if flag is RSRC_NODE_CRTEATE 1036 rsrc_node_t *child = parent->child; local 1040 "rn_find_child(parent=%s, child=%s, 0x%x, %d)\n", 1046 while (child && (strcmp(child 1309 rsrc_node_t *child, *sibling; local [all...] |
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.sem.c | 33 * Its presence would cause glob() to be invoked in the child process 34 * and this would cause chaos if the child is created with vfork(). 166 int mask, child, setintr, haderr, didfds; member in struct:sv 173 * that the child corrupts before it exec's. 178 * the signals the child touches before it 182 sv.child = child; sv.setintr = setintr; 198 child = sv.child; setintr = sv.setintr; 216 } else { /* child */ [all...] |
/illumos-gate/usr/src/lib/libbe/common/ |
H A D | be_activate.c | 816 be_do_install_mbr(char *diskname, nvlist_t *child) argument 842 (void) nvlist_lookup_uint64(child, ZPOOL_CONFIG_WHOLE_DISK, 874 be_do_installboot_helper(zpool_handle_t *zphp, nvlist_t *child, char *stage1, argument 888 if (nvlist_lookup_string(child, ZPOOL_CONFIG_PATH, &path) != 0) { 894 if ((nvlist_lookup_uint64_array(child, ZPOOL_CONFIG_VDEV_STATS, 925 vname = zpool_vdev_name(g_zfs, zphp, child, B_FALSE); 939 be_do_install_mbr(diskname, child)) 945 be_do_install_mbr(diskname, child)) 1216 nvlist_t **child, *nv, *config; local 1321 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN, &child, [all...] |
/illumos-gate/usr/src/uts/sun4/io/efcode/ |
H A D | fcpci.c | 182 pci_fc_ops_alloc_handle(dev_info_t *ap, dev_info_t *child, argument 191 rp->next_handle = fc_ops_alloc_handle(ap, child, fcode, fcode_size, 194 rp->child = child; 210 * Add the child's nodeid to our table... 212 h = ddi_get_nodeid(rp->child); 213 fc_add_dip_to_phandle(fc_handle_to_phandle_head(rp), rp->child, h); 578 error = pci_alloc_resource(rp->child, p); 584 error = pci_map_phys(rp->child, &p, &virt, &acc, &h); 718 error = ddi_peek64(rp->child, (int64_ [all...] |
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_main.c | 367 nvlist_t **child; local 375 &child, &children) != 0) 381 (void) nvlist_lookup_uint64(child[c], ZPOOL_CONFIG_IS_LOG, 386 vname = zpool_vdev_name(g_zfs, zhp, child[c], B_FALSE); 387 print_vdev_tree(zhp, vname, child[c], indent + 2, 1234 nvlist_t **child; local 1244 &child, &children) == 0) { 1246 if ((ret = max_width(zhp, child[c], depth + 2, 1252 &child, &children) == 0) { 1254 if ((ret = max_width(zhp, child[ 1280 nvlist_t **child; local 1323 nvlist_t **child; local 1472 nvlist_t **child; local 1573 nvlist_t **child; local 2943 nvlist_t **child; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/ |
H A D | disk.c | 58 tnode_t *child = NULL; local 65 sas_address, &child);
|
/illumos-gate/usr/src/lib/libpicltree/ |
H A D | ptree_impl.h | 132 picl_obj_t *child; /* protected by ptree lock */ member in struct:picl_node 175 #define child_node u.node.child
|
/illumos-gate/usr/src/cmd/eeprom/i386/ |
H A D | benv_kvm.c | 80 child(unsigned long id) function 110 if (nid = prom_findnode_byname(child(id), name))
|
/illumos-gate/usr/src/uts/common/brand/sn1/ |
H A D | sn1_brand.c | 168 sn1_copy_procdata(proc_t *child, proc_t *parent) argument 170 brand_solaris_copy_procdata(child, parent, &sn1_brand);
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | db21554.c | 36 * as a nexus and do the device tree representation of the child 123 * latency timer register setting for every child 124 * device during child initialization. 127 * cache line register setting for every child 128 * device during child initialization. 419 static int db_initchild(dev_info_t *child); 420 static int db_create_pci_prop(dev_info_t *child); 545 * to set the bus private handle during child map 970 * which are used for child initialization. 1712 * DDI_SUCCESS: map call by child devic 2203 db_name_child(dev_info_t *child, char *name, int namelen) argument 2250 db_initchild(dev_info_t *child) argument 2405 db_create_pci_prop(dev_info_t *child) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_srv_ns.c | 293 /* This node is first child */ 296 /* This node is not first child */ 368 * - add t4, t5, t6 as a child of t1 (t4 will become sibling of t2) 392 * child->+---+ 410 * 'child = tree_find_child_by_vis(connect_point, curr->tree_vis);' 414 * should be connected. If 'connect_point' already has a child 417 * child..........the result of tree_find_child_by_vis() 420 * already moved down to its child - preparation for another loop 424 * N1: is merged - i.e. N1 is kmem_free()d. T0 has a child T1 with the same 426 * N2: is added as a new child o 438 treenode_t *child, *curr, *connect_point; local [all...] |
/illumos-gate/usr/src/cmd/write/ |
H A D | write.c | 461 register pid_t child; local 464 if ((child = fork()) == (pid_t)FAILURE) 469 } else if (child == (pid_t)0) { 487 while (wait(NULL) != child);
|
/illumos-gate/usr/src/uts/common/sys/usb/clients/hidparser/ |
H A D | hidparser_impl.h | 85 struct entity_item *child; member in union:entity_item::info
|
/illumos-gate/usr/src/uts/sun4/sys/ |
H A D | fcode.h | 264 * sunos,parent ( child.phandle -- parent.phandle ) 266 * child ( parent.phandle -- child.phandle ) 272 * sunos,config-child ( -- child.phandle ) 273 * Return the phandle of the child being configured. 280 #define FC_CHILD_FCODE "child" 283 #define FC_CONFIG_CHILD "sunos,config-child" 319 * We can't get the physical config address of the child from the 320 * unit address, so we supply it here, along with the child' 423 struct fc_device_tree *child; member in struct:fc_device_tree 452 dev_info_t *child; /* Child being configured, if any */ member in struct:fc_resource_list [all...] |
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | roff.h | 84 struct roff_node *child; /* First child AST node. */ member in struct:roff_node 85 struct roff_node *last; /* Last child AST node. */
|
/illumos-gate/usr/src/lib/efcode/engine/ |
H A D | package.c | 197 CHECK_DEPTH(env, 1, "child"); 199 TOS = (fstack_t)d->child; 200 REVERT_PHANDLE(env, TOS, d->child); 225 if (parent->child) { 226 /* Insert new child at end of peer list */ 227 for (peer = parent->child; peer->peer; peer = peer->peer) 231 parent->child = phandle; /* First child */ 563 d = env->root_node->child; 578 d = d->child; [all...] |
/illumos-gate/usr/src/cmd/tsol/updatehome/ |
H A D | setupfiles.c | 348 pid_t child; local 411 if ((child = vfork()) != 0) { /* parent, wait for child status */ 412 int status; /* child status */ 414 (void) waitpid(child, &status, 0); /* wait for child */ 415 dprintf("setupfiles copy child returned %x\n", status);
|
/illumos-gate/usr/src/common/ficl/ |
H A D | search.c | 323 * iterate through all the links when finding words in the child wid. 328 ficlHash *parent, *child; local 332 child = (ficlHash *)ficlStackPopPointer(vm->dataStack); 335 child->link = parent;
|