Searched refs:dsname (Results 1 - 25 of 33) sorted by relevance

12

/illumos-gate/usr/src/test/zfs-tests/tests/functional/history/
H A Dhistory_common.kshlib126 typeset dsname=${fullname%%@*}
130 for ds in $(zfs list -r -Ho name -t snapshot $dsname | \
158 typeset dsname=${fullname%%@*}
159 typeset parent_fs=${dsname##*/}
160 typeset rb_fs=${dsname}/%rollback
186 typeset dsname=${cmd##* }
191 for ds in $(zfs list -r -Ho name -t filesystem $dsname); do
212 typeset is_set lflag dflag dsname gname gid uname uid opt str code tmp
224 dsname=${cmd##* }
245 grep "permission $subcmd $dsname ([
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddsl_prop.h77 int dsl_prop_get_received(const char *dsname, nvlist_t **nvp);
91 int dsl_props_set(const char *dsname, zprop_source_t source, nvlist_t *nvl);
92 int dsl_prop_set_int(const char *dsname, const char *propname,
94 int dsl_prop_set_string(const char *dsname, const char *propname,
96 int dsl_prop_inherit(const char *dsname, const char *propname,
103 boolean_t dsl_prop_get_hasrecvd(const char *dsname);
104 int dsl_prop_set_hasrecvd(const char *dsname);
105 void dsl_prop_unset_hasrecvd(const char *dsname);
H A Ddsl_userhold.h46 int dsl_dataset_get_holds(const char *dsname, nvlist_t *nvl);
H A Ddsl_crypt.h171 int dsl_crypto_can_set_keylocation(const char *dsname, const char *keylocation);
179 int spa_keystore_load_wkey(const char *dsname, dsl_crypto_params_t *dcp,
182 int spa_keystore_unload_wkey(const char *dsname);
201 int spa_keystore_change_key(const char *dsname, dsl_crypto_params_t *dcp);
H A Ddsl_dataset.h395 int dsl_get_mountpoint(dsl_dataset_t *ds, const char *dsname, char *value,
418 int dsl_dataset_set_refquota(const char *dsname, zprop_source_t source,
420 int dsl_dataset_set_refreservation(const char *dsname, zprop_source_t source,
H A Dzfs_vfsops.h164 extern int zfs_check_global_label(const char *dsname, const char *hexsl);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzcp_synctask.c122 const char *dsname = lua_tostring(state, 1); local
124 boolean_t issnap = (strchr(dsname, '@') != NULL);
129 dsname));
134 ddsa.ddsa_name = dsname;
142 dsl_destroy_snapshot_sync, &ddsa, sync, dsname);
145 ddha.ddha_name = dsname;
148 dsl_destroy_head_sync, &ddha, sync, dsname);
174 const char *dsname = lua_tostring(state, 1); local
177 ddpa.ddpa_clonename = dsname;
186 dsl_dataset_promote_sync, &ddpa, sync, dsname);
210 const char *dsname = lua_tostring(state, 1); local
244 const char *dsname = lua_tostring(state, 1); local
[all...]
H A Ddsl_prop.c313 dsl_prop_get(const char *dsname, const char *propname, argument
319 error = dmu_objset_hold(dsname, FTAG, &os);
767 dsl_prop_set_int(const char *dsname, const char *propname, argument
774 error = dsl_props_set(dsname, source, nvl);
780 dsl_prop_set_string(const char *dsname, const char *propname, argument
787 error = dsl_props_set(dsname, source, nvl);
793 dsl_prop_inherit(const char *dsname, const char *propname, argument
800 error = dsl_props_set(dsname, source, nvl);
905 dsl_props_set(const char *dsname, zprop_source_t source, nvlist_t *props) argument
910 dpsa.dpsa_dsname = dsname;
1102 dsl_prop_get_hasrecvd(const char *dsname) argument
1111 dsl_prop_set_hasrecvd_impl(const char *dsname, zprop_source_t source) argument
1131 dsl_prop_set_hasrecvd(const char *dsname) argument
1140 dsl_prop_unset_hasrecvd(const char *dsname) argument
1152 dsl_prop_get_received(const char *dsname, nvlist_t **nvp) argument
[all...]
H A Dzcp.c591 zcp_dataset_hold_error(lua_State *state, dsl_pool_t *dp, const char *dsname, argument
595 (void) zcp_argerror(state, 1, "no such dataset '%s'", dsname);
600 dsname, spa_name(dp->dp_spa));
604 "I/O error while accessing dataset '%s'", dsname);
609 error, dsname);
617 * Assumes that the dsname is argument #1 (for error reporting purposes).
620 zcp_dataset_hold(lua_State *state, dsl_pool_t *dp, const char *dsname, argument
624 int error = dsl_dataset_hold(dp, dsname, tag, &ds);
625 (void) zcp_dataset_hold_error(state, dp, dsname, error);
680 const char *dsname local
[all...]
H A Dzfs_ioctl.c640 zfs_secpolicy_setprop(const char *dsname, zfs_prop_t prop, nvpair_t *propval, argument
668 if (dsl_prop_get_integer(dsname, "zoned", &zoned,
671 if (!zoned || strlen(dsname) <= strlen(setpoint))
683 err = zfs_set_slabel_policy(dsname, strval, CRED());
690 return (zfs_secpolicy_write_perms(dsname, zfs_prop_to_name(prop), cr));
1467 getzfsvfs(const char *dsname, zfsvfs_t **zfvp) argument
1472 error = dmu_objset_hold(dsname, FTAG, &os);
2433 zfs_prop_set_userquota(const char *dsname, nvpair_t *pair) argument
2468 err = zfsvfs_hold(dsname, FTAG, &zfsvfs, B_FALSE);
2486 zfs_prop_set_special(const char *dsname, zprop_source_ argument
2595 zfs_set_prop_nvlist(const char *dsname, zprop_source_t source, nvlist_t *nvl, nvlist_t *errlist) argument
2799 clear_received_props(const char *dsname, nvlist_t *props, nvlist_t *skipped) argument
4115 zfs_check_settable(const char *dsname, nvpair_t *pair, cred_t *cr) argument
6286 zfs_ioc_load_key(const char *dsname, nvlist_t *innvl, nvlist_t *outnvl) argument
6328 zfs_ioc_unload_key(const char *dsname, nvlist_t *innvl, nvlist_t *outnvl) argument
6360 zfs_ioc_change_key(const char *dsname, nvlist_t *innvl, nvlist_t *outnvl) argument
[all...]
H A Ddsl_destroy.c87 const char *dsname = ddsa->ddsa_name; local
94 error = dsl_dataset_hold(dp, dsname, FTAG, &ds);
501 const char *dsname = ddsa->ddsa_name; local
507 int error = dsl_dataset_hold(dp, dsname, FTAG, &ds);
1069 dsl_destroy_inconsistent(const char *dsname, void *arg) argument
1073 if (dmu_objset_hold(dsname, FTAG, &os) == 0) {
1085 (void) dsl_destroy_head(dsname);
H A Ddsl_bookmark.c340 dsl_get_bookmarks(const char *dsname, nvlist_t *props, nvlist_t *outnvl) argument
346 err = dsl_pool_hold(dsname, FTAG, &dp);
349 err = dsl_dataset_hold(dp, dsname, FTAG, &ds);
H A Ddsl_crypt.c466 dsl_crypto_can_set_keylocation(const char *dsname, const char *keylocation) argument
474 ret = dsl_pool_hold(dsname, FTAG, &dp);
478 ret = dsl_dir_hold(dp, dsname, FTAG, &dd, NULL);
757 spa_keystore_load_wkey(const char *dsname, dsl_crypto_params_t *dcp, argument
777 ret = dsl_pool_hold(dsname, FTAG, &dp);
787 ret = dsl_dir_hold(dp, dsname, FTAG, &dd, NULL);
894 spa_keystore_unload_wkey(const char *dsname) argument
901 ret = spa_open(dsname, &spa, FTAG);
915 ret = dsl_pool_hold(dsname, FTAG, &dp);
924 ret = dsl_dir_hold(dp, dsname, FTA
1569 spa_keystore_change_key(const char *dsname, dsl_crypto_params_t *dcp) argument
[all...]
H A Dzcp_get.c308 get_special_prop(lua_State *state, dsl_dataset_t *ds, const char *dsname, argument
389 error = dsl_get_mountpoint(ds, dsname, strval, setpoint);
456 (void) strcpy(setpoint, dsname);
H A Ddsl_userhold.c656 dsl_dataset_get_holds(const char *dsname, nvlist_t *nvl) argument
662 err = dsl_pool_hold(dsname, FTAG, &dp);
665 err = dsl_dataset_hold(dp, dsname, FTAG, &ds);
H A Ddsl_deleg.c646 dsl_deleg_access(const char *dsname, const char *perm, cred_t *cr) argument
652 error = dsl_pool_hold(dsname, FTAG, &dp);
655 error = dsl_dataset_hold(dp, dsname, FTAG, &ds);
H A Dzcp_iter.c394 const char *dsname = lua_tostring(state, 1); local
399 dsl_dataset_t *ds = zcp_dataset_hold(state, dp, dsname, FTAG);
H A Ddsl_dataset.c1399 char dsname[ZFS_MAX_DATASET_NAME_LEN]; local
1409 (void) strlcpy(dsname, name, atp - name + 1);
1412 error = dsl_dataset_hold(dp, dsname, FTAG, &ds);
1620 char dsname[ZFS_MAX_DATASET_NAME_LEN]; local
1624 (void) strlcpy(dsname, name, atp - name + 1);
1625 VERIFY0(dsl_dataset_hold(dp, dsname, FTAG, &ds));
2245 dsl_get_mountpoint(dsl_dataset_t *ds, const char *dsname, char *value, argument
2259 * Process the dsname and source to find the full mountpoint string.
2277 ASSERT0(strncmp(dsname, source, strlen(source)));
2278 relpath = dsname
3870 dsl_dataset_set_refquota(const char *dsname, zprop_source_t source, uint64_t refquota) argument
3986 dsl_dataset_set_refreservation(const char *dsname, zprop_source_t source, uint64_t refreservation) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_zvolops.c76 sdev_zvol_create_minor(char *dsname) argument
80 return ((*szcm)(dsname));
84 sdev_zvol_name2minor(char *dsname, minor_t *minor) argument
88 return ((*szn2m)(dsname, minor));
181 devzvol_objset_check(char *dsname, dmu_objset_type_t *type) argument
189 ispool = (strchr(dsname, '/') == NULL);
190 is_snapshot = (strchr(dsname, '@') != NULL);
196 (void) strlcpy(zc->zc_name, dsname, MAXPATHLEN);
226 char *dsname; local
252 dsname
280 char *dsname; local
520 char *dsname; local
611 char *dsname; local
699 char *dsname; local
[all...]
/illumos-gate/usr/src/lib/pyzfs/common/
H A Ddataset.py215 for dsname in dsnames:
216 if not "@" in dsname:
218 _("cannot open %s") % dsname,
221 ds = Dataset(dsname)
227 (base, snapname) = dsname.split('@')
H A Duserspace.py187 dsname = args[0]
205 ds = zfs.dataset.Dataset(dsname, types=("filesystem"))
/illumos-gate/usr/src/boot/lib/libstand/zfs/
H A Dzfs.c863 const char *dsname; local
868 dsname = strchr(name, '/');
869 if (dsname != NULL) {
870 len = dsname - name;
871 dsname++;
873 dsname = "";
880 rv = zfs_lookup_dataset(spa, dsname, &objid);
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_util.c649 char *dsname = (char *)path + strspn(path, "/"); local
651 hdl = zfs_open(libhdl, dsname, ZFS_TYPE_FILESYSTEM);
657 (void) strlcpy(dataset, dsname, len);
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_diff.c82 * Given a {dsname, object id}, get the object path
85 get_stats_for_obj(differ_info_t *di, const char *dsname, uint64_t obj, argument
91 (void) strlcpy(zc.zc_name, dsname, sizeof (zc.zc_name));
124 "object %lld in %s"), obj, dsname);
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gelf.c1100 const char *dsname = NULL; local
1111 dsname = gsp->gs_name;
1117 if (dsname == NULL)
1131 return (mdb_gelf_symtab_create_file_by_name(gf, dsname, ssname, tabid));
1136 const char *dsname, const char *ssname, uint_t tabid)
1156 if (strcmp(gsp->gs_name, dsname) == 0) {
1135 mdb_gelf_symtab_create_file_by_name(mdb_gelf_file_t *gf, const char *dsname, const char *ssname, uint_t tabid) argument

Completed in 299 milliseconds

12