Lines Matching defs:root

51  * 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)
1968 (err = devlink_create(root, name, DCA_DEVLINK_CACHE))) {
1975 return (devlink_snapshot(root));
1985 di_devlink_init_root(const char *root, const char *name, uint_t flags)
1987 return (di_devlink_init_impl(root, name, flags));
2220 * Store only the part after <root-dir>/dev/
2672 assert(CACHE(hdp)->root == NULL);
2673 CACHE(hdp)->root = cnp;
2962 count_node(CACHE(hdp)->root, count);
3270 devlink_create(const char *root, const char *name, int dca_devlink_flag)
3276 assert(root);
3289 install = daemon_call(root, &dca);
3312 start_daemon(root, install) == 0);
3321 exec_cmd(root, &dca);
3328 * root'\0'minor'\0'driver'\0'
3329 * The root component is always present at offset 0 in the "name" field.
3381 daemon_call(const char *root, struct dca_off *dcp)
3394 * If root is readonly, there are two possibilities:
3401 * for a root owned door file in /tmp/etc/dev. If we are
3407 * If root is read-only, try only once, since libdevinfo
3425 prefix = (char *)root;
3435 * Return ENOTSUP to prevent retries if root is readonly
3442 dprintf(DBG_ERR, "stat failed: %s: no file or not root owned\n",
3501 start_daemon(const char *root, int install)
3511 argv[i++] = "/tmp/root/etc/path_to_inst";
3512 } else if (strcmp(root, "/")) {
3514 argv[i++] = (char *)root;
3526 exec_cmd(const char *root, struct dca_off *dcp)
3544 if (root != NULL && strcmp(root, "/") != 0) {
3546 argv[i++] = (char *)root;