/illumos-gate/usr/src/cmd/picl/plugins/sun4v/piclsbl/ |
H A D | piclsbl.c | 114 cb_find_disk(picl_nodehdl_t node, void *args) argument 121 status = ptree_get_propval_by_name(node, "Path", (void *)&path, 128 lookup->disk = node; 261 /* now, lookup it's location in the node */ 389 /* retrieve the root node for lookups in the event handler */
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_fem.c | 159 smb_fem_fcn_install(smb_node_t *node) argument 165 rc = fem_install(node->vp, smb_fcn_ops, (void *)node, OPARGUNIQ, 171 smb_fem_fcn_uninstall(smb_node_t *node) argument 175 VERIFY0(fem_uninstall(node->vp, smb_fcn_ops, (void *)node)); 179 smb_fem_oplock_install(smb_node_t *node) argument 185 rc = fem_install(node->vp, smb_oplock_ops, (void *)node, OPARGUNIQ, 191 smb_fem_oplock_uninstall(smb_node_t *node) argument 602 smb_node_t *node; local [all...] |
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/ |
H A D | efipart.c | 83 EFI_DEVICE_PATH *devpath, *devpathcpy, *tmpdevpath, *node; local 122 node = devpath; 123 devpathlen = DevicePathNodeLength(node); 124 while (!IsDevicePathEnd(NextDevicePathNode(node))) { 125 node = NextDevicePathNode(node); 126 devpathlen += DevicePathNodeLength(node); 128 devpathlen += DevicePathNodeLength(NextDevicePathNode(node)); 144 if (DevicePathType(node) == MEDIA_DEVICE_PATH && 145 DevicePathSubType(node) [all...] |
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | mlsetup.c | 329 pnode_t node; local 337 node = prom_findnode_bydevtype(prom_rootnode(), OBP_CPU); 338 if (node != OBP_NONODE && node != OBP_BADNODE) { 339 if ((nlen = prom_getproplen(node, OBP_NAME)) <= 0 || 341 prom_getprop(node, OBP_NAME, cpubuf) <= 0) 342 prom_panic("no name in cpu node"); 346 if ((clen = prom_getproplen(node, OBP_COMPATIBLE)) > 0) { 350 * node for the compatible property. 352 if ((clen = prom_getproplen(node, OBP_COMPATIBL [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_set_prv.c | 48 char *node, 102 * If the disk is connected to the remote node then the 104 * have the same devid on that node, it may not have the 113 ret = clnt_devinfo_by_devid(node, sp, dnp->devid, &dev, 131 * If the device does not exist on the remote node then 141 node, dnp->cname, sp->setname); 146 * The rname returned from the remote node maybe different 147 * to the rname on this node, therefore we need to build up 189 if (clnt_devinfo(node, sp, dnp, &otherdev, NULL, ep) 196 sp->setno, node, dn 45 checkdrive_onnode( mdsetname_t *sp, mddrivename_t *dnp, char *node, md_error_t *ep) argument 271 getnodeside(char *node, md_set_desc *sd) argument 372 nodehasset( mdsetname_t *sp, char *node, uint_t match_flag, md_error_t *ep ) argument [all...] |
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | obj_mgr.c | 456 DL_NODE *node = NULL; local 459 node = dlist_find(sess_obj_list, o); 460 if (node) 462 dlist_remove_node(sess_obj_list, node); 467 node = dlist_find(priv_token_obj_list, o); 468 if (node) 471 priv_token_obj_list, node); 473 node = dlist_find(publ_token_obj_list, o); 474 if (node) 477 publ_token_obj_list, node); 639 DL_NODE *node = NULL; local 830 DL_NODE *node = NULL; local 897 DL_NODE *node; local 911 DL_NODE *node = NULL; local 1024 DL_NODE * node = NULL; local 1065 DL_NODE * node = NULL; local 1108 DL_NODE * node = NULL; local 1224 DL_NODE * node = NULL; local 1414 DL_NODE *node = NULL; local 1445 DL_NODE *node = NULL; local 1481 DL_NODE *node = NULL; local 1543 DL_NODE *node = NULL; local 1598 DL_NODE * node = NULL; local 1634 DL_NODE *node = NULL; local 1972 DL_NODE * node = NULL; local 2083 DL_NODE * node = NULL; local 2203 DL_NODE *node = NULL; local [all...] |
H A D | template.c | 425 DL_NODE * node = NULL; local 430 node = tmpl->attribute_list; 432 while (node != NULL) { 433 a = (CK_ATTRIBUTE *)node->data; 440 node = node->next; 595 DL_NODE *node; local 600 node = src->attribute_list; 602 while (node) { 603 CK_ATTRIBUTE *attr = (CK_ATTRIBUTE *)node 633 DL_NODE * node = NULL; local 851 DL_NODE * node; local 889 DL_NODE * node; local 909 DL_NODE * node; local 988 DL_NODE *node; local 1077 DL_NODE * node = NULL; local 1172 DL_NODE *node; local [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | eventlog_log.c | 230 logr_syslog_node_t *node, *head; local 246 if ((node = malloc(sizeof (logr_syslog_node_t))) == NULL) { 250 bzero(node->ln_logline, LOGR_MAXENTRYLEN); 252 (void) strlcpy(node->ln_logline, logline, LOGR_MAXENTRYLEN); 253 list_insert_tail(queue, node); 277 logr_syslog_node_t *node; local 282 node = list_head(&queue); 283 while (node) { 286 if (logr_syslog_parse_entry(node->ln_logline, entry) != 0) { 287 node [all...] |
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | svc.c | 326 svc_release(topo_mod_t *mod, tnode_t *node) argument 328 topo_method_unregister_all(mod, node); 347 svc_fmri_prop_get(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument 378 * Lookup a topo node named svc:/svc_name[:svc_inst] 392 svc_node = topo_node_lookup(node, (const char *)search, 0); 418 svc_fmri_nvl2str(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument 516 svc_fmri_str2nvl(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument 812 svc_fmri_present(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument 836 svc_fmri_replaced(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument 861 svc_fmri_service_state(topo_mod_t *mod, tnode_t *node, topo_version_ argument 885 svc_fmri_unusable(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) 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 389 tnode_t *node; local 424 node_bind_seterror(topo_mod_t *mod, tnode_t *pnode, tnode_t *node, boolean_t pnode_locked, int err) argument 450 tnode_t *node; local 536 tnode_t *node; local 666 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 750 topo_node_unbind(tnode_t *node) argument 775 topo_node_present(tnode_t *node) argument 789 topo_node_unusable(tnode_t *node) argument 795 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. 348 fac_walker(topo_hdl_t *thp, tnode_t *node, void *arg) argument 353 if (topo_method_supported(node, TOPO_METH_FAC_ENUM, 0)) { 358 if (topo_method_invoke(node, TOPO_METH_FAC_ENUM, 0, NULL, &out, 361 "facility enumeration method failed on node %s=%d " 362 "(%s)\n", topo_node_name(node), 363 topo_node_instance(node), topo_strerror(err)); 407 topo_walk_destroy(topo_hdl_t *thp, tnode_t *node, voi argument [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/cpuboard/ |
H A D | cpuboard.c | 310 cpuboard_label_set(topo_mod_t *mod, tnode_t *parent, tnode_t *node, argument 329 if (topo_prop_set_string(node, TOPO_PGROUP_PROTOCOL, 424 "got px %d, node named: %s, path: %s\n",
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/xaui/ |
H A D | xaui.c | 362 /* check node path */ 364 /* this is the node, grab the label */ 389 xaui_label_set(topo_mod_t *mod, tnode_t *node, topo_instance_t n, void *priv) argument 398 topo_mod_dprintf(mod, "no PRI node for label\n"); 402 if (topo_prop_get_string(node, 434 if (topo_prop_set_string(node, TOPO_PGROUP_PROTOCOL,
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ |
H A D | cc_memory.c | 195 krb5_mcc_list_node **curr, *node; local 206 node = *curr; 207 *curr = node->next; 208 free(node); 343 /* Once the node in the linked list is created, it's never
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_tree.c | 15 * Each node may represent either a relation or a section header. 48 #define CHECK_MAGIC(node) \ 49 if ((node)->magic != PROF_MAGIC_NODE) \ 53 * Free a node, and any children 55 void profile_free_node(struct profile_node *node) argument 59 if (node->magic != PROF_MAGIC_NODE) 62 if (node->name) 63 free(node->name); 64 if (node->value) 65 free(node 124 profile_verify_node(struct profile_node *node) argument 198 profile_make_node_final(struct profile_node *node) argument 209 profile_is_node_final(struct profile_node *node) argument 219 profile_get_node_name(struct profile_node *node) argument 229 profile_get_node_value(struct profile_node *node) argument 248 profile_find_node(struct profile_node *section, const char *name, const char *value, int section_flag, void **state, struct profile_node **node) argument 402 struct profile_node *node; member in struct:profile_iterator 623 profile_remove_node(struct profile_node *node) argument 640 profile_set_relation_value(struct profile_node *node, const char *new_value) argument 666 profile_rename_node(struct profile_node *node, const char *new_name) argument [all...] |
/illumos-gate/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;
|
/illumos-gate/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);
|
/illumos-gate/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...] |
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | disks_private.h | 135 di_node_t node; member in struct:search_args
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_funcs.c | 116 dump_node(Prom_node *node) argument 124 node->props = NULL; 225 if (node->props == NULL) 226 node->props = new; 312 * Check if the Prom node passed in contains a property called 316 has_board_num(Prom_node *node) argument 318 Prop *prop = node->props; 321 * walk thru all properties in this PROM node and look for 336 * node. It has the type of int. 339 get_board_num(Prom_node *node) argument 457 Prom_node *node; local 467 Prom_node *node; local 481 Prom_node *node; local 495 Prom_node *node; local 571 node_failed(Prom_node *node) argument 577 node_status(Prom_node *node, char *status) argument 699 Prom_node *node; local 729 Prom_node *node; local 759 Prom_node *node; local 814 Prom_node *node; local [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/ |
H A D | workfile.c | 77 * Start from the current node and return the next node besides 83 Prom_node *node; local 89 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL) 90 return (node); 93 if ((node = dev_find_node_by_compat(root->sibling, compat)) != NULL) 94 return (node); 101 * return the first node with the matching model. 106 Prom_node *node; local 131 if ((node [all...] |
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | hsearch.c | 119 typedef struct node { /* Part of the linked list of entries */ struct 121 struct node *next; 415 * item: Item to be kept in node
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | hsearch.c | 117 typedef struct node { /* Part of the linked list of entries */ struct 119 struct node *next; 458 ENTRY item; /* Item to be kept in node */
|
/illumos-gate/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;
|