Searched defs:root (Results 201 - 225 of 254) sorted by relevance

1234567891011

/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dcommands.c2244 xmlNodePtr root; local
2248 root = xmlNewNode(NULL, (xmlChar *)"sharecfg");
2249 if (root != NULL)
2250 (void) xmlDocSetRootElement(doc, root);
2265 xmlNodePtr root; local
2267 root = xmlDocGetRootElement(doc);
2269 if (node != NULL && root != NULL) {
2270 (void) xmlAddChild(root, node);
/illumos-gate/usr/src/cmd/lvm/metassist/xml/
H A Dxml_convert.c58 #define CMD_MSG_VERIFY_ROOT "Verify root"
59 #define CMD_MSG_RUN_AS_ROOT "This script must be run as root."
595 xmlNodePtr root; local
601 /* Create the root node */
602 root = xmlNewDocNode(
604 xmlAddChild((xmlNodePtr)*doc, (xmlNodePtr)root);
607 if ((error = devconfig_to_xml(root, config_elements, config)) == 0) {
760 * the expected root element name of the XML document
1115 * the root node to search
1168 xmlNodePtr root; local
[all...]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_asru.c811 fmd_asru_hash_create(const char *root, const char *dir) argument
830 (void) snprintf(path, sizeof (path), "%s/%s", root, dir);
/illumos-gate/usr/src/uts/common/fs/autofs/
H A Dauto_subr.c1057 * on the AUTOFS root node.
1129 * Daemon didn't mount anything on the root
1177 * mount has succeeded since the root is
1288 * occurred on a node different from the root.
1292 * filesystem mounted at the root could not be
1754 * root vnode of this filesystem.
2046 * rootvp is the root of the AUTOFS filesystem.
2050 * the root vnode. This filesystem better be two levels deep only,
2051 * the root and its immediate subdirs.
2052 * The daemon will "AUTOFS direct-mount" only one level below the root
2459 fnnode_t *root, *fnp, *next; local
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Drctl.c777 rctl_val_list_insert(rctl_val_t **root, rctl_val_t *rval) argument
785 if (*root == NULL) {
786 *root = rval;
790 equiv = rctl_val_cmp(rval, *root, 0);
796 rval->rcv_next = *root;
798 *root = rval;
803 prev = *root;
822 rctl_val_list_delete(rctl_val_t **root, rctl_val_t *rval) argument
826 if (*root == NULL)
829 prev = *root;
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dpm.c1402 dev_info_t *root = ddi_root_node(); local
1406 ddi_walk_devs(root,
1421 ddi_walk_devs(root,
H A Dpshot.c53 * drwxr-xr-x 2 root sys 512 Feb 6 15:10
391 * therefore PSHOT_PROP_DEV* properties may be set just for the root device,
672 * for the root node /devices/pshot
679 " for the root node\n", instance);
3466 dev_info_t *root = ddi_root_node(); local
3467 ddi_walk_devs(root, pshot_devnode, NULL);
/illumos-gate/usr/src/uts/common/io/usb/clients/hidparser/
H A Dhidparser.c222 entity_item_t *root; local
226 error = hidparser_main(descriptor, size, &root);
235 (*parse_handle)->hidparser_handle_parse_tree = root;
/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dfilters.c1948 node_t *root = *inNode; /* pointer to root node */ local
1952 /* loop until only the root node remains */
1953 while (!((root->zero == NULL) && (root->one == NULL))) {
2049 * before trie root node is destroyed
2053 /* free trie root */
2062 /* free trie root */
2073 /* free trie root */
/illumos-gate/usr/src/lib/libast/common/vmalloc/
H A Dvmhdr.h347 Block_t* root; /* root of free tree */ member in struct:_vmdata_s
/illumos-gate/usr/src/uts/sun4v/os/
H A Dfillsysinfo.c1220 mde_cookie_t root; local
1240 /* Find root element, and search for all TLBs in MD */
1241 if ((root = md_root_node(mdp)) == MDE_INVAL_ELEM_COOKIE ||
1242 (ntlbs = md_alloc_scan_dag(mdp, root, "tlb", "fwd", &tlbs)) <= 0)
H A Dmpo.c433 mde_cookie_t root = MDE_INVAL_ELEM_COOKIE; local
440 return (root);
443 root = md_root_node(md);
445 if (root == MDE_INVAL_ELEM_COOKIE) {
447 return (root);
452 MPO_DEBUG("md_get_root: root: %lx\n", root);
454 return (root);
458 lgrp_update(md_t *md, mde_cookie_t root) argument
465 n_lgrpnodes = md_alloc_scan_dag(md, root, PROP_LG_MEM_L
565 mde_cookie_t root, *cpunodes, *mblocknodes; local
1648 mde_cookie_t root, *mblocknodes; local
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dopl_cfg.c494 * root node and stores pointers to them. The following nodes
566 dev_info_t *root; local
570 root = ddi_root_node();
571 if ((opl_init_nodes(root, opl_init_root_nodes) != 0)) {
945 * Create "cmp" nodes as child nodes of the root node.
H A Dsbd.c606 sbd_setup_instance(int instance, dev_info_t *root, int max_boards, int wnode, argument
654 sbd_board_init(sbd_boardlist++, softsp, b, root, wnode);
4894 * root node which never has to be held.
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_pci.c370 dev_info_t *root = ddi_root_node(); local
445 for (pdip = ddi_get_parent(ppb->dip); pdip && (pdip != root) &&
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Dri_init.c410 di_node_t root; member in struct:__anon20
426 di_node_t root = DI_NODE_NIL; local
437 if ((root = di_init("/", DINFOCPYALL)) == DI_NODE_NIL) {
459 di_arg.root = root;
462 if (di_walk_node(root, DI_WALK_CLDFIRST, (void *)&di_arg,
469 if (root != DI_NODE_NIL)
470 di_fini(root);
496 if (node == di_arg->root) {
1183 di_node_t root local
[all...]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dhc.c322 * Register root node methods
488 char *root = NULL; local
503 (void) nvlist_lookup_string(nvl, FM_FMRI_HC_ROOT, &root);
541 /* hc-root */
542 if (root)
543 topo_fmristr_build(&size, buf, buflen, root, NULL, NULL);
1393 * root), then iterate over siblings to find the matching node.
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_spt.c626 int root = 0; local
716 if (root == 0) {
718 root = 1;
730 root = 0;
739 if (root != 0 || curnpgs != 0) {
759 if (root != 0 || curnpgs != 0) {
H A Dvm_anon.c860 * with root access.
1105 * check an_refcnt of the root anon slot (anon_index argument is aligned at
1107 * anonpages_hash_lock[] held on the root ap ensures that if root's
1111 * returns 1 if the root anon slot has a refcnt > 1 otherwise returns 0.
3084 int root = 0; local
3142 if (!root) {
3148 root = 1;
3161 root = 0;
3169 if (root !
[all...]
/illumos-gate/usr/src/boot/sys/boot/fdt/
H A Dfdt_loader_cmd.c472 int err, i, len, memory, root; local
478 root = fdt_path_offset(fdtp, "/");
479 if (root < 0) {
480 sprintf(command_errbuf, "Could not find root node !");
487 memory = fdt_add_subnode(fdtp, root, "memory");
502 addr_cellsp = (uint32_t *)fdt_getprop(fdtp, root, "#address-cells",
504 size_cellsp = (uint32_t *)fdt_getprop(fdtp, root, "#size-cells", NULL);
509 "%s %s property not found in root node!\n",
524 (fdt_getprop(fdtp, root, "memreserve", NULL) == NULL)) {
557 if ((err = fdt_setprop(fdtp, root, "memreserv
[all...]
/illumos-gate/usr/src/boot/sys/boot/zfs/
H A Dzfsimpl.c1975 * Find the object set pointed to by the BOOTFS property or the root
1982 uint64_t props, bootfs, root; local
2006 * Lookup the root dataset directory
2008 if (zap_lookup(spa, &dir, DMU_POOL_ROOT_DATASET, &root)
2009 || objset_get_dnode(spa, &spa->spa_mos, root, &dir)) {
2010 printf("ZFS: can't find root dsl_dir\n");
2030 * Find the root object set if not explicitly provided
2033 printf("ZFS: can't find root filesystem\n");
2038 printf("ZFS: can't open root filesystem\n");
2210 * Get the root director
[all...]
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo.c291 di_fini(di_node_t root) argument
300 if (root == DI_NODE_NIL) {
306 * The root contains its own offset--self.
307 * Subtracting it from root address, we get the starting addr.
311 pa = (caddr_t)root - DI_NODE(root)->self;
336 * If parent doesn't exist and node is not the root,
411 di_drv_first_node(const char *drv_name, di_node_t root) argument
419 if (root == DI_NODE_NIL) {
427 pa = (caddr_t)root
782 di_walk_node(di_node_t root, uint_t flag, void *arg, int (*node_callback)(di_node_t, void *)) argument
853 di_walk_minor(di_node_t root, const char *minor_type, uint_t flag, void *arg, int (*minor_callback)(di_node_t, di_minor_t, void *)) argument
2364 di_vhci_first_node(di_node_t root) argument
3597 di_walk_link(di_node_t root, uint_t flag, uint_t endpoint, void *arg, int (*link_callback)(di_link_t link, void *arg)) argument
3662 di_walk_lnode(di_node_t root, uint_t flag, void *arg, int (*lnode_callback)(di_lnode_t lnode, void *arg)) argument
3745 di_lookup_node_impl(di_node_t root, char *devfspath) argument
3834 di_lookup_node(di_node_t root, char *devfspath) argument
3878 di_lookup_path(di_node_t root, char *devfspath) argument
[all...]
H A Ddevinfo_devlink.c51 * Paths are relative to "<root>/dev/"
388 * and is owned by root.
549 * parent node should be NULL only for the root node
811 /* parent node should only be NULL for root node */
1100 * Frees the tree rooted at a node. Siblings of the subtree root
1577 * but the first (root) component.
1957 di_devlink_init_impl(const char *root, const char *name, uint_t flags) argument
1968 (err = devlink_create(root, name, DCA_DEVLINK_CACHE))) {
1975 return (devlink_snapshot(root));
1985 di_devlink_init_root(const char *root, cons argument
3270 devlink_create(const char *root, const char *name, int dca_devlink_flag) argument
3381 daemon_call(const char *root, struct dca_off *dcp) argument
3501 start_daemon(const char *root, int install) argument
3526 exec_cmd(const char *root, struct dca_off *dcp) argument
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpiclfrutree.c1656 /* Get the root of the PICL tree */
4474 * the specified root node.
4478 do_action(picl_nodehdl_t root, int action, void *cargs) argument
4502 if ((rc = ptree_walk_tree_by_class(root, class, cargs,
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_dlinet.c287 * XXX a v4 root mount.
811 * 1) The ascii form of our root servers name in `server_name'.
812 * 2) Actual network address of our root server in `server_address'.
814 * `server_path'. If fileid is "root", it is the pathname of our
815 * root on the server.
824 int root = FALSE; local
841 if (strcmp(fileid, "root") == 0) {
847 root = TRUE;
868 * If we are not looking up the root file, we are looking
871 if (!root) {
[all...]

Completed in 201 milliseconds

1234567891011