/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | pi_meth.c | 38 tnode_t *parent; /* walk start node */ 124 * For each visited cpu node, call the callback function with its ASRU. 127 cpu_walker(topo_mod_t *mod, tnode_t *node, void *pdata) argument 134 * Terminate the walk if we reach start-node's sibling 136 if (node != swdp->parent && 137 topo_node_parent(node) == topo_node_parent(swdp->parent)) 140 if (strcmp(topo_node_name(node), CPU) != 0 && 141 strcmp(topo_node_name(node), STRAND) != 0) 144 if (topo_node_asru(node, &asru, NULL, &err) != 0) { 228 cpu_retire(topo_mod_t *mod, tnode_t *node, topo_version_ argument 247 cpu_unretire(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 266 cpu_service_state(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 291 cpu_unusable(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 334 mem_asru_compute(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 427 dimm_page_service_state(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 452 dimm_page_unusable(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 475 dimm_page_retire(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 500 dimm_page_unretire(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | name.c | 184 * name[/node][@security-domain] 189 * node is present, then node will represent the host. If the host is 199 char *user, *node, *domain; local 222 /* Look for optional node part */ 223 node = strchr(user, '/'); 224 if (node) { 226 * user is now just the user portion and node 227 * points to the start of the node part. 229 *node [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_parse.c | 87 struct profile_node *node; local 203 profile_add_node(state->current_section, tag, value, &node); 205 profile_make_node_final(node);
|
/illumos-gate/usr/src/lib/libshare/smbfs/ |
H A D | libshare_smbfs.c | 353 sa_property_t sect, node; local 404 node = sa_create_property(name, value); 405 (void) sa_add_protocol_property(sect, node);
|
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | alarm.c | 41 Namval_t *node; member in struct:tevent 104 register char *name = nv_name(tp->node); 111 sfprintf(sfstdout,e_alrm2,name,nv_getnum(tp->node)); 144 sh_fun(tp->action,tp->node,(char**)0); 148 nv_unset(tp->node); 149 nv_close(tp->node); 270 tp->node = np;
|
/illumos-gate/usr/src/lib/libcpc/sparc/ |
H A D | conf_ultra.c | 587 * Compares the given string against the list of all known CPU node names, and 592 node2ver(char *node) argument 594 if (strcmp(node, "SUNW,UltraSPARC") == 0 || 595 strcmp(node, "SUNW,UltraSPARC-II") == 0 || 596 strcmp(node, "SUNW,UltraSPARC-IIi") == 0 || 597 strcmp(node, "SUNW,UltraSPARC-IIe") == 0) { 599 } else if (strcmp(node, "SUNW,UltraSPARC-III") == 0) 601 else if (strcmp(node, "SUNW,UltraSPARC-III+") == 0 || 602 strcmp(node, "SUNW,UltraSPARC-IV") == 0) 604 else if (strcmp(node, "SUN [all...] |
/illumos-gate/usr/src/lib/libgrubmgmt/common/ |
H A D | libgrub_fs.c | 343 ufs_bootsign(di_node_t node, di_minor_t minor, void *arg) argument 358 path = di_devfs_path(node); 384 while ((minor = di_minor_next(node, minor)) != DI_MINOR_NIL) {
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | hash.c | 74 HashNode *head; /* The head of the bucket hash-node list */ 93 static HashNode *_del_HashNode(HashTable *hash, HashNode *node); 344 HashNode *node; /* The new node */ local 357 * See if a node with the same name already exists. 359 node = _find_HashNode(hash, bucket, name, NULL); 364 if(node) { 365 if(node->symbol.data && node->symbol.del_fn) { 366 node 400 HashNode *node = _find_HashNode(hash, bucket, name, &prev); local 439 HashNode *node; /* The hash-table node of the requested symbol */ local 481 HashNode *node; /* The new node */ local 535 _del_HashNode(HashTable *hash, HashNode *node) argument 604 HashNode *node; /* The node that is being searched */ local 691 HashNode *node = bucket->head; local 734 HashNode *node; local [all...] |
/illumos-gate/usr/src/lib/libuuid/common/ |
H A D | uuid.c | 55 * as obtaining the node identifier or system time) 153 if (memcmp(&system_node, &data->state.node, sizeof (uuid_node_t)) != 0) 185 uchar_t node[6]; local 188 arc4random_buf(node, 6); 189 (void) memcpy(system_node->nodeID, node, 6); 201 * Formats a UUID, given the clock_seq timestamp, and node address. 206 uuid_time_t timestamp, uuid_node_t node) 240 (void) memcpy(&uuid->node_addr, &node, sizeof (uuid->node_addr)); 283 revalidate_data(uuid_node_t *node) argument 289 for (i = 0; i < sizeof (data->state.node 205 format_uuid(struct uuid *uuid, uint16_t clock_seq, uuid_time_t timestamp, uuid_node_t node) argument [all...] |
/illumos-gate/usr/src/lib/libwanboot/common/ |
H A D | bootinfo_aux.c | 57 di_node_t cb_node; /* found leaf node of device path */ 198 * Get the value of the named property on the named node in root. 203 di_node_t node; local 211 for (node = di_child_node(root_node); 212 node != DI_NODE_NIL; 213 node = di_sibling_node(node)) { 214 if (strcmp(di_node_name(node), nodename) == 0) { 218 if (node == DI_NODE_NIL) { 225 for (pp = di_prom_prop_next(phdl, node, DI_PROM_PROP_NI 299 p2n_cb(di_node_t node, void *arg) argument 334 is_network_device(di_node_t node) argument 381 di_node_t node; local [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | rpcsec_gss_if.c | 180 char *node, 186 user_name, node, secdomain)); 176 rpc_gss_get_principal_name( rpc_gss_principal_t *principal, char *mechanism, char *user_name, char *node, char *secdomain) argument
|
/illumos-gate/usr/src/cmd/vscan/vscand/ |
H A D | vs_svc.c | 159 vs_svc_node_t *node; local 172 node = &(vs_svc_nodes[req->vsr_idx]); 175 if ((node->vsn_tid != 0) || (req->vsr_idx > vs_svc_max_node)) { 180 node->vsn_req = *req; 182 if (pthread_create(&tid, NULL, vs_svc_async_scan, (void *)node) != 0) { 187 node->vsn_tid = tid; 203 vs_svc_node_t *node = (vs_svc_node_t *)arg; local 204 vs_scan_req_t *scan_req = &(node->vsn_req); 209 scan_rsp.vsr_result = vs_svc_scan_file(node, &scan_rsp.vsr_scanstamp); 211 /* clear node an 241 vs_svc_scan_file(vs_svc_node_t *node, vs_scanstamp_t *scanstamp) argument [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_rcm.c | 165 di_node_t node; local 205 * through its nodes, and attempt a suspension of each node that 217 node = di_init(rsrc_devpath, DINFOSUBTREE | DINFOMINOR); 218 if (node == DI_NODE_NIL) { 233 if (di_walk_node(node, 0, &walkargs, fp_rcm_process_node) < 0) 239 if (node != DI_NODE_NIL) 240 di_fini(node); 265 di_node_t node; local 310 node = di_init(rsrc_devpath, DINFOSUBTREE | DINFOMINOR); 311 if (node 430 fp_rcm_process_node(di_node_t node, void *argp) argument [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
H A D | cpu_prop_update.c | 50 prop_exists(picl_nodehdl_t node, char *name) argument 55 status = ptree_get_prop_by_name(node, name, &proph); 63 add_md_prop(picl_nodehdl_t node, int size, char *name, void* value, int type) argument 68 if (!prop_exists(node, name)) { 71 (void) ptree_create_and_add_prop(node, &propinfo, 76 add_tlb_props(picl_nodehdl_t node, mde_cookie_t *tlblistp, int ntlbs) argument 123 add_md_prop(node, sizeof (int_value), property, 130 add_cache_props(picl_nodehdl_t node, mde_cookie_t *cachelistp, int ncaches) argument 185 add_md_prop(node, sizeof (int_value), property, 193 add_md_prop(node, sizeo 276 add_cpu_prop(picl_nodehdl_t node, void *args) argument [all...] |
H A D | dr.c | 39 extern int add_cpu_prop(picl_nodehdl_t node, void *args); 251 * add OBP_REG property to picl cpu node if it's not already there. 281 * Create a picl node of type cpu and fill it. 307 * Given a devinfo node find its reg property. 325 * Given a devinfo cpu node find its cpuid property. 345 find_cpu(di_node_t node, int cpuid) argument 351 for (cnode = di_child_node(node); cnode != DI_NODE_NIL; 369 * the device tree for a cpu whose cpuid matches the picl cpu node. 408 * Given the start node of the device tree. 444 * each picl cpu node' [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/pri/ |
H A D | mem_prop_update.c | 38 add_memory_props(picl_nodehdl_t node, mde_cookie_t memorylistp, md_t *mdp, 42 add_bank_props(picl_nodehdl_t node, mde_cookie_t banklistp, 47 add_segment_props(picl_nodehdl_t node, mde_cookie_t segmentlistp, 56 add_mem_prop(picl_nodehdl_t node, void *args) argument 74 * or absence of the /memory node will cause this to fail. 94 "add_mem_prop: can't find /memory node in platform tree\n"); 100 * There should be only one memory node. 190 * Add TransferSize and Size (total memory) to this node. 252 if (status == -1) /* can't get node type - just skip */ 289 add_segment_props(picl_nodehdl_t node, mde_cookie_ argument 309 add_memory_props(picl_nodehdl_t node, mde_cookie_t memorylistp, md_t *mdp, uint64_t size) argument [all...] |
/illumos-gate/usr/src/cmd/power/ |
H A D | parse.c | 163 di_node_t node; local 168 if ((node = di_init("/", DINFOPROP)) == DI_NODE_NIL) { 173 di_fini(node); 179 if (di_prom_prop_lookup_bytes(ph, node, 188 di_fini(node);
|
/illumos-gate/usr/src/cmd/prtconf/ |
H A D | prt_xxx.c | 353 match_priv_data(di_node_t node) argument 361 if ((parent = di_parent_node(node)) == DI_NODE_NIL) 376 di_node_name(node), drv_name); 392 dump_priv_data(int ilev, di_node_t node) argument 397 if ((priv = (uintptr_t)di_parent_private_data(node)) == NULL) 400 if ((pdp = match_priv_data(node)) == NULL) { 412 #define LOOKUP_PROP(proptype, ph, nodetype, dev, node, name, data) \ 414 di_prom_prop_lookup_##proptype(ph, node, name, data) : \ 415 di_prop_lookup_##proptype(dev, node, name, data)) 423 print_pciid(di_node_t node, di_prom_handle_ argument [all...] |
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_impl.c | 63 rsrc_node_t *node; local 67 * Find the node (root of subtree) in the resource tree, invoke 71 * NOTE: It's possible the node doesn't exist, which means no RCM 75 error = rsrc_node_find(rsrcname, 0, &node); 76 if ((error == RCM_SUCCESS) && (node != NULL)) { 87 error = rsrc_client_action_list(node->users, cmd, &arg); 89 error = rsrc_tree_action(node, cmd, &arg); 93 * No matching node, so no client. This means there 125 * if no DR request for this node exists. 396 rsrc_node_t *node local 478 rsrc_node_t *node; local 605 rsrc_node_t *node; local [all...] |
/illumos-gate/usr/src/cmd/devfsadm/i386/ |
H A D | misc_link_i386.c | 39 static int lp(di_minor_t minor, di_node_t node); 40 static int serial_dialout(di_minor_t minor, di_node_t node); 41 static int serial(di_minor_t minor, di_node_t node); 42 static int diskette(di_minor_t minor, di_node_t node); 43 static int vt00(di_minor_t minor, di_node_t node); 44 static int kdmouse(di_minor_t minor, di_node_t node); 45 static int ipmi(di_minor_t minor, di_node_t node); 46 static int smbios(di_minor_t minor, di_node_t node); 47 static int agp_process(di_minor_t minor, di_node_t node); 48 static int drm_node(di_minor_t minor, di_node_t node); 185 vt00(di_minor_t minor, di_node_t node) argument 198 diskette(di_minor_t minor, di_node_t node) argument 244 lp(di_minor_t minor, di_node_t node) argument 291 serial(di_minor_t minor, di_node_t node) argument 323 serial_dialout(di_minor_t minor, di_node_t node) argument 347 kdmouse(di_minor_t minor, di_node_t node) argument 354 ipmi(di_minor_t minor, di_node_t node) argument 365 smbios(di_minor_t minor, di_node_t node) argument 372 agp_process(di_minor_t minor, di_node_t node) argument 496 drm_node(di_minor_t minor, di_node_t node) argument 571 mc_node(di_minor_t minor, di_node_t node) argument 605 xsvc(di_minor_t minor, di_node_t node) argument 624 srn(di_minor_t minor, di_node_t node) argument 643 ucode(di_minor_t minor, di_node_t node) argument 650 heci(di_minor_t minor, di_node_t node) argument [all...] |
/illumos-gate/usr/src/cmd/dis/ |
H A D | dis_list.c | 54 uu_list_node_t un_node; /* uulist node */ 60 uu_list_node_t rn_node; /* uulist node */ 112 unresolved_name_t *node; local 114 node = safe_malloc(sizeof (unresolved_name_t)); 116 node->un_name = name; 117 node->un_value = value; 118 node->un_mark = 0; 120 (void) uu_list_insert_before(list, NULL, node); 156 * Mark the current node as seen
|
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/ |
H A D | kmdb_kdi_isadep.c | 74 kdi_init_cpus_cb(pnode_t node, void *arg, void *result) argument 86 /* Get the real cpu property node if needed */ 87 node = kmdb_prom_getcpu_propnode(node); 93 if (kmdb_prom_getprop(node, "dcache-size", 95 kmdb_prom_getprop(node, "l1-dcache-size", 97 fail("can't get dcache size for node %x\n", node); 102 if (kmdb_prom_getprop(node, "dcache-line-size", 104 kmdb_prom_getprop(node, "l [all...] |
H A D | kmdb_promif_isadep.c | 76 pnode_t node; local 80 if ((node = prom_finddevice("/options")) == NULL) 83 if ((len = prom_getproplen(node, propname)) < 0) 88 if (prom_bounded_getprop(node, propname, val, len) != len) { 104 kmdb_prom_getprop(pnode_t node, char *name, caddr_t value) argument 106 return (prom_getprop(node, name, value)); 115 walk_cpus_cb(pnode_t node, void *arg, void *result) argument 126 if (!prom_devicetype(node, OBP_CPU)) 130 if ((prom_getprop(node, "portid", (caddr_t)&port_id) == -1) && 131 (prom_getprop(node, "up 164 kmdb_prom_getcpu_propnode(pnode_t node) argument [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/disk-lights/ |
H A D | disk_lights.c | 34 * That is: a DISK node will have a parent BAY; that BAY will itself have 100 * for this node, or return -1 if we can't. 103 get_facility_props(topo_hdl_t *hdl, tnode_t *node, char **facname, argument 110 if (topo_node_resource(node, &fmri, &e) != 0) 137 dl_fault_walk_inner(topo_hdl_t *thp, tnode_t *node, void *arg) argument 146 if (topo_node_flags(node) != TOPO_NODE_FACILITY || 147 get_facility_props(thp, node, &facname, &factype) != 0) { 158 (void) topo_prop_set_uint32(node, TOPO_PGROUP_FACILITY, TOPO_LED_MODE, 168 dl_fault_walk_outer(topo_hdl_t *thp, tnode_t *node, void *arg) argument 182 if (strcmp(DISK, topo_node_name(node)) ! [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/disk-transport/ |
H A D | disk_transport.c | 105 * Check a single topo node for failure. This simply invokes the disk status 109 dt_analyze_disk(topo_hdl_t *thp, tnode_t *node, void *arg) argument 123 if (topo_node_resource(node, &fmri, &err) != 0) { 144 * method is not supported), then ignore this node. 146 if (topo_method_invoke(node, TOPO_METH_DISK_STATUS,
|