/illumos-gate/usr/src/uts/common/io/1394/adapters/ |
H A D | hci1394_async.c | 132 static void hci1394_async_pending_timeout(hci1394_tlist_node_t *node, 3230 hci1394_async_pending_timeout(hci1394_tlist_node_t *node, void *arg) argument 3238 ASSERT(node != NULL); 3242 hcicmd = (hci1394_async_cmd_t *)node->tln_addr; 3410 hci1394_tlist_node_t *node; local 3421 * get the first node on the pending list. This routine also 3422 * removes the node from the list. 3424 hci1394_tlist_get(async_handle->as_pending_list, &node); 3425 if (node != NULL) { 3427 hcicmd = (hci1394_async_cmd_t *)node [all...] |
/illumos-gate/usr/src/uts/common/io/1394/ |
H A D | s1394_hotplug.c | 58 static dev_info_t *s1394_create_devinfo(s1394_hal_t *hal, s1394_node_t *node, 124 * It adds "hp-node", "reg", "compatible" properties to the devinfo 133 s1394_create_devinfo(s1394_hal_t *hal, s1394_node_t *node, uint32_t *unit_dir, argument 162 node->node_guid_hi, tnf_uint, guid_lo, node->node_guid_lo); 166 /* Allocate and init a new device node instance. */ 172 " (node's GUID %08x%08x)", node->node_guid_hi, 173 node->node_guid_lo); 176 node 485 s1394_update_devinfo_tree(s1394_hal_t *hal, s1394_node_t *node) argument 667 s1394_offline_node(s1394_hal_t *hal, s1394_node_t *node) argument 792 s1394_node_t *node, *onode; local [all...] |
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | genf.c | 1137 di_node_t node; local 1154 /* point to first node which matches portdrvr */ 1155 node = di_drv_first_node(portdrvr, root); 1156 if (node == DI_NODE_NIL) { 1158 * Could not find driver node 1167 while (node) { 1168 /* point to first minor node which matches node */ 1169 minor_node = di_minor_next(node, DI_MINOR_NIL); 1171 /* if we have a minor node us [all...] |
/illumos-gate/usr/src/lib/watchmalloc/common/ |
H A D | malloc.c | 743 * Utility function to avoid protecting a tree node twice. 766 TREE *node[3]; local 767 TREE **npp = node; 785 npp = node; 794 TREE *node[3]; local 795 TREE **npp = node; 813 npp = node; 822 TREE *node[4]; local 823 TREE **npp = node; 847 npp = node; 856 TREE *node[4]; local 890 TREE *node[3]; local [all...] |
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/ |
H A D | util.c | 108 prom_printf("Missing chosen node\n"); 272 * install remap definition in /virtual-memory node; 316 get_intprop(pnode_t node, caddr_t prop, void *dst) argument 321 glen = prom_getprop(node, prop, dst); 330 * find cpu node for the boot processor 339 pnode_t node; local 348 for (node = prom_rootnode(); ; node = prom_nextnode(node)) { 349 node 386 pnode_t node; local [all...] |
/illumos-gate/usr/src/uts/common/zmod/ |
H A D | trees.c | 427 /* Index within the heap array of least frequent node in the Huffman tree */ 450 * Restore the heap property by moving down the tree starting at node k, 451 * exchanging a node with the smallest of its two sons if necessary, stopping 458 int k; /* node to move down */ 521 if (n > max_code) continue; /* not a leaf node */ 628 int node; /* new node being created */ local 651 node = s->heap[++(s->heap_len)] = (max_code < 2 ? ++max_code : 0); 652 tree[node].Freq = 1; 653 s->depth[node] [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | enx_hdlrs.c | 452 * created the binding eoib node for it (we will do that when 505 eibnx_nodeq_t *node; local 533 node = ss->nx_nodeq; 534 ss->nx_nodeq = node->nc_next; 535 node->nc_next = NULL; 537 kmem_free(node, sizeof (eibnx_nodeq_t)); 549 * Grab the first node entry from the queue 552 node = ss->nx_nodeq; 553 ss->nx_nodeq = node->nc_next; 554 node [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | persistent.c | 359 * persistent_initiator_name_set -- sets the node's initiator name 368 * persistent_initiator_name_get -- returns the node's initiator name 384 * persistent_alias_name_set -- sets the node's initiator name alias 393 * persistent_initiator_name_get -- returns the node's initiator name alias 587 * nodes do not have an associated node name. A name is manufactured 605 * persistent_disc_addr_next -- get the next iSCSI discovery node's address 641 * nodes do not have an associated node name. A name is manufactured 687 * for an iSCSI discovery node that provides target information via a 698 * nodes do not have an associated node name. A name is manufactured 716 * persistent_disc_addr_next -- get the next iSCSI discovery node' 801 persistent_param_set(char *node, persistent_param_t *param) argument 817 persistent_param_get(char *node, persistent_param_t *param) argument 836 persistent_param_next(void **v, char *node, persistent_param_t *param) argument 848 persistent_param_clear(char *node) argument 894 persistent_set_config_session(char *node, iscsi_config_sess_t *ics) argument 920 persistent_get_config_session(char *node, iscsi_config_sess_t *ics) argument 947 persistent_get_tunable_param(char *node, persistent_tunable_param_t *tpsg) argument 958 persistent_set_tunable_param(char *node, persistent_tunable_param_t *tpss) argument 978 persistent_chap_set(char *node, iscsi_chap_props_t *chap) argument 994 persistent_chap_get(char *node, iscsi_chap_props_t *chap) argument 1013 persistent_chap_next(void **v, char *node, iscsi_chap_props_t *chap) argument 1025 persistent_chap_clear(char *node) argument 1095 persistent_auth_set(char *node, iscsi_auth_props_t *auth) argument 1112 persistent_auth_get(char *node, iscsi_auth_props_t *auth) argument 1133 persistent_auth_next(void **v, char *node, iscsi_auth_props_t *auth) argument 1146 persistent_auth_clear(char *node) argument [all...] |
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | fts.c | 60 Compar_f comparf; /* node comparison func */ \ 173 * allocate an FTSENT node 177 node(FTS* fts, FTSENT* parent, register char* name, register size_t namelen) function 604 if (!(f = node(fts, fts->parent, path, strlen(path)))) 1027 if (!(f = node(fts, fts->current, s, i))) 1085 * terminal node
|
/illumos-gate/usr/src/lib/libast/common/vmalloc/ |
H A D | vmbest.c | 59 static int vmintree(Block_t* node, Block_t* b) argument 61 static int vmintree(node,b) 62 Block_t* node; 67 for(t = node; t; t = LINK(t)) 70 if(LEFT(node) && vmintree(LEFT(node),b)) 72 if(RIGHT(node) && vmintree(RIGHT(node),b)) 148 static int vmchktree(Block_t* node) argument 150 static int vmchktree(node) [all...] |
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | ssm.c | 65 * them to bubble up to the root node. 99 ssm_generate_event(int node, int board, int hint); 149 int nodeid; /* serengeti node #, NOT prom nodeid */ 590 * The name of the ssm node is ssm@nodeid,0. 637 int node; local 645 node = SG_PORTID_TO_NODEID(portid); 652 node, safid, 694 "minor node (%s, 0x%x)", 905 ssm_get_attch_pnt(int node, int board, char *attach_pnt) argument 918 if (sp->nodeid == node) 946 ssm_generate_event(int node, int board, int hint) argument [all...] |
H A D | sbdp.c | 186 extern int get_portid(pnode_t node, pnode_t *cmpp); 294 * Check to see if this is a cpci node 350 sbdp_get_mem_dip(pnode_t node, void *arg, uint_t flags) argument 357 if (node == OBP_NONODE || node == OBP_BADNODE) 364 (void) sbdp_is_mem(node, &mem); 371 smdp->dip = e_ddi_nodeid_to_dip(node); 404 apktp->node = bdp->wnode; 522 * Wnode got DRed out. Clean up all the node stuff including the boards 641 * Insert this brand new node int 874 sbdp_is_node_bad(pnode_t node) argument 963 sbdp_cpu_in_reset(int node, int bd, int unit, int reset) argument 999 sbdp_set_cpu_present(int node, int bd, int unit) argument 1024 sbdp_is_cpu_present(int node, int bd, int unit) argument 1047 sbdp_is_cpu_in_reset(int node, int bd, int unit) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/serengeti/sys/ |
H A D | sbdp_priv.h | 168 int wnode; /* wildcat node */ 169 int nbds; /* number of bds for this node */ 172 struct sbdp_wnode *prev; /* ptr to prev node */ 215 int node; /* wildcat node */ member in struct:__anon9959 234 int sbdp_detach_bd(int node, int board, sbd_error_t *sep);
|
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | fhc_bd.c | 508 pnode_t node; local 515 * The disabled board list is in the options node under root; 521 if (((node = prom_finddevice("/options")) == OBP_BADNODE) || 522 ((len = prom_getproplen(node, "disabled-board-list")) == -1)) 526 (void) prom_getprop(node, "disabled-board-list", dlist);
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | mdeg.c | 46 mdeg_node_match_t *nmatch; /* node match filter */ 331 * Handle the special case where the node specification 350 cmn_err(CE_WARN, "unable to match node specifier"); 376 MDEG_DBG("mdeg_notify_client_reg: %d node%s of interest\n", 411 * Passing NULL for the node specification parameter is valid 428 /* node spec and node match must both be valid, or both NULL */ 599 * Handle the special case where the node specification 684 mdeg_node_spec_match(md_t *md, mde_cookie_t node, mdeg_node_spec_t *nspec) argument 689 ASSERT(node ! [all...] |
H A D | vldc.c | 75 static int i_vldc_add_port(vldc_t *vldcp, md_t *mdp, mde_cookie_t node); 96 * Specification of an MD node passed to the MDEG to filter any 98 * node. This template is copied for each vldc instance and filled 355 mde_cookie_t node; local 377 node = resp->added.mdep[idx]; 379 D1("i_vldc_mdeg_cb: processing added node 0x%lx\n", node); 382 if ((rv = i_vldc_add_port(vldcp, mdp, node)) != MDEG_SUCCESS) { 391 node = resp->removed.mdep[idx]; 393 D1("i_vldc_mdeg_cb: processing removed node 530 i_vldc_get_port_channel(md_t *mdp, mde_cookie_t node, uint64_t *ldc_id) argument 577 i_vldc_add_port(vldc_t *vldcp, md_t *mdp, mde_cookie_t node) argument [all...] |
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | error.c | 784 pnode_t node; local 817 node = prom_rootnode(); 818 if ((node == OBP_NONODE) || (node == OBP_BADNODE)) { 819 cmn_err(CE_CONT, "error_init: node 0x%x\n", (uint_t)node); 823 if (((size = prom_getproplen(node, "reset-reason")) != -1) && 825 (prom_getprop(node, "reset-reason", tmp_name) != -1)) {
|
/illumos-gate/usr/src/uts/sun/io/ttymux/ |
H A D | ttymux_ioctl.c | 129 val2alias(pnode_t node, char *path) argument 136 if (node == OBP_BADNODE) 149 while (propname = (char *)prom_nextprop(node, buf1, buf2)) { 155 proplen = prom_getproplen(node, propname); 159 (void) prom_getprop(node, propname, propval); 294 read_prop(pnode_t node, char *propname, char **propval) argument 296 int proplen = prom_getproplen(node, propname); 302 (void) prom_getprop(node, propname, *propval); 361 sm_dbg('I', ("upd_config: no alias or options node.\n"));
|
/illumos-gate/usr/src/uts/sun4/vm/ |
H A D | sfmmu.c | 442 pnode_t node; local 446 * the "translations" property is associated with the mmu node 448 node = (pnode_t)prom_getphandle(prom_mmu_ihandle()); 455 if ((translen = prom_getproplen(node, prop)) == -1) 465 if (prom_getprop(node, prop, (caddr_t)transroot) == -1) { 480 * node (struct memlist) must fit into the smallest allocatable
|
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/ttymux_dacf/ |
H A D | ttymux_dacf.c | 138 * Disallow plumbing of untested node types. 236 * its minor node type is supported. 250 * Find the node nodetype to verify that the current version of 342 read_prop(pnode_t node, char *propname, char **propval) argument 346 if (node == OBP_BADNODE || 347 (proplen = prom_getproplen(node, propname)) <= 0) 351 (void) prom_getprop(node, propname, *propval); 494 * more than one minor node then ddi_pathname_to_dev_t 726 * unsupported minor node type. 733 * underneath the ttymux minor node tha 747 pnode_t node; local 875 pnode_t node = prom_optionsnode(); local [all...] |
/illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/ |
H A D | oplmsu_cmn_func.c | 1168 * Check control node and driver privilege 1177 oplmsu_wcmn_chknode(queue_t *q, int node, mblk_t *mp) argument 1184 if (((ctrl_t *)q->q_ptr)->node_type != node) { 1186 cmn_err(CE_WARN, "oplmsu: chk-node: ctrl node type = %d", node); 1195 cmn_err(CE_WARN, "oplmsu: chk-node: Permission denied"); 1302 "Inappropriate message for this node");
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | fillsysinfo.c | 137 * based on finding a device tree node with a "device_type" property value 138 * of "tod". If such a node describing tod is not found, for backward 139 * compatibility, a node with a "name" property value of "eeprom" and 141 * node matching either of the above criteria will result in no tod module 210 * Get System clock frequency from root node if it exists. 231 cmn_err(CE_PANIC, "map_wellknown_devices: no i/o bus node"); 265 * associated with a node which has a "device_type" 272 cmn_err(CE_CONT, "node %x '%s' prop too " 278 cmn_err(CE_CONT, "node %x '%s' get failed\n", 285 * ...else fall thru and process the node 354 get_portid(pnode_t node, pnode_t *cmpp) argument 441 fill_cpu(pnode_t node) argument 1053 have_sbus(pnode_t node) argument 1080 have_pci(pnode_t node) argument 1117 have_eeprom(pnode_t node) argument 1176 have_rtc(pnode_t node) argument 1219 have_pmc(pnode_t node) argument 1246 have_auxio(pnode_t node) argument 1280 have_tod(pnode_t node) argument [all...] |
/illumos-gate/usr/src/uts/intel/io/mc-amd/ |
H A D | mcamd_subr.c | 57 nodetype(mcamd_node_t *node) argument 59 mc_hdr_t *mch = (mc_hdr_t *)node; 64 node2type(mcamd_node_t *node, int type) argument 66 mc_hdr_t *mch = (mc_hdr_t *)node; 92 * depending on the node type of 'node'. In the DIMM case we do not 98 mcamd_cs_next(mcamd_hdl_t *hdl, mcamd_node_t *node, mcamd_node_t *last) argument 100 uint_t nt = nodetype(node); 112 mc = node2type(node, MC_NT_MC); 116 mcd = node2type(node, MC_NT_DIM 155 mcamd_dimm_next(mcamd_hdl_t *hdl, mcamd_node_t *node, mcamd_node_t *last) argument 272 findoffset(mcamd_hdl_t *hdl, mcamd_node_t *node, struct nt_offmap *arr, int code, uint_t *offset) argument 295 mcamd_get_numprop(mcamd_hdl_t *hdl, mcamd_node_t *node, mcamd_propcode_t code, mcamd_prop_t *valp) argument 323 mcamd_node_t *node; local 353 mcamd_get_cfgreg(struct mcamd_hdl *hdl, mcamd_node_t *node, mcamd_regcode_t code, uint32_t *valp) argument 381 mcamd_node_t *node; local [all...] |
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | bootops.c | 389 pnode_t node; local 394 node = fpp->promnode; 397 node = chosennode; 400 return (prom_getproplen(node, prop)); 411 pnode_t node; local 416 node = fpp->promnode; 419 node = chosennode; 422 return (prom_getprop(node, prop, value));
|
/illumos-gate/usr/src/cmd/lvm/metassist/controller/ |
H A D | metassist.c | 248 * parameters. No DTD node is included in this request. 263 /* Create the root node */ 270 xmlNodePtr node = xmlNewChild( local 272 xmlSetProp(node, 280 xmlNodePtr node = xmlNewChild( local 282 xmlSetProp(node, 291 xmlNodePtr node = xmlNewChild( local 293 xmlSetProp(node, 675 * @return The head node of the dlist_t, whether it was newly
|