/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/starcat/common/ |
H A D | starcat.c | 92 void display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, 96 static void starcat_disp_hw_revisions(Prom_node *root); 518 add_node(Sys_tree *root, Prom_node *pnode) argument 540 if ((bnode = find_board(root, portid)) == NULL) { 541 bnode = insert_board(root, portid); 1014 display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, argument 1023 disp_powerfail(root); 1041 starcat_disp_hw_revisions(root); 1050 starcat_disp_hw_revisions(Prom_node *root) argument 1071 pnode = dev_find_node(root, "openpro [all...] |
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | policy.c | 1346 xmlNodePtr root, node; local 1373 root = xmlDocGetRootElement(doc); 1374 if (root == NULL) { 1379 node = root->xmlChildrenNode; 1401 root = xmlNewDocNode(doc, NULL, 1403 if (root != NULL) { 1404 (void) xmlDocSetRootElement(doc, root); 1408 /* Append the new policy info to the root node. */ 1409 if (root != NULL) { 1412 pnode = xmlNewChild(root, NUL [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_cs.c | 501 di_node_t root, vhci, node, phci; local 547 root = di_init("/", DINFOCPYALL|DINFOPATH); 549 if (root == DI_NODE_NIL) { 554 if ((vhci = di_drv_first_node(SCSI_VHCI_DRVR, root)) == 574 di_fini(root); 587 di_fini(root); 594 di_fini(root); 603 di_fini(root); 629 di_fini(root);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libtopo/ |
H A D | libtopo.c | 69 char uuid[36], root[36], plat[36], isa[36], machine[36], product[36]; local 84 if (mdb_readstr(root, sizeof (root), (uintptr_t)th.th_rootdir) < 0) { 85 (void) mdb_snprintf(root, sizeof (root), "<%p>", th.th_rootdir); 119 mdb_printf("%-12s %-36s %-30s\n", "th_rootdir", root, 128 "Handle to the root of the devinfo tree"); 130 "Handle to the root of the PROM tree"); 155 char name[36], path[36], root[36]; local 173 if (mdb_readstr(root, sizeo [all...] |
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | tree.c | 230 tree_free(struct node *root) argument 232 if (root == NULL) 235 switch (root->t) { 237 tree_free(root->u.name.child); 238 tree_free(root->u.name.next); 241 tree_free(root->u.func.arglist); 267 tree_free(root->u.expr.left); 268 tree_free(root->u.expr.right); 271 tree_free(root->u.event.ename); 272 tree_free(root 964 tree_s2np_lut_add(struct lut *root, const char *s, struct node *np) argument 970 tree_s2np_lut_lookup(struct lut *root, const char *s) argument 976 tree_name2np_lut_add(struct lut *root, struct node *namep, struct node *np) argument 983 tree_name2np_lut_lookup(struct lut *root, struct node *namep) argument 990 tree_name2np_lut_lookup_name(struct lut *root, struct node *namep) argument 997 tree_event2np_lut_add(struct lut *root, struct node *enp, struct node *np) argument 1003 tree_event2np_lut_lookup(struct lut *root, struct node *enp) argument 1010 tree_event2np_lut_lookup_event(struct lut *root, struct node *enp) argument [all...] |
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd.c | 252 { "conf_path", &fmd_conf_path, _fmd_conf_path }, /* root config file path */ 253 { "conf_file", &fmd_conf_string, "fmd.conf" }, /* root config file name */ 286 { "rootdir", &fmd_conf_string, "" }, /* root directory for paths */ 368 fmd_create(fmd_t *dp, const char *arg0, const char *root, const char *conf) argument 437 * the root configuration file. These include any settings for our 440 * the root configuration file is processed, we reset these properties 447 dp->d_rootdir = root ? root : ""; 470 * d_rootdir based on the config files we parsed if no 'root' was set. 472 if (root [all...] |
H A D | fmd_log.c | 352 fmd_log_xopen(const char *root, const char *name, const char *tag, int oflags) argument 365 if (strcmp(root, "") == 0) 367 len = strlen(root) + strlen(name) + strlen(slash) + 1; /* for "\0" */ 369 (void) snprintf(lp->log_name, len, "%s%s%s", root, slash, name); 438 fmd_log_tryopen(const char *root, const char *name, const char *tag) argument 440 return (fmd_log_xopen(root, name, tag, O_RDWR | O_SYNC)); 444 fmd_log_open(const char *root, const char *name, const char *tag) argument 446 return (fmd_log_xopen(root, name, tag, O_RDWR | O_CREAT | O_SYNC)); 622 * fmd(1M) runs as root, it will be able to access the space "reserved" 623 * for root, an [all...] |
/illumos-gate/usr/src/cmd/fruadm/ |
H A D | fruadm.c | 864 fru_nodehdl_t root; local 943 if ((status = fru_get_root(&root)) == FRU_NODENOTFOUND) { 957 walk_tree(root, "", process_tree);
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_fnmount.c | 74 * mapent root, return a list of mapents to mount. If "shallow" is 82 char *opts, char *root, bool_t shallow, FN_status_t *status); 185 * memory allocation failure is logged. A root argument of 'noroot' 189 static char *noroot = "[no root]"; 191 new_mapent(char *root, char *mntpnt, char *fstype, char *mntopts, char *host, 220 char *root; local 232 * apart the map name and key. The "root" of the mapent is 239 root = strdup(""); 241 root = concat("", '/', key); 300 process_ref(ref, cname, map, key, opts, root, shallo 309 process_ref(const FN_ref_t *ref, const char *cname, char *map, char *key, char *opts, char *root, bool_t shallow, FN_status_t *status) argument 757 new_mapent(char *root, char *mntpnt, char *fstype, char *mntopts, char *host, char *dir) argument [all...] |
/illumos-gate/usr/src/cmd/bart/ |
H A D | rules.c | 167 * When copying 'fname', ignore the relocatable root 169 * the relocatable root. For example, if the 170 * relocatable root is "/dir1/dir2/dir3" and the 172 * directory in the relocatable root. Instead, we 1013 struct rule *root; local 1015 root = get_last_entry(B_TRUE); 1016 while (root != NULL) { 1017 if (match_subtree(fname, root->subtree)) { 1018 if (exclude_fname(fname, type, root) == NO_EXCLUDE) 1021 root [all...] |
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | admintf.c | 126 xmlNodePtr n_obj, n_node, sub_node, root; local 134 root = xmlDocGetRootElement(doc); 135 if (root == NULL) { 141 n_obj = xmlAddChild(root, n_obj); 596 xmlNodePtr n_obj, n_node, sub_node, root; local 605 root = xmlDocGetRootElement(doc); 606 if (root == NULL) { 611 n_obj = xmlAddChild(root, n_obj); 679 xmlNodePtr n_obj, n_node, sub_node, root; local 688 root 764 xmlNodePtr n_obj, n_node, root; local 863 xmlNodePtr n_obj, n_node, sub_node, root; local 1026 xmlNodePtr n_obj, n_node, root; local 1094 xmlNodePtr n_obj, n_node, root; local 1162 xmlNodePtr n_obj, n_node, root; local 1230 xmlNodePtr n_obj, n_node, root; local 1296 xmlNodePtr n_obj, n_node, root; local 1360 xmlNodePtr n_obj, n_node, root; local 1431 xmlNodePtr n_obj, root; local 2202 xmlNodePtr n_obj, n_node, root; local 2307 xmlNodePtr n_node, n_obj, root; local 2460 xmlNodePtr n_node, n_obj, root; local 2632 xmlNodePtr n_node, n_obj, root; local 2743 xmlNodePtr n_node, n_obj, root; local 2848 xmlNodePtr n_obj, n_node, root; local [all...] |
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | genf.c | 1136 di_node_t root; local 1149 root = di_init("/", DINFOCPYALL); 1150 if (root == DI_NODE_NIL) { 1155 node = di_drv_first_node(portdrvr, root); 1160 (void) di_fini(root); 1205 (void) di_fini(root); 1212 (void) di_fini(root); 1225 (void) di_fini(root);
|
/illumos-gate/usr/src/lib/libast/amd64/include/ast/ |
H A D | hash.h | 168 struct Hash_root /* root hash table information */ 182 Hash_root_t* root; /* root hash table information */ member in struct:Hash_table
|
/illumos-gate/usr/src/lib/libast/common/include/ |
H A D | hash.h | 159 struct Hash_root /* root hash table information */ 173 Hash_root_t* root; /* root hash table information */ member in struct:Hash_table
|
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | fts.c | 49 FTSENT* root; \ 258 search(FTSENT* e, FTSENT* root, int(*comparf)(FTSENT* const*, FTSENT* const*), int insert) argument 268 while (root) 270 if (!(cmp = (*comparf)(&e, &root)) && !insert) 278 if (root->left && (cmp = (*comparf)(&e, &root->left)) <= 0) 280 RROTATE(root); 290 right->left = root; 292 rroot = root; 293 right = root; 346 deleteroot(register FTSENT* root) argument 372 getlist(register FTSENT** top, register FTSENT** bot, register FTSENT* root) argument 679 register FTSENT* root; local [all...] |
/illumos-gate/usr/src/lib/libast/common/port/ |
H A D | astconf.c | 92 static char root[2] = "/"; variable 994 if (path == root) 1001 if (path != root) 1015 if (path != root) 1395 path = root; 1529 path = root;
|
H A D | lcgen.c | 53 Link_t* root; member in struct:Table_s 144 for (p = 0, x = tab->root; x; p = x, x = x->next) 150 tab->root = v; 167 for (x = tab->root; x; x = x->next) 698 for (cp = (Charset_t*)state.charset.root; cp; cp = (Charset_t*)cp->link.next) 721 for (lp = (Language_t*)state.language.root; lp; lp = (Language_t*)lp->link.next) 746 for (tp = (Territory_t*)state.territory.root; tp; tp = (Territory_t*)tp->link.next) 766 for (mp = (Map_t*)state.map.root; mp; mp = (Map_t*)mp->link.next)
|
/illumos-gate/usr/src/lib/libast/common/vmalloc/ |
H A D | vmbest.c | 109 if(vd->root) 110 return vmintree(vd->root, b); 192 if(vd->root && vmchktree(vd->root) < 0 ) 263 reg Block_t *t, *root, *l, *r; local 267 if((root = wanted) && size == TINYSIZE) 270 l = TLEFT(root); 271 if((r = LINK(root)) ) 279 SEG(root) = seg; 281 { if((Vmuchar_t*)root > (Vmuchar_ [all...] |
/illumos-gate/usr/src/lib/libast/i386/include/ast/ |
H A D | hash.h | 168 struct Hash_root /* root hash table information */ 182 Hash_root_t* root; /* root hash table information */ member in struct:Hash_table
|
/illumos-gate/usr/src/lib/libast/sparc/include/ast/ |
H A D | hash.h | 168 struct Hash_root /* root hash table information */ 182 Hash_root_t* root; /* root hash table information */ member in struct:Hash_table
|
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | hash.h | 168 struct Hash_root /* root hash table information */ 182 Hash_root_t* root; /* root hash table information */ member in struct:Hash_table
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | fillsysinfo.c | 197 pnode_t root; local 208 root = prom_nextnode((pnode_t)0); 210 * Get System clock frequency from root node if it exists. 212 if (GETPROP(root, "stick-frequency", (caddr_t)&stick_freq) != -1) 520 * If we didn't find it in the CPU node, look in the root node. 522 pnode_t root = prom_nextnode((pnode_t)0); local 523 if (GETPROP(root, "clock-frequency", (caddr_t)&clk_freq) == -1) 1222 pnode_t root; local 1225 * Watchdog property is in the root node. 1227 root [all...] |
/illumos-gate/usr/src/uts/intel/io/mc-amd/ |
H A D | mcamd_subr.c | 76 mcamd_mc_next(mcamd_hdl_t *hdl, mcamd_node_t *root, mcamd_node_t *last) argument
|
/illumos-gate/usr/src/uts/intel/io/pci/ |
H A D | pci_pci.c | 280 dev_info_t *root = ddi_root_node(); local 342 for (pdip = ddi_get_parent(devi); pdip && (pdip != root) &&
|
/illumos-gate/usr/src/cmd/lvm/metassist/controller/ |
H A D | metassist.c | 93 char *file, char **valid_types, xmlDocPtr *doc, char **root); 94 static int get_volume_request_or_config(xmlDocPtr *doc, char **root); 263 /* Create the root node */ 975 * An array of the allowable root elements. If the root 982 * @param root 983 * RETURN: the root element of the document 993 char **root) 997 *root = NULL; 1010 /* Is this a valid root elemen 989 get_doc_from_file( char *file, char **valid_types, xmlDocPtr *doc, char **root) argument 1049 get_volume_request_or_config( xmlDocPtr *doc, char **root) argument 1387 char *root; local [all...] |