/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | sess_mgr.c | 298 DL_NODE * node = NULL; local 306 node = sess_list; 308 while (node) { 309 SESSION *s = (SESSION *)node->data; 316 node = node->next; 340 DL_NODE * node = NULL; local 383 node = sess_list; 384 while (node) { 385 SESSION *s = (SESSION *)node 441 DL_NODE *node = NULL; local 469 DL_NODE *node = NULL; local 498 DL_NODE *node = NULL; local 527 DL_NODE *node = NULL; local 555 DL_NODE * node = NULL; local 702 DL_NODE * node = NULL; local 733 DL_NODE * node = NULL; local [all...] |
H A D | utility.c | 34 // Adds the specified node to the start of the list 41 DL_NODE *node = NULL; local 45 node = (DL_NODE *)malloc(sizeof (DL_NODE)); 46 if (! node) 48 node->data = data; 49 node->prev = NULL; 50 node->next = list; 52 list->prev = node; 54 return (node); 60 // Adds the specified node t 66 DL_NODE *node = NULL; local 94 DL_NODE *node = list; local 156 dlist_next(DL_NODE *node) argument 167 dlist_prev(DL_NODE *node) argument 178 DL_NODE *node; local 196 dlist_remove_node(DL_NODE *list, DL_NODE *node) argument [all...] |
/osnet-11/usr/src/lib/rpcsec_gss/ |
H A D | rpcsec_gss_utils.c | 140 * Given the user name, node, and security domain, get the mechanism 145 char *user, char *node, char *secdomain) 167 if (node != NULL) 168 nlen = strlen(node); 173 strcat(user_name, node); 144 __rpc_gss_get_principal_name(rpc_gss_principal_t *principal, char *mech, char *user, char *node, char *secdomain) argument
|
/osnet-11/usr/src/lib/storage/libg_fc/common/ |
H A D | io.c | 737 * drvr_name: driver name to start the node tree search 751 di_node_t node; local 783 /* point to first node which matches portdrvr */ 784 node = di_drv_first_node(drvr_name, root); 785 if (node == DI_NODE_NIL) { 787 * Could not find driver node 792 while (node != DI_NODE_NIL) { 793 if ((devfs_path = di_devfs_path(node)) != NULL) { 795 *devid = di_devid(node); 801 node [all...] |
/osnet-11/usr/src/lib/sun_sas/common/ |
H A D | devtree_device_disco.c | 36 * Get the preferred minor node for the given path. 180 * child smp ndoes or child node or pathinfo. 213 * Finds attached device(target) from devinfo node. 216 get_attached_devices_info(di_node_t node, struct sun_sas_port *port_ptr) argument 243 if ((devpath = di_devfs_path(node)) == NULL) { 249 if ((di_instance(node) == -1) || di_retired(node)) { 251 "dev node (%s) returned instance of -1 or is retired. " 256 state = di_state(node); 257 /* when node i 1056 devtree_attached_devices(di_node_t node, struct sun_sas_port *port_ptr) argument [all...] |
H A D | devtree_hba_disco.c | 153 "HBA port node %s is either OFFLINE or DETACHED", 191 "Unable to get initiator-port from HBA port node %s.", 219 "Unable to get attached-port from HBA port node %s.", 320 "HBA node doesn't have iport child."); 327 "Unable to get supported-protocol from HBA node."); 355 * The di_node_t argument should be a node with smhba-supported prop set 357 * Without iport support, the devinfo node will represent one port hba. 490 "Unable to get supported-protocol from HBA node."); 596 lookup_smhba_sas_hba(di_node_t node, void *arg) argument 603 if (IS_STUB_NODE(node)) { [all...] |
/osnet-11/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_funcs.c | 113 dump_node(Prom_node *node) argument 121 node->props = NULL; 222 if (node->props == NULL) 223 node->props = new; 309 * Check if the Prom node passed in contains a property called 313 has_board_num(Prom_node *node) argument 315 Prop *prop = node->props; 318 * walk thru all properties in this PROM node and look for 333 * node. It has the type of int. 336 get_board_num(Prom_node *node) argument 454 Prom_node *node; local 464 Prom_node *node; local 478 Prom_node *node; local 492 Prom_node *node; local 568 node_failed(Prom_node *node) argument 574 node_status(Prom_node *node, const char *status) argument 696 Prom_node *node; local 726 Prom_node *node; local 756 Prom_node *node; local 811 Prom_node *node; local [all...] |
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | mkservice.c | 124 Namval_t* node; member in struct:Service_s 178 nv_unset(sp->node); 299 if (sh_fun(nq, sp->node, av)) 327 r=sh_fun(nq, sp->node, av); 338 if(sp->node) 339 nv_unset(sp->node); 442 sp->node = 0; 454 sp->node = np;
|
/osnet-11/usr/src/lib/libslp/clib/ |
H A D | SLPFindAttrs.c | 490 /* not found; populate new attr node */ 521 /* create a new node with the tag only */ 553 static void collect_attrs(void *node, VISIT order, int level, void *cookie) { argument 558 n = *(struct attr_node **)node; 586 free(node);
|
H A D | SLPFindSrvs.c | 518 static void process_surl_node(void *node, VISIT order, int level, void *c) { argument 529 n = *(struct surl_node **)node; 540 free(node);
|
/osnet-11/usr/src/lib/libntsvcs/common/ |
H A D | eventlog_log.c | 229 logr_syslog_node_t *node, *head; local 245 if ((node = malloc(sizeof (logr_syslog_node_t))) == NULL) { 249 bzero(node->ln_logline, LOGR_MAXENTRYLEN); 251 (void) strlcpy(node->ln_logline, logline, LOGR_MAXENTRYLEN); 252 list_insert_tail(queue, node); 276 logr_syslog_node_t *node; local 281 node = list_head(&queue); 282 while (node) { 285 if (logr_syslog_parse_entry(node->ln_logline, entry) != 0) { 286 node [all...] |
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | expr.c | 495 Node_t node; local 525 if (expr_or(&state, &node)) 527 if (node.type&T_STR) 529 if (*node.str) 530 sfprintf(sfstdout,"%s\n",node.str); 533 sfprintf(sfstdout,"%d\n",node.num); 534 return numeric(&node)?node.num==0:*node.str==0;
|
/osnet-11/usr/src/lib/libdevinfo/ |
H A D | devinfo_retire.c | 57 int (*sel_selector)(di_node_t node, rcm_arg_t *rp); 67 static int disk_select(di_node_t node, rcm_arg_t *rp); 68 static int nexus_select(di_node_t node, rcm_arg_t *rp); 69 static int enclosure_select(di_node_t node, rcm_arg_t *rp); 70 static int smp_select(di_node_t node, rcm_arg_t *rp); 107 enclosure_minor(di_node_t node, di_minor_t minor, void *arg) argument 114 "IDed this node as enclosure\n"); 119 enclosure_select(di_node_t node, rcm_arg_t *rp) argument 131 if (di_walk_minor(node, DDI_NT_SCSI_ENCLOSURE, 0, &rarg, 137 if (di_walk_minor(node, "ddi_generi 149 smp_minor(di_node_t node, di_minor_t minor, void *arg) argument 161 smp_select(di_node_t node, rcm_arg_t *rp) argument 184 disk_minor(di_node_t node, di_minor_t minor, void *arg) argument 202 disk_select(di_node_t node, rcm_arg_t *rp) argument 224 nexus_select(di_node_t node, rcm_arg_t *rp) argument 257 node_select(di_node_t node, void *arg) argument 421 call_offline(di_node_t node, di_minor_t minor, void *arg) argument 480 offline_one(di_node_t node, void *arg) argument [all...] |
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | disks_private.h | 142 di_node_t node; member in struct:search_args
|
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | cpu.c | 265 cpu_release(topo_mod_t *mod, tnode_t *node) argument 267 topo_method_unregister_all(mod, node); 355 cpu_nvl2str(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument 389 cpu_str2nvl(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument 532 cpu_fmri_asru(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument 557 cpu_fmri_create_meth(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument 595 cpu_fmri_service_state(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument 628 cpu_fmri_strhash_path(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument 652 cpu_fmri_strcmp_path(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument 699 cpu_fmri_strcmp_ident(topo_mod_t *mod, tnode_t *node, topo_version_ argument [all...] |
H A D | dev.c | 127 dev_release(topo_mod_t *mod, tnode_t *node) argument 129 topo_method_unregister_all(mod, node); 200 dev_fmri_nvl2str(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument 233 dev_fmri_str2nvl(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument 374 dev_fmri_service_state(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument 469 dev_fmri_create_meth(topo_mod_t *mp, tnode_t *node, topo_version_t version, argument 493 dev_fmri_strhash_path(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument 515 dev_fmri_strcmp_path(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument 548 dev_fmri_strcmp_ident(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument
|
H A D | svc.c | 317 svc_release(topo_mod_t *mod, tnode_t *node) argument 319 topo_method_unregister_all(mod, node); 338 svc_fmri_prop_get(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument 369 * Lookup a topo node named svc:/svc_name[:svc_inst] 383 svc_node = topo_node_lookup(node, (const char *)search, 0); 409 svc_fmri_nvl2str(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument 507 svc_fmri_str2nvl(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument 801 svc_fmri_presence_state(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument 831 svc_fmri_service_state(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument
|
H A D | sw.c | 128 sw_fmri_create(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument 311 sw_release(topo_mod_t *mod, tnode_t *node) argument 313 topo_method_unregister_all(mod, node); 363 sw_fmri_nvl2str(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument
|
H A D | topo_2xml.c | 207 txml_print_prop(topo_hdl_t *thp, FILE *fp, tnode_t *node, const char *pgname, argument 217 if (topo_prop_get_int32(node, pgname, pv->tp_name, &val, 228 if (topo_prop_get_uint32(node, pgname, pv->tp_name, 239 if (topo_prop_get_int64(node, pgname, pv->tp_name, &val, 251 if (topo_prop_get_uint64(node, pgname, pv->tp_name, 262 if (topo_prop_get_string(node, pgname, pv->tp_name, 273 if (topo_prop_get_fmri(node, pgname, pv->tp_name, &val, 291 if (topo_prop_get_uint32_array(node, pgname, 340 txml_print_pgroup(topo_hdl_t *thp, FILE *fp, tnode_t *node, topo_pgroup_t *pg) argument 354 txml_print_prop(thp, fp, node, pi 360 txml_print_dependents(topo_hdl_t *thp, FILE *fp, tnode_t *node) argument 370 txml_print_node(topo_hdl_t *thp, FILE *fp, tnode_t *node) argument 387 txml_print_range(topo_hdl_t *thp, FILE *fp, tnode_t *node, int dependent) argument 427 txml_print_topology(topo_hdl_t *thp, FILE *fp, char *scheme, tnode_t *node) argument [all...] |
H A D | topo_node.c | 34 * may access node data safely without locks. The exception to this rule 35 * is data associated with node properties (topo_prop.c). Properties 40 * scope of operation: the parent node passed into the enumeration op or those 46 * node property data, and contruct or destroy child nodes for the node 48 * the node for which the method operation is called. This permits 56 * node instances with topo_node_range_create(). topo_node_range_create() 57 * does not allocate any node resources but creates the infrastruture 62 * the node be bound. 64 * Node range and node linkag 129 topo_node_destroy(tnode_t *node) argument 204 topo_node_lock(tnode_t *node) argument 210 topo_node_unlock(tnode_t *node) argument 216 topo_node_hold(tnode_t *node) argument 224 topo_node_rele(tnode_t *node) argument 239 topo_node_name(tnode_t *node) argument 245 topo_node_instance(tnode_t *node) argument 251 topo_node_parent(tnode_t *node) argument 257 topo_node_flags(tnode_t *node) argument 263 topo_node_setspecific(tnode_t *node, void *data) argument 269 topo_node_getspecific(tnode_t *node) argument 534 tnode_t *node; local 569 node_bind_seterror(topo_mod_t *mod, tnode_t *pnode, tnode_t *node, boolean_t pnode_locked, int err) argument 644 tnode_t *node; local 733 tnode_t *node; local 866 topo_node_facility(topo_hdl_t *thp, tnode_t *node, const char *fac_type, uint32_t fac_subtype, topo_faclist_t *faclist, int *errp) argument 950 topo_node_unbind(tnode_t *node) argument 974 topo_node_walk_init(topo_hdl_t *thp, topo_mod_t *mod, tnode_t *node, int (*cb_f)(), void *pdata, int *errp) argument [all...] |
H A D | topo_snap.c | 49 * handle passed to topo_walk_step to begin the walk. At each node in the 50 * topology tree, a callback function is called with access to the node at 60 * deallocated until the walk through that node completes. 467 fac_walker(topo_hdl_t *thp, tnode_t *node, void *arg) argument 472 if (topo_method_supported(node, TOPO_METH_FAC_ENUM, 0)) { 477 if (topo_method_invoke(node, TOPO_METH_FAC_ENUM, 0, NULL, &out, 481 "node %s=%d (%s)\n", __func__, topo_node_name(node), 482 topo_node_instance(node), topo_strerror(err)); 555 topo_walk_destroy(topo_hdl_t *thp, tnode_t *node, voi argument [all...] |
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/x86pi/common/ |
H A D | x86pi_subr.c | 135 stype->ids[cnt].node = NULL; 146 * Calculate the authority information for a node. Always create the 175 /* Determnine if this is a chassis node and set it's instance */ 189 /* either not a chassis node, or chassis #0 */ 199 "%s: failed to set %s for %s node\n", 210 * Calculate a generic FRU for the given node. If the node is not a FRU, 228 * Determine if this node is a FRU 231 /* This node is not a FRU. Inherit from parent and return */ 237 * This node i 683 x86pi_bdf(topo_mod_t *mod, di_node_t node) argument 700 x86pi_phy(topo_mod_t *mod, di_node_t node) argument [all...] |
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/cpuboard/common/ |
H A D | cpuboard.c | 313 cpuboard_label_set(topo_mod_t *mod, tnode_t *parent, tnode_t *node, argument 332 if (topo_prop_set_string(node, TOPO_PGROUP_PROTOCOL, 427 "got px %d, node named: %s, path: %s\n",
|
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/ |
H A D | pi_meth.c | 39 tnode_t *parent; /* walk start node */ 154 * For each visited cpu node, call the callback function with its ASRU. 157 cpu_walker(topo_mod_t *mod, tnode_t *node, void *pdata) argument 164 * Terminate the walk if we reach start-node's sibling 166 if (node != swdp->parent && 167 topo_node_parent(node) == topo_node_parent(swdp->parent)) 177 if (strcmp(topo_node_name(node), CPU) != 0 && 178 strcmp(topo_node_name(node), STRAND) != 0) 181 if (topo_node_asru(node, &asru, NULL, &err) != 0) { 197 swdp->strandid = topo_node_instance(node); 306 cacheline_retire(topo_mod_t *mod, tnode_t *node, nvlist_t *fmri, nvlist_t **out) argument 327 cpu_retire(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 347 cacheline_unretire(topo_mod_t *mod, tnode_t *node, nvlist_t *fmri, nvlist_t **out) argument 368 cpu_unretire(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 389 cacheline_service_state(topo_mod_t *mod, tnode_t *node, nvlist_t *fmri, nvlist_t **out) argument 412 cpu_service_state(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 464 chip_core_asru_compute(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 508 mem_asru_compute(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 601 dimm_page_service_state(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 626 dimm_page_retire(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 651 dimm_page_unretire(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument [all...] |
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/xaui/common/ |
H A D | xaui.c | 366 /* check node path */ 369 /* this is the node, grab the label */ 394 xaui_label_set(topo_mod_t *mod, tnode_t *node, topo_instance_t n, void *priv) argument 403 topo_mod_dprintf(mod, "no PRI node for label\n"); 407 if (topo_prop_get_string(node, 440 if (topo_prop_set_string(node, TOPO_PGROUP_PROTOCOL,
|