/illumos-gate/usr/src/cmd/availdevs/ |
H A D | availdevs.c | 56 set_uint64_prop(xmlNodePtr node, const char *attr, uint64_t value) argument 60 (void) xmlSetProp(node, (xmlChar *)attr, (xmlChar *)tmp); 183 /* Create the root node */ 231 /* Create the available node */ 243 /* Create the importable node */
|
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_acpi.c | 38 static HalDevice *devinfo_power_button_add(HalDevice *parent, di_node_t node, 62 devinfo_acpi_add(HalDevice *parent, di_node_t node, char *devfs_path, argument 74 driver_name = di_driver_name(node); 90 devinfo_set_default_properties(d, parent, node, devfs_path); 93 major = di_driver_major(node); 98 while ((minor = di_minor_next(node, minor)) != DI_MINOR_NIL) { 109 devinfo_acpi_add_minor(d, node, minor_path, dev); 120 devinfo_acpi_add_minor(HalDevice *parent, di_node_t node, char *minor_path, argument 126 devinfo_set_default_properties(d, parent, node, minor_path); 131 devinfo_power_button_add(HalDevice *parent, di_node_t node, cha argument [all...] |
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | traverse.c | 109 tdtrav_assert(tdesc_t *node, tdesc_t **nodep, void *private) argument
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_lookup.c | 212 /* Add a new data node to a lookup structure. First, check to see if the */ 214 /* add a node to it. */ 220 ip_pool_node_t node, *m; local 236 if (op.iplo_size != sizeof(node)) 239 err = COPYIN(op.iplo_struct, &node, sizeof(node)); 252 m = ip_pool_findeq(p, &node.ipn_addr, &node.ipn_mask); 255 err = ip_pool_insert(p, &node.ipn_addr, 256 &node 293 ip_pool_node_t node, *m; local [all...] |
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | HBAPort.cc | 162 // search link for minor node 212 char node[MAXPATHLEN]; local 233 sprintf(node, "%s/%s", dir, dirp->d_name); 234 if ((count = readlink(node,buf,sizeof(buf)))) {
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | devlink_disco.c | 104 /* search link for minor node */ 155 char node[MAXPATHLEN]; local 199 (void) snprintf(node, strlen(charptr) + strlen(dir) + 2, 201 if (count = readlink(node, buf, sizeof (buf))) { 213 (void) strlcpy(link, node, MAXPATHLEN);
|
/illumos-gate/usr/src/lib/udapl/libdat/common/ |
H A D | dat_dictionary.c | 117 /* create the head node */ 128 /* create the tail node */ 216 DAT_DICTIONARY_NODE *node; local 223 node = dat_os_alloc(sizeof (DAT_DICTIONARY_NODE)); 224 if (NULL == node) { 230 *p_entry = node; 279 /* insert node at end of list to preserve registration order */
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_ia_open.c | 96 di_node_t root_node, node; local 112 * This function only finds and looks at the FIRST udapl node. 113 * It is assumed that there can only be one such node. 118 node = di_drv_first_node("daplt", root_node); 119 if (node != DI_NODE_NIL) { 120 ret = di_prop_lookup_ints(DDI_DEV_T_ANY, node,
|
/illumos-gate/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_node.c | 77 prom_walk_devs(pnode_t node, int (*cb)(pnode_t, void *, void *), void *arg, argument 83 if (node == OBP_NONODE || node == OBP_BADNODE) { 84 prom_panic("Invalid node specified as root of prom tree walk"); 87 stack[0] = node; 95 * in the tree, and move to the next node; if the new level 135 * prom_findnode_bydevtype() searches the prom device subtree rooted at 'node' 136 * and returns the first node whose device type property matches the type 140 bytype_cb(pnode_t node, void *arg, void *result) argument 142 if (prom_devicetype(node, (cha 150 prom_findnode_bydevtype(pnode_t node, char *devtype) argument 163 byname_cb(pnode_t node, void *arg, void *result) argument 173 prom_findnode_byname(pnode_t node, char *name) argument 253 pnode_t node; local 281 static pnode_t node; local 295 static pnode_t node; local [all...] |
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | sun4u_memlist.c | 79 pnode_t node; local 103 node = pmem; 105 node = pmmu; 108 * Read memory node and calculate the number of entries 110 if ((links = prom_getproplen(node, prop)) == -1) 120 (void) prom_getprop(node, prop, (caddr_t)pm);
|
/illumos-gate/usr/src/psm/stand/cpr/common/ |
H A D | support.c | 97 pnode_t node; local 122 node = prom_optionsnode(); 123 if (node == OBP_NONODE || node == OBP_BADNODE) { 124 prom_printf("%s: cannot find \"options\" node\n", str); 143 if (prom_setprop(node, prop->name, prop->value, len + 1) < 0 || 144 prom_getproplen(node, prop->name) != len) {
|
/illumos-gate/usr/src/uts/common/xen/sys/ |
H A D | xenbus_impl.h | 71 /* Register callback to watch this node. */ 77 const char *node; /* path being watched */ member in struct:xenbus_watch 118 const char *node, unsigned int *num); 120 const char *node, void **rstr, unsigned int *len); 121 extern int xenbus_read_str(const char *dir, const char *node, char **rstr); 123 const char *node, const char *string); 125 const char *node); 126 extern boolean_t xenbus_exists(const char *dir, const char *node); 127 extern boolean_t xenbus_exists_dir(const char *dir, const char *node); 129 const char *node); [all...] |
/illumos-gate/usr/src/uts/sun4u/serengeti/sys/ |
H A D | sbdp_mbox.h | 62 int node; /* Node ID */ member in struct:__anon9945 74 int node; /* Node ID */ member in struct:__anon9947
|
H A D | sgevents.h | 84 int node; /* wildcat node number */ member in struct:__anon9961
|
/illumos-gate/usr/src/uts/sun4v/promif/ |
H A D | promif_node.c | 80 pnode_t node; local 92 node = finddevice(p1275_cell2ptr(ci[3])); 94 ci[4] = p1275_dnode2cell(node); 178 * Retrieve the unit address for a node by looking it up 205 * Get node id of node in prom tree that path identifies 250 /* get the name from the current node */ 254 /* get the address from the current node */ 273 /* path does not map to a node */ 278 /* found a matching node */ [all...] |
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | ecc.c | 205 pnode_t node; local 226 node = prom_rootnode(); 227 if ((node == OBP_NONODE) || (node == OBP_BADNODE)) { 228 cmn_err(CE_CONT, "error_init: node 0x%x\n", (uint_t)node); 232 if (((size = prom_getproplen(node, "reset-reason")) != -1) && 234 (prom_getprop(node, "reset-reason", tmp_name) != -1)) {
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_write.c | 463 smb_node_t *node; local 471 node = ofile->f_node; 473 if (!smb_node_is_dir(node)) { 474 rc = smb_lock_range_access(sr, node, param->rw_offset, 484 (node->flags & NODE_FLAGS_WRITE_THROUGH)) { 488 rc = smb_fsop_write(sr, sr->user_cr, node, 505 if (!smb_node_is_dir(node)) 506 smb_oplock_break_levelII(node); 547 smb_node_t *node = ofile->f_node; local 555 mutex_enter(&node [all...] |
H A D | smb_read.c | 373 smb_node_t *node; local 388 node = ofile->f_node; 390 if (!smb_node_is_dir(node)) { 391 rc = smb_lock_range_access(sr, node, param->rw_offset, 416 rc = smb_fsop_read(sr, sr->user_cr, node, &vdb->vdb_uio);
|
H A D | smb_cmn_rename.c | 57 smb_setinfo_rename(smb_request_t *sr, smb_node_t *node, char *path, int flags) argument 68 src_fqi->fq_fnode = node; 69 src_fqi->fq_dnode = node->n_dnode; 113 * The source node may already have been provided, 122 /* lookup and validate src node */ 160 /* Lookup destination node */ 164 /* If the destination node doesn't already exist, validate new_name. */ 176 * If we found the dst node in the same directory as the src node, 181 * If the exact match is the same node a 380 smb_setinfo_link(smb_request_t *sr, smb_node_t *node, char *path, int flags) argument 634 smb_rename_check_attr(smb_request_t *sr, smb_node_t *node, uint16_t sattr) argument [all...] |
H A D | smb_delete.c | 123 * 2. process the path to get directory node & last_comp, 130 * - If the directory node is the mount point and the last component 404 smb_node_t *node; local 410 node = fqi->fq_fnode; 414 if (smb_node_getattr(sr, node, zone_kcred(), NULL, &attr) != 0) { 426 if (SMB_PATHFILE_IS_READONLY(sr, node)) { 462 * share and access checking to fail (the node refcnt is greater 476 smb_node_t *node; local 480 node = fqi->fq_fnode; 487 (void) smb_oplock_break(sr, node, [all...] |
H A D | smb_oplock.c | 72 smb_oplock_install_fem(smb_node_t *node) argument 74 ASSERT(MUTEX_HELD(&node->n_oplock.ol_mutex)); 76 if (node->n_oplock.ol_fem == B_FALSE) { 77 if (smb_fem_oplock_install(node) != 0) { 80 node->vp->v_path); 83 node->n_oplock.ol_fem = B_TRUE; 93 smb_oplock_uninstall_fem(smb_node_t *node) argument 95 ASSERT(MUTEX_HELD(&node->n_oplock.ol_mutex)); 97 if (node->n_oplock.ol_fem) { 98 smb_fem_oplock_uninstall(node); 135 smb_oplock_acquire(smb_request_t *sr, smb_node_t *node, smb_ofile_t *ofile) argument 243 smb_oplock_break(smb_request_t *sr, smb_node_t *node, uint32_t flags) argument 342 smb_oplock_break_levelII(smb_node_t *node) argument 369 smb_oplock_break_levelII_locked(smb_node_t *node) argument 484 smb_oplock_wait_ack(smb_node_t *node, uint32_t timeout) argument 511 smb_oplock_timedout(smb_node_t *node) argument 549 smb_oplock_release(smb_node_t *node, smb_ofile_t *of) argument 588 smb_oplock_ack(smb_node_t *node, smb_ofile_t *of, uint8_t brk) argument 643 smb_oplock_broadcast(smb_node_t *node) argument 671 smb_oplock_wait(smb_node_t *node) argument 722 smb_oplock_insert_grant(smb_node_t *node, smb_oplock_grant_t *og) argument 746 smb_oplock_remove_grant(smb_node_t *node, smb_oplock_grant_t *og) argument [all...] |
H A D | smb_sd.c | 130 smb_node_t *node; local 135 node = sr->fid_ofile->f_node; 136 sd_flags = smb_node_is_dir(node) ? SMB_FSSD_FLAGS_DIR : 0; 139 error = smb_fsop_sdread(sr, sr->user_cr, node, &fs_sd); 159 smb_node_t *node; local 165 node = sr->fid_ofile->f_node; 166 sd_flags = smb_node_is_dir(node) ? SMB_FSSD_FLAGS_DIR : 0; 175 error = smb_fsop_sdwrite(sr, sr->user_cr, node, &fs_sd, 0);
|
H A D | smb_set_fileinfo.c | 201 * Use the id to identify the node object and invoke smb_set_fileinfo 202 * for that node. 254 * Use the file name to identify the node object and invoke 255 * smb_set_fileinfo for that node. 270 smb_node_t *node, *dnode; local 290 sr->tid_tree->t_snode, dnode, name, &node); 306 sinfo.si_node = node; 315 smb_node_release(node); 398 smb_node_t *node = sinfo->si_node; local 408 (!smb_node_is_dir(node))) { 480 smb_node_t *node = sinfo->si_node; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/ |
H A D | opl_hostbridge.c | 41 * Check the root complex device node for a slot-names property. 69 tnode_t *node; local 87 /* Create and bind node */ 88 node = topo_node_bind(mp, parent, name, inst, fmri); 89 if (node == NULL) { 97 topo_node_setspecific(node, priv); 99 return (node); 103 * Create a root complex node. 231 * Create a hostbridge node. 294 * If we haven't created a hostbridge node ye [all...] |
/illumos-gate/usr/src/uts/intel/io/intel_nhm/ |
H A D | dimm_topo.c | 92 inhm_rank(nvlist_t *newdimm, nhm_dimm_t *nhm_dimm, uint32_t node, argument 111 pa = dimm_to_addr(node, channel, dimm * 4 + i, 133 inhm_dimm(nhm_dimm_t *nhm_dimm, uint32_t node, uint8_t channel, uint32_t dimm) argument 157 inhm_rank(newdimm, nhm_dimm, node, channel, dimm, 191 inhm_dimmlist(uint32_t node, nvlist_t *nvl) argument 204 dimmpp = &nhm_dimms[node * CHANNELS_PER_MEMORY_CONTROLLER * 209 ecc_enabled ? lockstep[node] ? "x8" : "x4" : "no"); 213 CHANNEL_DISABLED(MC_STATUS_RD(node), i) ? "disabled" : 214 i != 2 && lockstep[node] ? "lockstep" : 215 i != 2 && mirror_mode[node] [all...] |