Lines Matching refs:fsname

1187 		char fsname[ZFS_MAX_DATASET_NAME_LEN];
1188 error = dmu_fsname(nvpair_name(pair), fsname);
1191 error = zfs_secpolicy_write_perms(fsname,
1208 char fsname[ZFS_MAX_DATASET_NAME_LEN];
1209 error = dmu_fsname(nvpair_name(pair), fsname);
1212 error = zfs_secpolicy_write_perms(fsname,
3391 zfs_ioc_create(const char *fsname, nvlist_t *innvl, nvlist_t *outnvl)
3419 if (strchr(fsname, '@') ||
3420 strchr(fsname, '%'))
3446 if ((error = zvol_check_volblocksize(fsname,
3462 error = zfs_fill_zplprops(fsname, nvprops,
3477 error = dmu_objset_create(fsname, type,
3487 error = zfs_set_prop_nvlist(fsname, ZPROP_SRC_LOCAL,
3499 error2 = dsl_destroy_head(fsname);
3501 error2 = spa_open(fsname, &spa, FTAG);
3506 error2 = dsl_destroy_head(fsname);
3531 zfs_ioc_clone(const char *fsname, nvlist_t *innvl, nvlist_t *outnvl)
3540 if (strchr(fsname, '@') ||
3541 strchr(fsname, '%'))
3547 error = dmu_objset_clone(fsname, origin_name);
3553 error = zfs_set_prop_nvlist(fsname, ZPROP_SRC_LOCAL,
3556 (void) dsl_destroy_head(fsname);
3566 zfs_ioc_remap(const char *fsname, nvlist_t *innvl, nvlist_t *outnvl)
3569 (void) fsname, (void) innvl, (void) outnvl;
3777 zfs_destroy_unmount_origin(const char *fsname)
3783 error = dmu_objset_hold(fsname, FTAG, &os);
3885 zfs_ioc_get_bookmarks(const char *fsname, nvlist_t *innvl, nvlist_t *outnvl)
3887 return (dsl_get_bookmarks(fsname, innvl, outnvl));
3907 char fsname[ZFS_MAX_DATASET_NAME_LEN];
3915 (void) strlcpy(fsname, bookmark, sizeof (fsname));
3916 *(strchr(fsname, '#')) = '\0';
3918 return (dsl_get_bookmark_props(fsname, bmname, outnvl));
4382 * fsname is name of dataset to rollback (to most recent snapshot)
4394 zfs_ioc_rollback(const char *fsname, nvlist_t *innvl, nvlist_t *outnvl)
4414 if (getzfsvfs(fsname, &zfsvfs) == 0) {
4422 error = dsl_dataset_rollback(fsname, target, zfsvfs,
4428 } else if ((zv = zvol_suspend(fsname)) != NULL) {
4429 error = dsl_dataset_rollback(fsname, target, zvol_tag(zv),
4433 error = dsl_dataset_rollback(fsname, target, NULL, outnvl);
4439 recursive_unmount(const char *fsname, void *arg)
4444 fullname = kmem_asprintf("%s@%s", fsname, snapname);
5440 zfs_ioc_recv_new(const char *fsname, nvlist_t *innvl, nvlist_t *outnvl)