/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_error.c | 576 char *node, 587 ip->node = ((node != NULL) ? Strdup(node) : NULL); 1770 "host %s is specified more than once"), ip->node); 1774 "\"%s\" is not a nodename, but a network name"), ip->node); 1779 ip->node); 1783 "host %s already has set"), ip->node); 1787 "host %s does not have set"), ip->node); 1796 ip->node); 572 mddserror( md_error_t *ep, md_ds_errno_t errnum, set_t setno, char *node, char *drive, char *name ) argument [all...] |
/illumos-gate/usr/src/lib/libpicltree/ |
H A D | ptree_impl.h | 66 * Lock type when locking a node 117 picl_obj_t *nodep; /* prop's node or table */ 125 * PICL node 153 picl_node_t node; member in union:picl_obj::__anon3762 173 #define first_prop u.node.firstprop 174 #define node_lock u.node.rwlock 175 #define child_node u.node.child 176 #define sibling_node u.node.sibling 177 #define parent_node u.node.parent 178 #define node_classname u.node [all...] |
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | io.c | 61 find_pci_bus(Prom_node *node, int id, int bus) argument 65 /* find the first pci node */ 66 pnode = dev_find_node(node, "pci"); 442 /* Find the device node using upa-portid/portid */ 550 /* Now gather all of the node names for that card */ 592 * Get slot-names properties from parent node and 804 * If we have reached a pci-to-pci bridge node, 838 * device under this node. We get this array now and use 899 * pci_bridge node found above. 1009 distinguish_identical_io_cards(char *name, Prom_node *node, argument [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/daktari/common/ |
H A D | workfile.c | 140 * This function searches through the properties of the node passed in 161 * This function searches through the properties of the node passed in 185 * This function adds a board node to the board structure where that 186 * that node's physical component lives. 205 /* find the board node with the same board number */ 210 /* now attach this prom node to the board list */ 211 /* Insert this node at the end of the list */ 224 * Search a Prom node and retrieve the property with the correct 275 * Start from the current node and return the next node beside 281 Prom_node *node; local 304 Prom_node *node; local [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/ |
H A D | workfile.c | 156 * Start from the current node and return the next node besides 162 Prom_node *node; local 168 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL) 169 return (node); 172 if ((node = dev_find_node_by_compat(root->sibling, compat)) != NULL) 173 return (node); 180 * return the first node with the matching model. 185 Prom_node *node; local 210 if ((node [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl.c | 115 * Check prom node for a class-code. If it exists and it's not a bridge device 120 walk_tree_for_pci_devices(Prom_node *node, int board_number) argument 127 if (node == NULL) { 133 val = get_prop_val(find_prop(node, "class-code")); 141 str = (char *)get_prop_val(find_prop(node, "name")); 145 str = (char *)get_prop_val(find_prop(node, "model")); 153 walk_tree_for_pci_devices(node->child, board_number); 154 walk_tree_for_pci_devices(node->sibling, board_number); 470 * from the libprtdiag Prop node size field which has 588 * pseudo-mc node [all...] |
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | audit_scf.c | 322 scf_plugin_kva_node_t *node = NULL; local 339 plugin_kva_ll_free(node); 348 if ((node = 355 node_head = node; 358 node_prev->next = node; 359 node->prev = node_prev; 361 node_prev = node; 363 (void) strlcat((char *)&(node->plugin_name), plugin_str_tmp, 369 plugin_kva_ll_free(node); 374 &(node 1252 plugin_kva_ll_free(scf_plugin_kva_node_t *node) argument [all...] |
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | policy.c | 74 parseOCSPValidation(xmlNodePtr node, KMF_VALIDATION_POLICY *vinfo) argument 78 n = node->children; 129 parseValidation(xmlNodePtr node, KMF_VALIDATION_POLICY *vinfo, argument 134 n = node->children; 250 parseKeyUsageSet(xmlNodePtr node, uint32_t *kubits) argument 255 n = node->children; 324 parseExtKeyUsage(xmlNodePtr node, KMF_EKU_POLICY *ekus) argument 331 n = node->children; 389 parseMapper(xmlNodePtr node, KMF_MAPPER_RECORD *mapper) argument 393 n = node; 414 parsePolicyElement(xmlNodePtr node, KMF_POLICY_RECORD *policy) argument 490 newprop(xmlNodePtr node, char *attrname, char *src) argument 513 AddCRLNodes(xmlNodePtr node, KMF_CRL_POLICY *crlinfo) argument 863 xmlNodePtr cur, node; local 983 deletePolicyNode(xmlNodePtr node, char *policy_name) argument 1145 xmlNodePtr cur, node; local 1346 xmlNodePtr root, node; local [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_cs.c | 61 * This function initiates the creation of the new device node for a given 496 * Skip non-MPxIO dev node if any. 501 di_node_t root, vhci, node, phci; local 559 for (node = di_child_node(vhci); node != DI_NODE_NIL; 560 node = di_sibling_node(node)) { 561 if ((node_path = di_devfs_path(node)) != NULL) { 580 for (path = di_path_next_phci(node, DI_PATH_NIL); 582 path = di_path_next_phci(node, pat [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/lib/picld_pluginutil/ |
H A D | picld_pluginutil_impl.h | 108 node_cmd_t node; member in union:__anon1076::__anon1077 133 #define nodecmd_nodeh u.node.nodeh 134 #define nodecmd_nodename u.node.nodename 135 #define nodecmd_classname u.node.classname 136 #define nodecmd_classname u.node.classname
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | piclscsi.c | 96 typedef struct node { struct 97 struct node *next; 377 /* get the devlink and read the target id from minor node */ 465 "Error in creating node %s under %s(error=%d)", 532 "Error in creating node %s under %s(error=%d)", 542 * This routine checks if the node (scsi device) is present in cfgadm data 550 * - The node must be repreented in PICL tree. 626 get_prop_by_name(di_node_t node, char *name) argument 631 prop = di_prop_next(node, DI_PROP_NIL); 639 prop = di_prop_next(node, pro 679 probe_disks(di_node_t node, void *arg) argument [all...] |
/illumos-gate/usr/src/cmd/prtfru/ |
H A D | prtfru.c | 1140 * Close the XML element for a "location" node 1144 end_location_xml(fru_nodehdl_t node, const char *path, const char *name, argument 1152 * Close the XML element for a "fru" node 1156 end_fru_xml(fru_nodehdl_t node, const char *path, const char *name, void *args) argument 1163 * Close the XML element for a "container" node 1167 end_container_xml(fru_nodehdl_t node, const char *path, const char *name, argument 1175 * Introduce a node in XML and set the appropriate node-closing function 1201 * Print node info and, where appropriate, node content 1205 process_node(fru_nodehdl_t node, const char *path, const char *name, void *args, end_node_fp_t *end_node, void **end_args) argument 1254 process_matching_node(fru_nodehdl_t node, const char *path, const char *name, void *args, end_node_fp_t *end_node, void **end_args) argument [all...] |
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | cfg_link.c | 43 * for use in print routine arg list as a shorthand way to locate node via 47 #define DRVINST(node) di_driver_name(node), di_instance(node) 53 static int scsi_cfg_creat_cb(di_minor_t minor, di_node_t node); 54 static int sbd_cfg_creat_cb(di_minor_t minor, di_node_t node); 55 static int usb_cfg_creat_cb(di_minor_t minor, di_node_t node); 57 static int pci_cfg_creat_cb(di_minor_t minor, di_node_t node); 58 static int ib_cfg_creat_cb(di_minor_t minor, di_node_t node); 59 static int sata_cfg_creat_cb(di_minor_t minor, di_node_t node); 160 scsi_cfg_creat_cb(di_minor_t minor, di_node_t node) argument 203 sbd_cfg_creat_cb(di_minor_t minor, di_node_t node) argument 216 usb_cfg_creat_cb(di_minor_t minor, di_node_t node) argument 245 sata_cfg_creat_cb(di_minor_t minor, di_node_t node) argument 281 sdcard_cfg_creat_cb(di_minor_t minor, di_node_t node) argument 385 pci_cfg_devpath(di_node_t node, di_minor_t minor) argument 406 di_propall_lookup_ints(di_prom_handle_t ph, int flags, dev_t dev, di_node_t node, const char *prop_name, int **prop_data) argument 427 di_propall_lookup_strings(di_prom_handle_t ph, int flags, dev_t dev, di_node_t node, const char *prop_name, char **prop_data) argument 449 pci_cfg_chassis_node(di_node_t node, di_prom_handle_t ph) argument 465 di_propall_lookup_slot_names(di_prom_handle_t ph, int flags, dev_t dev, di_node_t node, di_slot_name_t **prop_data) argument 488 pci_cfg_slotname(di_node_t node, di_prom_handle_t ph, minor_t pci_dev) argument 535 pci_cfg_ap_node(minor_t pci_dev, di_node_t node, di_prom_handle_t ph, char *buf, int bufsz, int flags) argument 596 pci_cfg_iob_name(di_minor_t minor, di_node_t node, di_prom_handle_t ph, char *buf, int bufsz) argument 637 pci_cfg_pcidev(di_node_t node, di_prom_handle_t ph) argument 675 pci_cfg_ap_path(di_minor_t minor, di_node_t node, di_prom_handle_t ph, char *ap_path, int ap_pathsz, char **pathret) argument 868 pci_cfg_ap_legacy(di_minor_t minor, di_node_t node, di_prom_handle_t ph, char *ap_path, int ap_pathsz) argument 891 pci_cfg_is_ap_path(di_node_t node, di_prom_handle_t ph) argument 1019 di_node_t node; local 1083 di_node_t node; local 1206 ib_cfg_creat_cb(di_minor_t minor, di_node_t node) argument [all...] |
H A D | port_link.c | 142 static int serial_port_create(di_minor_t minor, di_node_t node); 143 static int onbrd_port_create(di_minor_t minor, di_node_t node); 144 static int dialout_create(di_minor_t minor, di_node_t node); 145 static int onbrd_dialout_create(di_minor_t minor, di_node_t node); 146 static int rsc_port_create(di_minor_t minor, di_node_t node); 147 static int lom_port_create(di_minor_t minor, di_node_t node); 244 serial_port_create(di_minor_t minor, di_node_t node) argument 250 devfspath = di_devfs_path(node); 291 (void) devfsadm_mklink(l_path, node, minor, 0); 318 dialout_create(di_minor_t minor, di_node_t node) argument 416 check_compat_ports(di_node_t node, char *phys_path, char *minor) argument 460 onbrd_port_create(di_minor_t minor, di_node_t node) argument 523 onbrd_dialout_create(di_minor_t minor, di_node_t node) argument 589 rsc_port_create(di_minor_t minor, di_node_t node) argument 639 lom_port_create(di_minor_t minor, di_node_t node) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/libtopo/ |
H A D | libtopo.c | 53 * keep track of where they're at in the node hash 278 "Lock protecting node members"); 449 * Recursive function to dump the specified node and all of it's children 455 tnode_t node; local 462 if (mdb_vread(&node, sizeof (node), addr) != sizeof (node)) { 466 if (mdb_readstr(buf, sizeof (buf), (uintptr_t)node.tn_name) < 0) { 468 node.tn_name); 476 parent, buf, node 710 tnode_t node; local 822 tnode_t node; local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/nca/ |
H A D | nca.c | 527 node_t node; local 548 if (mdb_vread(&node, sizeof (node_t), addr) == -1) { 554 NCA_ADDR_WIDTH, addr, node.cnt, node.ref, 555 node.datasz, NCA_ADDR_WIDTH, node.sqp, NCA_ADDR_WIDTH, 556 node.req, NCA_ADDR_WIDTH, node.plrunn, NCA_ADDR_WIDTH, node.vlrunn); 561 if ((node 899 node_t node; local 1085 node_t node; local 1113 node_t node; local [all...] |
/illumos-gate/usr/src/cmd/modload/ |
H A D | add_drv.c | 73 static int devfs_node(di_node_t node, void *arg); 79 static int clone(di_node_t node); 608 * If so, the new node will not be created (since the device is 610 * the new driver but not have a node - we need to warn the user 617 * walk the device tree checking each node 636 * called for each node in the device tree. We skip nodes that: 639 * 3. whose node name = binding name. 640 * 4. nexus nodes - the name of a generic nexus node would 645 * node away. 649 devfs_node(di_node_t node, voi argument 725 clone(di_node_t node) argument 835 dev_node(const char *node, const struct stat *node_stat, int flags, struct FTW *ftw_info) argument [all...] |
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | msgfmt.c | 672 struct msg_chain *node, *prev_node; local 677 * The starting search position is either the first node 679 * The current_elem is the pointer to the node which 700 * Search starts from the node pointed by p1. 711 /* move to the next node */ 715 /* insert a new msg node */ 716 node = (struct msg_chain *) 718 node->next = p1; 719 node->msgid = Xstrdup(msgid); 720 node 765 struct domain_struct *node; local [all...] |
/illumos-gate/usr/src/cmd/fruadm/ |
H A D | fruadm.c | 766 update_node_data(fru_nodehdl_t node) argument 773 if (update_field(node, svcargv[i], svcargv[i + 1])) { 777 status = update_field(node, "/Customer_DataR/Cust_Data", 784 walk_tree(fru_nodehdl_t node, const char *prior_path, int process_tree) argument 791 if ((status = fru_get_node_type(node, &type)) != FRU_SUCCESS) { 793 gettext("Error getting FRU tree node type: %s\n"), 798 if ((status = fru_get_name_from_hdl(node, &name)) != FRU_SUCCESS) { 800 gettext("Error getting name of FRU tree node: %s\n"), 819 * Process the node 829 status = update_node_data(node); [all...] |
/illumos-gate/usr/src/cmd/abi/appcert/static_prof/ |
H A D | static_prof.c | 1395 * Inserts a new node into the linked list. It is basically for 1402 dt_list * node) 1407 head = node; 1410 if (strcmp(tail->libname, node->libname) == 0) { 1411 free(node); 1416 if (strcmp(tail->libname, node->libname) == 0) { 1417 free(node); 1421 tail->next = node; 1401 add_dtneeded(dt_list * p, dt_list * node) argument
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | dirs.c | 48 } node; variable in typeref:struct:modeinfo 682 (void) fread((char *)&node, 1, sizeof (node), smf); 685 ep = lookupino(node.ino); 688 skipmetadata(smf, node.metasize); 703 skipmetadata(smf, node.metasize); 707 if (node.ino == ROOTINO && 709 skipmetadata(smf, node.metasize); 715 node.ino); 716 skipmetadata(smf, node [all...] |
/illumos-gate/usr/src/cmd/biosdev/ |
H A D | biosdev.c | 45 * structure used for searching device tree for a node matching 56 * structure used for searching device tree for a node matching 61 di_node_t node; member in struct:__anon44 112 static void new_disk_list_entry(di_node_t node); 113 static int i_disktype(di_node_t node, di_minor_t minor, void *arg); 122 static di_node_t search_tree_match_pcibdf(di_node_t node, int bus, int dev, 124 static int i_match_pcibdf(di_node_t node, void *arg); 126 static di_node_t search_tree_match_usbserialno(di_node_t node, 128 static int i_match_usbserialno(di_node_t node, void *arg); 130 static di_node_t search_children_match_busaddr(di_node_t node, 136 new_disk_list_entry(di_node_t node) argument 167 i_disktype(di_node_t node, di_minor_t minor, void *arg) argument 210 i_match_pcibdf(di_node_t node, void *arg) argument 261 search_tree_match_pcibdf(di_node_t node, int bus, int dev, int fn) argument 275 i_match_usbserialno(di_node_t node, void *arg) argument 295 search_tree_match_usbserialno(di_node_t node, uint64_t serialno) argument 325 search_children_match_busaddr(di_node_t node, char *matchbusaddr) argument 362 di_node_t node, cnode = DI_NODE_NIL; local [all...] |
/illumos-gate/usr/src/tools/ndrgen/ |
H A D | ndrgen.h | 39 typedef struct node { struct 43 struct node *n_next; /* handy for lists */ 50 struct node *nu_node[4]; /* descendents */ 87 struct node *typedefn; 88 struct node s_node; 94 struct node s_node; 103 struct node *a_nodes[N_ADVICE]; 151 struct node *type_dim; /* for LB */ 153 struct node *definition; 154 struct node *type_nam [all...] |
/illumos-gate/usr/src/uts/common/avs/ncall/ |
H A D | ncall.c | 344 ncall_node_t node = { 0, }; local 361 if (ddi_copyin((void *)arg, &node, sizeof (node), mode) < 0) 364 bcopy(&node, &ncall_nodeinfo, sizeof (ncall_nodeinfo)); 404 if (ddi_copyin((void *)arg, &node, sizeof (node), mode) < 0) { 409 node.nc_nodename[sizeof (node.nc_nodename)-1] = '\0'; 410 rc = ncall_ping(node.nc_nodename, rvalp);
|
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/ |
H A D | nsc_gen.c | 124 nsc_node_up(int node) argument 126 return (node == ncall_self());
|