Home
last modified time | relevance | path

Searched refs:zfs_get_name (Results 1 – 19 of 19) sorted by relevance

/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_crypto.c861 const char *fsname = (zhp) ? zfs_get_name(zhp) : NULL; in populate_create_encryption_params_nvlists()
995 *is_encroot = strcmp(prop_encroot, zfs_get_name(zhp)) == 0; in zfs_crypto_get_encryption_root()
1306 "'%s' is not encrypted."), zfs_get_name(zhp)); in zfs_crypto_load_key()
1319 zfs_get_name(zhp)); in zfs_crypto_load_key()
1324 zfs_get_name(zhp), prop_encroot); in zfs_crypto_load_key()
1341 zfs_get_name(zhp)); in zfs_crypto_load_key()
1353 "Key already loaded for '%s'."), zfs_get_name(zhp)); in zfs_crypto_load_key()
1371 keylocation, zfs_get_name(zhp), &key_material, &key_material_len, in zfs_crypto_load_key()
1395 zfs_get_name(zhp)); in zfs_crypto_load_key()
1399 "Key already loaded for '%s'."), zfs_get_name(zhp)); in zfs_crypto_load_key()
[all …]
H A Dlibzfs_mount.c216 return (is_mounted(zhp->zfs_hdl, zfs_get_name(zhp), where)); in zfs_is_mounted()
429 "'%s'."), zfs_get_name(zhp)); in zfs_mount_at()
538 libzfs_mnttab_add(hdl, zfs_get_name(zhp), mountpoint, mntopts); in zfs_mount_at()
737 err = sa_enable_share(zfs_get_name(zhp), mountpoint, shareopts, in zfs_share()
743 zfs_get_name(zhp), sa_errorstr(err))); in zfs_share()
814 libzfs_mnttab_find(hdl, zfs_get_name(zhp), &entry) == 0)) { in zfs_unshare()
1032 return (strcmp(zfs_get_name(za), zfs_get_name(zb))); in mountpoint_cmp()
H A Dlibzfs_iter.c381 shortsnapname = strchr(zfs_get_name(zhp), '@') + 1; in snapspec_cb()
449 "%s@%s", zfs_get_name(fs_zhp), in zfs_iter_snapspec_v2()
470 zfs_get_name(fs_zhp), comma_separated); in zfs_iter_snapspec_v2()
554 zfs_get_name(zhp)); in iter_dependents_cb()
H A Dlibzfs_changelist.c750 if ((temp = zfs_open(zhp->zfs_hdl, zfs_get_name(zhp), in changelist_gather()
H A Dlibzfs_dataset.c685 if (strcmp(dp->path, zfs_get_name(zhp)) == 0) { in zfs_open_bookmarks_cb()
2497 fnvlist_add_boolean(gca->value, zfs_get_name(zhp)); in get_clones_cb()
3415 zfs_get_name(const zfs_handle_t *zhp) in zfs_get_name() function
3491 return (parent_name(zfs_get_name(zhp), buf, buflen)); in zfs_parent_name()
4187 if (snprintf(name, sizeof (name), "%s@%s", zfs_get_name(zhp), in zfs_snapshot_cb()
4673 changelist_rename(cl, zfs_get_name(zhp), target); in zfs_rename()
H A Dlibzfs.abi336 …<elf-symbol name='zfs_get_name' type='func-type' binding='global-binding' visibility='default-visi…
2444 …on-decl name='zfs_get_name' mangled-name='zfs_get_name' visibility='default' binding='global' size…
/freebsd/sys/contrib/openzfs/cmd/zfs/
H A Dzfs_main.c1365 const char *tname = zfs_get_name(cbp->cb_target); in destroy_check_dependent()
1366 const char *name = zfs_get_name(zhp); in destroy_check_dependent()
1380 zfs_get_name(cbp->cb_target), in destroy_check_dependent()
1388 (void) fprintf(stderr, "%s\n", zfs_get_name(zhp)); in destroy_check_dependent()
1401 zfs_get_name(cbp->cb_target), in destroy_check_dependent()
1410 (void) fprintf(stderr, "%s\n", zfs_get_name(zhp)); in destroy_check_dependent()
1432 const char *name = zfs_get_name(zhp); in destroy_callback()
1451 if (strchr(zfs_get_name(zhp), '/') == NULL && in destroy_callback()
1504 const char *name = zfs_get_name(zhp); in destroy_print_cb()
1580 if (nvlist_add_boolean(cb->cb_nvl, zfs_get_name(zhp))) in snapshot_to_nvl_cb()
[all …]
H A Dzfs_iter.c274 const char *lname = zfs_get_name(l); in zfs_compare()
275 const char *rname = zfs_get_name(r); in zfs_compare()
383 (void) strlcpy(lbuf, zfs_get_name(l), sizeof (lbuf)); in zfs_sort()
384 (void) strlcpy(rbuf, zfs_get_name(r), sizeof (rbuf)); in zfs_sort()
/freebsd/sys/contrib/openzfs/lib/libzfs/os/freebsd/
H A Dlibzfs_zmount.c79 const char *spec = zfs_get_name(zhp); in do_mount()
/freebsd/lib/libbe/
H A Dbe.c100 strlcpy(lbh->rootfs, zfs_get_name(zfs), sizeof(lbh->rootfs)); in be_locate_rootfs()
238 atpos = strchr(zfs_get_name(zfs_hdl), '@'); in be_should_promote_clones()
333 snprintf(bdd->target_name, BE_MAXPATHLEN, "%s/", zfs_get_name(zfs_hdl)); in be_promote_dependent_clones()
394 snprintf(path, sizeof(path), "%s@%s", zfs_get_name(zfs_hdl), in be_destroy_cb()
761 dspath = zfs_get_name(ds); in be_clone_cb()
H A Dbe_info.c181 dataset = zfs_get_name(zfs_hdl); in prop_list_builder_cb()
H A Dbe_access.c62 info->name = strdup(zfs_get_name(zfs_hdl)); in be_mountcheck_cb()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_export.c127 error = -zfs_get_name(ITOZ(dir), name, ITOZ(ip)); in zpl_get_name()
H A Dzfs_vnops_os.c549 zfs_get_name(znode_t *dzp, char *name, znode_t *zp) in zfs_get_name() function
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dzfs_vnops_os.h47 extern int zfs_get_name(znode_t *dzp, char *name, znode_t *zp);
/freebsd/sys/contrib/openzfs/lib/libzfs/os/linux/
H A Dlibzfs_mount_os.c332 const char *src = zfs_get_name(zhp); in do_mount()
/freebsd/sys/contrib/openzfs/contrib/pam_zfs_key/
H A Dpam_zfs_key.c545 target->dsname = strdup(zfs_get_name(zhp)); in find_dsname_by_prop_value()
/freebsd/sys/contrib/openzfs/include/
H A Dlibzfs.h526 _LIBZFS_H const char *zfs_get_name(const zfs_handle_t *);
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c11224 zfs_get_name(zhp), zfs_version); in check_unsupp_fs()