Lines Matching defs:parent

585 make_bookmark_handle(zfs_handle_t *parent, const char *path,
594 zhp->zfs_hdl = parent->zfs_hdl;
604 zhp->zfs_head_type = parent->zfs_head_type;
1728 * Given a property, inherit the value from the parent dataset, or if received
2944 * Returns the name of the parent pool for the given zfs handle.
2983 * Given a complete name, return just the portion that refers to the parent.
2984 * Will return -1 if there is no parent (path is just the name of the
3003 * a parent, and that it exists. If accept_ancestor is true, then find the
3014 char parent[ZFS_MAX_DATASET_NAME_LEN];
3023 /* get parent, and check to see if this is just a pool */
3024 if (parent_name(path, parent, sizeof (parent)) != 0) {
3031 if ((slash = strchr(parent, '/')) == NULL)
3032 slash = parent + strlen(parent);
3033 (void) strncpy(zc.zc_name, parent, slash - parent);
3034 zc.zc_name[slash - parent] = '\0';
3042 /* check to see if the parent dataset exists */
3043 while ((zhp = make_dataset_handle(hdl, parent)) == NULL) {
3048 if (parent_name(parent, parent, sizeof (parent)) != 0) {
3055 "parent does not exist"));
3065 /* we are in a non-global zone, but parent is in the global zone */
3072 /* make sure parent is a filesystem */
3075 "parent is not a filesystem"));
3083 *prefixlen = strlen(parent);
3322 char parent[ZFS_MAX_DATASET_NAME_LEN];
3323 (void) parent_name(path, parent, sizeof (parent));
3328 "no such parent '%s'"), parent);
3333 "parent '%s' is not a filesystem"), parent);
3502 char parent[ZFS_MAX_DATASET_NAME_LEN];
3521 (void) parent_name(target, parent, sizeof (parent));
3545 * The parent doesn't exist. We should have caught this
3547 * destroyed the parent.
3554 "no such parent '%s'"), parent);
3573 * Promotes the given clone fs to be the clone parent.
3580 char parent[MAXPATHLEN];
3593 (void) strlcpy(parent, zhp->zfs_dmustats.dds_origin, sizeof (parent));
3594 if (parent[0] == '\0') {
3612 "conflicting snapshot '%s' from parent '%s'"),
3613 zc.zc_string, parent);
3914 char parent[ZFS_MAX_DATASET_NAME_LEN];
3948 (void) strlcpy(parent, zhp->zfs_name,
3949 sizeof (parent));
3950 delim = strchr(parent, '@');
3955 (void) strlcat(parent, target, sizeof (parent));
3956 target = parent;